MCP Catalogs
Home

agent-security-scanner-mcp

by sinewaveai·101·Score 49

MCP security scanner for AI coding agents with prompt injection protection, package hallucination detection, vulnerability scanning, and auto-fix capabilities.

securitydeveloper-toolsai-llm
11
Forks
4
Open issues
this month
Last commit
2d ago
Indexed

Overview

The agent-security-scanner-mcp provides comprehensive security scanning for AI coding agents and autonomous assistants. It offers two versions: a lightweight ProofLayer scanner (81.5KB, 4-second install) with 400+ security rules, and a full enterprise-grade version with AST analysis, taint tracking, and LLM-powered semantic code review. The scanner includes tools for detecting vulnerabilities, preventing AI-hallucinated packages, blocking prompt injection attacks, and generating compliance reports. It integrates with multiple AI clients through MCP and provides CLI functionality for CI/CD pipelines.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Scan AI-generated code for security vulnerabilities before committing to version control
you:Detect prompt injection attacks when processing external user inputs
you:Verify that dependency packages are legitimate and not AI-hallucinated
you:Perform security audits on entire projects with A-F grading
you:What AI clients does this scanner support?
you:How does it detect AI-hallucinated packages?

When to choose this

Choose this when building secure AI coding agents or autonomous assistants that need protection against code injection, prompt attacks, and supply chain vulnerabilities.

When NOT to choose this

Avoid if you need support for languages not in the 12-language list, or if you're looking for a solution without Python dependency (the advanced version requires Python).

Tools this server exposes

12 tools extracted from the README
  • scan_security

    Scan code for vulnerabilities (1700+ rules, 12 languages) with AST and taint analysis

  • fix_security

    Auto-fix all detected vulnerabilities (120 fix templates)

  • scan_git_diff

    Scan only changed files in git diff

  • scan_project

    Scan entire project with A-F security grading

  • check_package

    Verify a package name isn't AI-hallucinated (4.3M+ packages)

  • scan_packages

    Bulk-check all imports in a file for hallucinated packages

  • scan_agent_prompt

    Detect prompt injection with bypass hardening (59 rules + multi-encoding)

  • scan_agent_action

    Pre-execution safety check for agent actions (bash, file ops, HTTP)

  • scan_mcp_server

    Scan MCP server source for vulnerabilities: unicode poisoning, name spoofing

  • scan_skill

    Deep security scan of an OpenClaw skill: prompt injection, AST+taint code analysis

  • sbom_generate

    Generate CycloneDX v1.5 SBOM for a project

  • evaluate_compliance

    Evaluate project against compliance frameworks with evidence collection

Comparable tools

trivy-mcpsemgrep-mcposv-scanner-mcpsnyk-cli

Installation

Install via npm:

npm install -g agent-security-scanner-mcp

Or use the lightweight version:

npm install -g @prooflayer/security-scanner

For Claude Desktop integration, run:

npx agent-security-scanner-mcp init claude-code

This will create a Claude Desktop configuration to enable the MCP server.

FAQ

What AI clients does this scanner support?
The scanner supports Claude Code, Cursor, Windsurf, Cline, Claude Desktop, kilo-code, opencode, and cody through MCP integration. It also provides a standalone CLI (OpenClaw) for CI/CD pipelines.
How does it detect AI-hallucinated packages?
The scanner maintains a database of 4.3M+ legitimate packages and uses bloom filters for verification. When checking imports, it flags any package not found in official registries as potentially hallucinated.

Compare agent-security-scanner-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.