agentleFS
lm203688lm203688/aishield/skills/aishield-scan/SKILL.md

aishield-scan

Skill1 starsChanged 46 days 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.

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
  1. Distinctive:

    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 …

    line 12
  2. Very specific:

    When a tool's description changes between versions, call aishield_rug_pull to catch a rug pull (benign v1 → malicious v2).

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

ToolUse it for
aishield_scanFull scan of a path, repo URL, or config blob → score, risk level, findings
aishield_handshakeReview an MCP config: npx -y risk, sensitive env vars, over-long tool descriptions
aishield_prompt_checkDetect prompt-injection / jailbreak patterns in prompts & instructions
aishield_rug_pullCompare two versions of a tool description for silent (rug-pull) changes
aishield_guardrailCheck whether an agent config has adequate guardrails for its declared agency
aishield_banned_wordsFlag policy-violating or risky terminology
aishield_digestCompact 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

  1. Before installing an untrusted skill/MCP server, call aishield_scan on its source path or repo URL. Treat risk_level: high|critical as a stop sign.
  2. For an MCP config, call aishield_handshake and review every flagged field.
  3. When a tool's description changes between versions, call aishield_rug_pull to catch a rug pull (benign v1 → malicious v2).
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.