Catalog / Tools

Snyk Agent Scan

Finds the MCP servers and skills installed across your coding agents and checks them for prompt injection, tool poisoning, toxic flows and malicious code.

Install

  1. Snyk token

    export SNYK_TOKEN=<your-api-token>

    Needs a Snyk account. The token is at app.snyk.io/account.

  2. Scan your Claude skills (pinned)

    uvx snyk-agent-scan@0.6.4 ~/.claude/skills
  3. Scan the whole machine

    uvx snyk-agent-scan@0.6.4

    Discovers configs for Claude Code/Desktop, Cursor, VS Code, Gemini CLI, Codex, Windsurf and more.

Formerly Invariant Labs’ mcp-scan, now maintained by Snyk. It looks for what’s actually installed across your agents, not just a folder you name, and flags risks such as prompt injection in tool descriptions, tool shadowing, toxic flows between tools, and malicious code in skills.

When to use it

  • You want an inventory of every MCP server and skill on a machine, across agents.
  • You want a second opinion next to SkillSpector, especially for MCP tool-description attacks.

Before you install

Your skill text and MCP tool descriptions go to Snyk for analysis, and scanning a stdio server means running it. Scan untrusted configs inside a container or VM, and read the consent prompt before you answer yes. The README says the CLI output format can change between releases. Don’t build automation on specific field names.

Publisher
Snyk
Works with
Any agent, Claude Code, Claude apps, Cursor, Codex, Gemini
License
Apache-2.0
Cost
Free tier, paid plans

Curated by Andrew Borden-Chisholm. Notes on building with these tools are on the blog.