aishield-scan

aishield-scan is a skill for Claude Code, Codex from lm203688/aishield. It costs 67 tokens per session (658 once invoked), scanned A, original, MIT.

An offline security scanner for MCP servers, AI skills, GPT definitions, and prompt files. It looks for risks such as prompt injection, unsafe tool permissions, supply-chain changes, and other threats without running the scanned code.

In plain words
What is it for?
Use it to scan a file, configuration, repository URL, or prompt; review MCP settings; compare tool descriptions for silent changes; and check agent guardrails.
Why use it?
It helps detect dangerous instructions or configuration before installing or shipping an agent add-on. Running locally and without executing the input lowers the risk of scanning an untrusted file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan a file, configuration, repository URL, or prompt; review MCP settings; compare tool descriptions for silent changes; and check agent guardrails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lm203688/aishield/aishield-scan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lm203688/aishield --skill aishield-scan
Clone the repo
git clone --depth 1 https://github.com/lm203688/aishield

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aishield-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/lm203688/aishield/aishield-scan/github.svg)](https://agentmods.dev/skills/lm203688/aishield/aishield-scan)
Your own site
<a href="https://agentmods.dev/skills/lm203688/aishield/aishield-scan"><img src="https://agentmods.dev/badge/skills/lm203688/aishield/aishield-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aishield-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/lm203688/aishield/aishield-scan"><img src="https://agentmods.dev/badge/skills/lm203688/aishield/aishield-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00658
Opus 5.5 $0.00027 $0.00263
Sonnet 5.5 $0.00013 $0.00132
Haiku 4.5 $0.00007 $0.00066

Measured 26d ago against content hash dacc237355b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aishield-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aishield-scan/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
  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.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago Changed · +1 lines dacc237355b6
  2. 1mo ago First seen · 59 lines · 67 tokens per session scan A 9add15a43a9a

Subscribe to this mod's changes

aishield-scan is a skill published in the GitHub repository lm203688/aishield (2 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 658 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.

Related

Other skills, from other repositories

polygraph

Behavioral trust grades (A–F) for MCP servers. Use when an agent needs to check whether an MCP server is safe before using it, verify an onchain attestation before trusting or paying a server, look up a server's published grade, get a project graded, or understand why a server received a grade. Polygraph connects to…

polygraphso/litmus · 225 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…

comet-ml/opik-mcp · 187 tokens

qa-knowledge

To run QA engineering — requirements/gap analysis, scenario & spec design, test implementation, failure triage — over the QA knowledge base.

griddynamics/rosetta · 32 tokens

ue-mcp-epic-routing

Use when deciding between ue-mcp's native category actions and Epic's wrapped ToolsetRegistry tools (the epic actions, incl. the Blueprint graph DSL) for a task in Unreal. Pulls in when authoring Blueprint graph bodies, or any time both a native action and an epic action could do the job and you need to pick.

db-lyon/ue-mcp · 81 tokens

apitap

ApiTap gives AI agents cheap access to web data through three layers.

n1byn1kt/apitap · 0 tokens