Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/publish-mcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:

- name: Login to MCP Registry
run: |
echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
./mcp-publisher login dns --domain onkernel.com --private-key-file key.pem
./mcp-publisher login dns -domain onkernel.com -private-key "${{ secrets.MCP_PRIVATE_KEY }}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium Security

Security concern: Passing the private key directly as a command line argument may expose it in process lists, shell history, and monitoring tools. Consider using environment variables or stdin piping instead: echo "${{ secrets.MCP_PRIVATE_KEY }}" | ./mcp-publisher login dns -domain onkernel.com --private-key-stdin (if supported) or setting MCP_PRIVATE_KEY as an environment variable.
Agent: 🤖 General


- name: Publish to MCP Registry
run: ./mcp-publisher publish