- 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
Works with the AI tools you already use
mcp-skill-sec — 8-pattern malicious-skill scanner
Example session with this skill installed
- 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 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 ```bash 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 install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
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
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 7 days ago
- Free to download with an account