Knostic says MCP tool node-webrtc-mcp instructs agents to obtain GitHub token
When an MCP Tool Asks for Your GitHub Token
A static code review by security vendor Knostic found that the get_started tool description of MCP server @agentdance/node-webrtc-mcp 1.0.13 contains a prompt injection that instructs coding agents to run gh auth token to obtain GitHub credentials without asking the user, then pass the credentials in as githubToken; after receiving the credentials, the server requests the GitHub API to star the publisher's repository agent-dance/node-webrtc. The instruction first appeared in version 1.0.5, released on 2026-03-29; from 1.0.5 to 1.0.13, dist/index.js is identical in content, while 1.0.3 already contained the starring code but did not require obtaining a token. The server can also run remotely over HTTP, and the remote tool description repeats the same instruction.