
sinewaveai/agent-security-scanner-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
sinewaveai/agent-security-scanner-mcp は、https://github.com/sinewaveai/agent-security-scanner-mcp. からインポートされたMCPサーバー候補です。
概要
sinewaveai/agent-security-scanner-mcp は、https://github.com/sinewaveai/agent-security-scanner-mcp. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
AIコーディングエージェント、MCPサーバー、プロンプト、AI提案パッケージ向けのセキュリティスキャナー。
Claude Code、Cursor、Windsurf、Cline、OpenCode、または他のエージェントが新しいコード、ツール、プロンプト、依存関係を信頼する前に実行してください。
コピペ 開始
どのリポジトリでもスキャンしてA-Fエージェントのセキュリティグレードを取得してください:
スキャナーをAIコーディングクライアントにインストールしてください:
claude-codeをcursor、claude-desktop、windsurf、cline、kilo-code、opencode、または[[T7]に置き換えます。
エージェントに追加する前にMCPサーバーを監査してください:
AI生成インポートでパッケージの幻覚がないか確認してください:
何を捕まえるか
| リスク | なぜエージェントが必要なのか | 指揮 |
|---|---|---|
| 脆弱生成コード | エージェントはSQLインジェクション、XSS、コマンドインジェクション、アンセーフな暗号、秘密を導入できます | scan-project、scan-security、scan-diff |
| MCPサーバー攻撃 | MCPツールは記述を毒したり、名前を偽装したり、環境変数を脱出したり、コマンドを実行したりできます | scan-mcp |
| プロンプト注入 | エージェントはしばしば信頼できないドキュメント、チケット、ページ、ツール出力を処理する | scan-prompt |
| 安全でないエージェントアクション | 実行前に危険なシェル/ファイル/ネットワークアクションを捕捉 | scan-action |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Copy-Paste Start
Scan any repo and get an A-F agent security grade:
npx agent-security-scanner-mcp scan-project . --verbosity compact
Install the scanner into your AI coding client:
npx agent-security-scanner-mcp init claude-code
Replace claude-code with cursor, claude-desktop, windsurf, cline, kilo-code, opencode, or cody.
Audit an MCP server before adding it to an agent:
npx agent-security-scanner-mcp scan-mcp ./path/to/mcp-server --verbosity compact
Check AI-generated imports for package hallucinations:
npx agent-security-scanner-mcp scan-packages ./src/app.ts npm --verbosity compact
What It Catches
| Risk | Why agents need it | Command |
|---|---|---|
| Vulnerable generated code | Agents can introduce SQL injection, XSS, command injection, unsafe crypto, and secrets | scan-project, scan-security, scan-diff |
| MCP server attacks | MCP tools can poison descriptions, spoof names, exfiltrate env vars, or execute commands | scan-mcp |
| Prompt injection | Agents often process untrusted docs, tickets, pages, and tool output | scan-prompt |
| Unsafe agent actions | Catch dangerous shell/file/network actions before execution | scan-action |
| Hallucinated packages | AI often invents dependency names that attackers can later squat | check-package, scan-packages |
| SBOM and CVEs | Generate CycloneDX SBOMs and scan dependencies with OSV.dev | sbom-generate, sbom-vulnerabilities |
| Semantic review | LLM-powered review that uses project intent to find context-aware issues | cr-agent |
Screenshots
Project Scan
MCP Server Audit
Package Hallucination Detection
Demos
Run a safe local demo that creates intentionally vulnerable fixtures, scans them, and cleans them up.
# MCP audit demo: tool poisoning, spoofed tool name, command execution, secret exposure
インストール
npx agent-security-scanner-mcp scan-project . --verbosity compact