snyk/agent-scan

Security scanner for AI agents, MCP servers and agent skills.

What it solves

Agent Scan identifies security risks within the AI agent ecosystem on your machine. It detects vulnerabilities—such as prompt injection, malicious code, and data exposure—hidden within agent skills, MCP (Model Context Protocol) servers, and various agent configurations.

How it works

The tool automatically discovers installed agents (like Claude, Cursor, and Windsurf) and their associated components. It inspects configuration files and connects to MCP servers to analyze tool definitions and skill content. Because scanning MCP servers can trigger commands or network requests, the tool includes an interactive consent flow to ensure you approve each connection. It then validates these components against security checks, redacting sensitive information before sending data for analysis.

Who it’s for

It is designed for developers and security professionals who use AI agents and want to ensure their local environment is not compromised by malicious or poorly configured agent components.

Highlights

  • Auto-discovers agent configurations, MCP servers, and skills across multiple platforms.
  • Detects diverse threats including prompt injection, tool poisoning, and hardcoded secrets.
  • Supports major AI agents like Claude, Cursor, GitHub Copilot, Windsurf, and Gemini CLI.
  • Provides interactive consent prompts to prevent unauthorized execution of untrusted MCP servers.
  • Offers both an interactive CLI for local scanning and a background mode for enterprise security monitoring via Snyk Evo.

Related

  • Project
  • Project
  • Project
  • Project
  • Project