- Home
- Skills
- Agents & Orchestration
- mcp-skill-sec — 8-pattern malicious-skill scanner
mcp-skill-sec — 8-pattern malicious-skill scanner
This is the tool to run before installing any skill you didn't write.
Free
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
| Rule | Severity | Line | Evidence |
|---|---|---|---|
| R1 | critical | 12 | "ignore all previous instructions" |
| R3 | high | 31 | sk_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 promptaudit_skill_file(path)— audit a SKILL.md / AGENTS.md on diskaudit_directory(path, pattern)— scan a whole skills collectionrule_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.
Static analysis only. Does not sandbox runtime execution or perform dynamic behavioral analysis.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
4 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 months ago
- Free with an Agensi account
- Software
PythonSkill Sec MCP
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.