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.
git clone --depth 1 https://github.com/Peaky8linders/eu-ai-act-scannerWrote 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/commands/peaky8linders/eu-ai-act-scanner/ai-act-security-review)<a href="https://agentmods.dev/commands/peaky8linders/eu-ai-act-scanner/ai-act-security-review"><img src="https://agentmods.dev/badge/commands/peaky8linders/eu-ai-act-scanner/ai-act-security-review/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.
<a href="https://agentmods.dev/commands/peaky8linders/eu-ai-act-scanner/ai-act-security-review"><img src="https://agentmods.dev/badge/commands/peaky8linders/eu-ai-act-scanner/ai-act-security-review.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00038 | $0.00915 |
| Opus 5.5 | $0.00015 | $0.00366 |
| Sonnet 5.5 | $0.00008 | $0.00183 |
| Haiku 4.5 | $0.00004 | $0.00092 |
Grade A, and why
ai-act-security-review 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 8d 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.
What it actually says
/ai-act-security-review
A security review of the current branch that keeps only findings with real, line-level evidence.
- Collect evidence
- Changed files:
git diff origin/main...HEAD --name-only(fall back tomain...HEADorgit status --short; use--base REFif given). - Scanner:
eu-ai-act-scan "$1" --markdown, adding any reports the user has:--ingest-claude-security FILE(Claude Code Security JSONL, JSON, Markdown or SARIF),--ingest-sarif FILE(Semgrep, Bandit, Snyk, CodeQL),--ingest-compliance-api FILE(Claude Compliance API export,anthropic-version: 2026-10-21). With the scanner MCP server,ingest_security_reportsdoes the same. - Read each changed file and check for: exposed secrets; prompt injection that can reach tools; MCP tool poisoning, SSRF or unauthenticated servers;
.claude/settings.jsonwithBash(*)orbypassPermissions;shell=True,eval, or unsafe deserialization (pickle,torch.load,yaml.load); private data plus untrusted input plus an outbound action with no human approval step; unbounded agent loops; unpinned MCP servers, images or CI actions; AI endpoints without auth or timeouts.
- Changed files:
- Filter false positives in three passes:
- Finder: list candidates with a severity. Critical: exposed production credentials, unauthenticated remote execution, injection reaching privileged tools, deserialization of untrusted input. High: command injection,
bypassPermissions/Bash(*), SSRF, unauthenticated AI endpoints, unbounded loops. Medium: unpinned dependencies, missing timeouts, silenced errors, missing audit logs. Low: hardening. - Adversary: drop anything in tests, fixtures, examples, generated code, migrations or
.env.example; anything that is a comment, string or detection pattern rather than running code; and anything an upstream check you have read really prevents. List what you dropped under "Cleared false positives". - Referee: keep a finding only if it sits in shipped code or the developer security boundary (
.claude/,.mcp.json, CI), has a concrete exploit path at a specific file:line, and has a minimal fix.
- Finder: list candidates with a severity. Critical: exposed production credentials, unauthenticated remote execution, injection reaching privileged tools, deserialization of untrusted input. High: command injection,
- Report: a table of counts per severity, then each finding with file:line, its impact in one sentence, the fix, and the EU AI Act link (security issues map to Art. 15(4), missing approval gates to Art. 14). Redact secret values. If nothing survives, say: "Security review passed: no confirmed security findings in this diff."
- Go further (offer, do not run unasked):
- Claude Code Security (https://code.claude.com/docs/en/claude-security): install
claude-security@claude-plugins-official, run/threat-modelto keep aTHREAT_MODEL.md, then/claude-security, and feedCLAUDE-SECURITY-RESULTS.jsonlback with--ingest-claude-security. - Claude Compliance API (Enterprise or Team): from your clone of eu-ai-act-scanner run
python <scanner-clone>/scripts/fetch_claude_compliance.py --output compliance-api-export.json, then add--ingest-compliance-api compliance-api-export.json. - CI:
--sarifwrites SARIF 2.1.0 for GitHub Code Scanning; theanthropics/claude-code-security-reviewAction can usetemplates/security-scan-instructions.mdandtemplates/false-positive-filter.mdfrom the scanner repo as custom instructions.
- Claude Code Security (https://code.claude.com/docs/en/claude-security): install
Local and defensive only: never run untrusted code or send repository contents anywhere.
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.
- 8d ago Changed · -90 lines · -46 tokens per session ae930894d4e8
- 9d ago First seen · 116 lines · 84 tokens per session scan A 5dc32b9a32dc
ai-act-security-review is a command published in the GitHub repository Peaky8linders/eu-ai-act-scanner (7 stars, last pushed 8d ago), licensed Apache-2.0. It adds 38 tokens to every session and 915 once invoked, about $0.0002 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-11-22.
ai-act-security-review compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-act-security-reviewPeaky8linders/eu-ai-act-scanner | Command | 7 | 8d ago | Apache-2.0 | A | 38 | Claude Code |
| evidenceairblackbox/airblackbox | Command | 25 | 8d ago | Apache-2.0 | A | 14 | Claude Code |
| complyairblackbox/airblackbox | Command | 25 | 8d ago | Apache-2.0 | A | 13 | Claude Code |
| auditdingdawg/dingdawg-governance | Command | 1 | 4mo ago | MIT | C | 0 | Claude Code |
| service-auditor-prepGRCEngClub/claude-grc-engineering | Command | 444 | yesterday | none | A | 10 | Claude Code |
| soa-generatorGRCEngClub/claude-grc-engineering | Command | 444 | yesterday | none | A | 18 | Claude Code |
| ssp-section-generateGRCEngClub/claude-grc-engineering | Command | 444 | yesterday | none | A | 17 | Claude Code |