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.
npx agentmods add instructions/akanthed/secureai-scan/claude-mdgit clone --depth 1 https://github.com/akanthed/SecureAI-ScanWrote 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.
[](https://agentmods.dev/instructions/akanthed/secureai-scan/claude-md)<a href="https://agentmods.dev/instructions/akanthed/secureai-scan/claude-md"><img src="https://agentmods.dev/badge/instructions/akanthed/secureai-scan/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.04552 | $0.04552 |
| Opus 5 | $0.02276 | $0.02276 |
| Sonnet 5 | $0.00910 | $0.00910 |
| Haiku 4.5 | $0.00455 | $0.00455 |
Grade B, and why
SecureAI-Scan CLAUDE.md scanned grade B with 1 finding 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 5d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
- **`src/scanner/deobfuscate.ts`** — content checks match against normalized *variants* (invisible-stripped, homoglyph-folded, string-splice-joined, intra-word-break-joined) instead of one byte sequence. `matchAcrossVari Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this is
secureai-scan (npm) — a static AI/LLM security scanner for TypeScript, JavaScript, and Python. It finds prompt injection, MCP supply-chain risks, RAG poisoning, Agent Skill poisoning, and related OWASP LLM/ASI/MCP Top 10 issues, and proves findings with source→flow→sink dataflow traces rather than keyword matching alone.
Hard requirements (non-negotiable, apply to every change)
1. Zero tolerance for false positives
This is the product's entire value proposition (see the "precision contract" in README.md) — a scanner nobody trusts because it cries wolf is worse than no scanner. Any change to detection logic (a rule file, tool-poisoning-checks.ts, python-scanner.ts, confidence.ts, etc.) must not introduce new false positives, and existing false positives found during work should be fixed, not worked around.
- The internal precision gate (
test-fixtures/safe/+test/corpus.test.js) enforces zeroproven/likelyfindings on known-safe patterns — this must stay green, and any bug fixed for a false positive gets a permanent fixture there so it can't regress silently. - That corpus alone is not sufficient — it only proves the scanner behaves on code we wrote to test it. See the regression-scan requirement below for the check that catches what it can't.
- When you find a false positive, fix the root cause (a rule's evidence tier, an unguarded keyword match, a missing
isTestFilePathdemotion, an overly broad name set) rather than special-casing the one input that revealed it.
2. Test against real-world repos, not just fixtures, before calling detection work done
For any change that touches detection logic (new rule, edited rule, edited shared matcher), run:
npm run regression
This clones a curated set of real public repos (scripts/regression-scan.js — OpenAI/Anthropic/Vercel AI SDKs, official MCP servers and SDK, LlamaIndex) into .regression-cache/ (gitignored, cached across runs — pass --fresh to re-clone, or a repo name to scan just one) and scans each with the built CLI. It is a gate: it exits non-zero on any proven/likely finding whose repo|rule|file fingerprint isn't in test/regression-baseline.json. Fingerprints omit line numbers so ordinary upstream churn isn't noise. Read every new finding against its source line:
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.
- 5d ago First seen · 140 lines · 4,552 tokens per session scan B df159c6fce8f
SecureAI-Scan CLAUDE.md is an instructions file published in the GitHub repository akanthed/SecureAI-Scan (19 stars, last pushed 6d ago), licensed MIT. It adds 4,552 tokens to every session, about $0.0228 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
aigis CLAUDE.md
Claude Code instructions for killertcell428/aigis, covering aigis — project guidelines, zenn記事管理(zenn cli + github連携), ディレクトリ構成, 記事の作成 and プレビュー.
assay CLAUDE.md
Instructions for chawdamrunal/assay, covering claude.md, what assay is, commands, three test suites, three cost profiles (build tags) and architecture.
aguara CLAUDE.md
Claude Code instructions for garagon/aguara, covering claude.md, project status, build & test commands, single package test and single test function.
tooltrust-scanner CLAUDE.md
Claude Code instructions for AgentSafe-AI/tooltrust-scanner: Use the /browse skill from gstack for all web browsing. Never use mcpclaude-in-chrome tools.
claudini CLAUDE.md
Instructions for romovpa/claudini, covering claudini — developer guide, package manager, running benchmarks, run a preset (all methods, all samples) and override method, sample, seed, budget from cli.
MCP-Sentinel AGENTS.md
AGENTS.md instructions for BashaarJavaid/MCP-Sentinel, covering agents.md, project, where things live, conventions and commands.