Security scanner for AI agents, MCP servers and agent skills Snyk released Agent Scan, a security scanner that discovers and analyzes AI agent components—including harnesses, MCP servers, and agent skills—for threats such as prompt injections, sensitive data handling, and malware payloads. The tool, available via uvx or standalone binaries, requires a Snyk API token and executes MCP server commands during scans, prompting for user consent and recommending sandboxed execution. Version 0.5.x is planned for deprecation, with output formats subject to change. Discover and scan agent components on your machine for prompt injections and vulnerabilities including agents, MCP servers, skills . Note:We don't publish an npm package for Agent Scan. Install it via or as a uvx standalone binary . Note: CLI output is experimental and subject to change Agent Scan v0.5.x planned for deprecation The raw output of this CLI — including issue codes, field names, severity labels, and response structure — is experimental and may change without notice between releases. We do not recommend building production workflows that depend on specific CLI output fields or issue codes. Agent Scan v0.6 and laterThe raw output of this CLI — including risk indicator names, scores, field names, and response structure — is experimental and may change without notice between releases. We do not recommend building production workflows that depend on specific CLI output fields or risk names. If you are an enterprise customer using Snyk to manage agent security risk at scale, the CLI output may not reflect what is sent to and shown in the Evo platform. The underlying integration, discovery, and risk assessment that powers enterprise deployments is stable and supported — any changes will be communicated in line with standard Snyk product practices. Contact your account team for deployment guidance. NEWRead our technical report on the emerging threats of the agent skill eco-system published together with Agent Scan 0.4, which adds support for scanning agent skills. Warning Agent Scan v0.5.x uses issue-code output. This CLI line is planned for deprecation. Agent Scan helps you discover all your installed agent components harnesses, MCP servers, and skills and scans them for common threats like prompt injections, sensitive data handling, or malware payloads hidden in natural language. Ignore analysis on skills by using --no-skills . ⚠️ IMPORTANT: Scanning MCP configurations will execute the commands defined in them.When Agent Scan scans an MCP configuration file, it starts the stdio MCP servers by executing the commands and arguments specified in the config. This is necessary to retrieve tool descriptions and perform security analysis. Recommendations: Run scans inside a sandbox Docker container, VM, or disposable environment when evaluating untrusted or third-party MCP configsReview the consent prompt carefullyduring interactive scans, it shows the exact command and arguments that will be executed for each serverUseonly in trusted environments where you've verified all MCP server commands --dangerously-run-mcp-servers By default, Agent Scan requires explicit user consent y/n before starting each stdio MCP server during interactive runs. This gives you control over what gets executed on your system. Choose one of two ways to run Agent Scan: Run the Python package with using the instructions below. uvx Download a standalone binary for your platform from GitHub Releases https://github.com/snyk/agent-scan/releases . Releases also include the SBOM, checksums, signed checksums, and source code archives. Before using either option: Sign up at and get an API token from Snyk https://snyk.io https://app.snyk.io/account https://app.snyk.io/account API Token → KEY → click to show . Set the token as an environment variable before running any scan: export SNYK TOKEN=your-api-token-here Have uv https://docs.astral.sh/uv/getting-started/installation/ installed on your system. Choose the instructions for your CLI version. The examples pin v0.5.17 as a concrete v0.5.x release: Scan the whole machine uvx snyk-agent-scan@0.5.17 Scan a specific MCP configuration uvx snyk-agent-scan@0.5.17 ~/.vscode/mcp.json Scan a single agent skill uvx snyk-agent-scan@0.5.17 ~/path/to/my/SKILL.md Scan all Claude skills uvx snyk-agent-scan@0.5.17 ~/.claude/skills Warning v0.5.x uses issue-code output and the 2025-09-02 analysis API. This CLI line is planned for deprecation. Scan the whole machine uvx snyk-agent-scan@latest Scan a specific MCP configuration uvx snyk-agent-scan@latest ~/.vscode/mcp.json Scan a single agent skill uvx snyk-agent-scan@latest ~/path/to/my/SKILL.md Scan all Claude skills uvx snyk-agent-scan@latest ~/.claude/skills v0.6 and later use the risk-based output and the 2026-07-10 analysis API. Both versions scan MCP servers, tools, prompts, resources, and skills, and automatically discover supported agent configurations such as Claude Code/Desktop, Cursor, Gemini CLI, and Windsurf. Download the binary for your operating system and architecture from the latest GitHub Release https://github.com/snyk/agent-scan/releases/latest . The release page also provides an SBOM sbom-