mcp-skill-sec — 8-pattern malicious-skill scanner

    2

    This is the tool to run before installing any skill you didn't write.

    Free

    2 installsSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    mcp-skill-sec — 8-pattern malicious-skill scanner

    Example session with this skill installed

    I just got sent a "skill" file. Audit it for me before I run it: <paste the skill content here>

    • Read your context and instructions
    • Compiled the mcp--sec

    Verdict: FLAG

    RuleSeverityLineEvidence
    R1critical12"ignore all previous instructions"
    R3high31sk_api_key = "sk-...read only..."

    Next steps

    • Remove the hardcoded key, re-run audit_skill_file to confirm PASS.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    mcp-skill-sec — deterministic skill security audit

    Audit any agent skill, system prompt, or downloaded skill collection against the 8 malicious-skill supply-chain patterns BEFORE you run it.

    What it does

    Scans a skill/prompt for:

    • R1 prompt injection / instruction hijack (ignore previous instructions)
    • R2 data exfiltration intent
    • R3 hardcoded secrets / credentials
    • R4 dangerous commands (rm -rf /, curl | sh)
    • R5 obfuscation / hidden behavior (base64-exec, eval)
    • R6 untrusted external fetches
    • R7 credential access (~/.ssh, .aws/credentials, .env)
    • R8 privilege escalation

    Every finding carries a severity + line number + the matching evidence line. Verdict is PASS only when there are no critical/high findings. Reproducible and auditable.

    Why it's different

    • Deterministic — same input always yields the same verdict; no ML, no hallucination.
    • No network calls — your skill content never leaves your machine.
    • Line-level evidence — not a black-box score; you see exactly what tripped and where.

    Tools

    • audit_text(text, filename) — audit a pasted skill / system prompt
    • audit_skill_file(path) — audit a SKILL.md / AGENTS.md on disk
    • audit_directory(path, pattern) — scan a whole skills collection
    • rule_list() — dump the R1–R8 catalog

    Install

    uv tool install git+https://github.com/sudo-ai-git/mcp-skill-sec
    python3 mcp_server.py                    # stdio
    python3 mcp_server.py --http --port 8000 # streamable HTTP
    

    Full source, tests, and the audit checklist are in the GitHub repo (MIT). This is the tool to run before installing any skill you didn't write.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    2 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Requires

    Python
    Skill Sec MCP

    Listed1 month ago

    What's inside

    Frequently Asked Questions