NVIDIA SkillSpector detects prompt injection in MCP skills
NVIDIA SkillSpector detects prompt injection in MCP skills
NVIDIA launched SkillSpector for static analysis of Model Context Protocol (MCP) skills before production deployment, detecting prompt injection and data exfiltration. The tool parses TypeScript skill definitions annotated with the @modelcontextprotocol/sdk schema and can identify prompt injection vectors in tool descriptions or parameter schemas (including adversarial instructions and hidden Unicode control characters), data exfiltration patterns such as using user context to construct outbound HTTP requests, and supply chain risks from obfuscated code or suspicious dependency chains in third-party MCP packages. In a real case, a third-party MCP skill embedded hidden system instructions in its tool description and quietly exfiltrated confidential contract text, and was immediately flagged by the tool's prompt injection detection. The tool can be integrated into CI pipelines, and the --fail-on-critical flag treats prompt injection attempts, unverified external requests or obfuscated code as merge blockers, exposing only reviewed tools to the Agent runtime.