aishield-scan
Skill2 starsChanged 2 months agoMITView on GitHub
Scan MCP servers, AI skills, GPTs and prompt files for security risks before installing or shipping them — tool poisoning, prompt injection, over-broad permissions, supply-chain and agentic-ASI01–10 risks. Local-first and zero-dependency: runs fully offline and never executes the scanned code.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- aishieldSkill
- aishieldSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill whenever you are about to install, review, or ship an MCP server, an AI skill, a GPT definition, or a prompt file — or when …
- Very specific: line 50
When a tool's description changes between versions, call aishield_rug_pull to catch a rug pull (benign v1 → malicious v2).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AIShield scan
Use this skill whenever you are about to install, review, or ship an MCP server, an AI skill, a GPT definition, or a prompt file — or when a user asks "is this skill/plugin safe?".
AIShield is a static + offline-threat-intel scanner aligned to OWASP MCP Top 10
(2025 v0.1) and OWASP Agentic AI Top 10 (ASI01–ASI10). Its core invariant
is that it never spawns or executes any command found in the scanned config
(verifiable with python scripts/prove_isolation.py).
Prerequisites
Register the AIShield MCP server once:
{
"mcpServers": {
"aishield": { "command": "npx", "args": ["-y", "aishield-mcp-server"] }
}
}Tools
| Tool | Use it for |
aishield_scan | Full scan of a path, repo URL, or config blob → score, risk level, findings |
aishield_handshake | Review an MCP config: npx -y risk, sensitive env vars, over-long tool descriptions |
aishield_prompt_check | Detect prompt-injection / jailbreak patterns in prompts & instructions |
aishield_rug_pull | Compare two versions of a tool description for silent (rug-pull) changes |
aishield_guardrail | Check whether an agent config has adequate guardrails for its declared agency |
aishield_banned_words | Flag policy-violating or risky terminology |
aishield_digest | Compact trust digest — a few hundred bytes + a content fingerprint; same fingerprint = same verdict, so an agent need not re-pull the full report each turn |
Recommended workflow
- Before installing an untrusted skill/MCP server, call
aishield_scanon its source path or repo URL. Treatrisk_level: high|criticalas a stop sign. - For an MCP config, call
aishield_handshakeand review every flagged field. - When a tool's description changes between versions, call
aishield_rug_pullto catch a rug pull (benign v1 → malicious v2). - Report findings to the user with the file, line, rule id and evidence — never just a score.
Notes
- Scanning is local: source code never leaves the machine.
- Optional live CVE enrichment (OSV.dev) is off by default; keep it off for privacy-sensitive or air-gapped work.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

