Skip to content
EventPast event

Knostic says an MCP tool instructed an agent to take a GitHub token without authorization

1 reports1 reporting sourcesLatest report

Start here

AI overview

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.

Generated by AI from reports · Updated 2 days ago

Progress timeline

Nov 12
  1. Knostic
    Knostic says MCP tool node-webrtc-mcp instructs agents to obtain 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.