1 v0.5.1 更新于 2026-10-30
ai-code-scanner MCP Server
Scans code for insecure LLM/AI integration: exposed keys, unsafe output, prompt injection
适用客户端
本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端
安装配置
本地运行(npm)
{
"mcpServers": {
"ai-code-scanner-64fdba": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-ai-code-scanner"
]
}
}
}将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。
提供的工具 接入后 Agent 可调用这 8 个工具
owasp_scan_path
对文件系统路径运行统一的 OWASP MCP Top 10 扫描,协调多个审计器并返回 A–F 等级报告
owasp_scan_live
连接到运行中的 MCP 服务器(stdio 或 HTTP),调用 tools/list 并对 toxic-flow 和工具投毒(MCP03/MCP10)评分
owasp_scan_catalog
审计 tools/list JSON 转储,检测 toxic flow 和工具描述投毒(MCP03/MCP10)
list_owasp_coverage
列出 OWASP MCP Top 10 分类及本元扫描中各 GuardBee 扫描器的覆盖情况
scan_text
扫描 A2A(Agent2Agent)协议实现代码,检测 SSRF、缺失认证、Agent Card 中内嵌凭据等反模式
scan_file
扫描单个文件中的 A2A(Agent2Agent)协议反模式
scan_directory
递归扫描 A2A agent 源码目录,查找协议反模式
list_patterns
按分类列出该审计器检测的所有 A2A(Agent2Agent)协议模式