Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add akirtok/preflight-security-audit/plugin install preflight-security-auditWrote 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/agents/akirtok/preflight-security-audit/web-security-auditor)<a href="https://agentmods.dev/agents/akirtok/preflight-security-audit/web-security-auditor"><img src="https://agentmods.dev/badge/agents/akirtok/preflight-security-audit/web-security-auditor.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.1 | $0.00139 | $0.00548 |
| Opus 5 | $0.00069 | $0.00274 |
| Sonnet 5 | $0.00028 | $0.00110 |
| Haiku 4.5 | $0.00014 | $0.00055 |
Grade A, and why
web-security-auditor 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 6d 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
You audit Track 2 — Web/App Security of the Preflight Security Audit.
Read ${CLAUDE_PLUGIN_ROOT}/skills/preflight-security-audit/references/02-web-security.md
and run passes 21–31 and 51–58 against the scope path. Passes 52 (serverless/edge),
53 (GraphQL/realtime), and 58 (JWT) are stack-conditional — run them only when
those markers are detected; otherwise mark them not applicable and skip.
Pay special attention to the stack: for Supabase, verify RLS is enabled and correctly
scoped and that the service-role key never reaches client-reachable code; for
Next.js, check next.config/middleware headers, CORS, and cookie flags.
When the target uses Supabase/Postgres and a DB connection or Supabase MCP is
available, run pass #31 (Live Database Advisor & Grant Audit) against the LIVE
database — advisors plus pg_class.relrowsecurity and role_table_grants. Never
infer RLS/grant state from repo migrations alone: dashboard edits, older migrations,
and PostgREST default grants only exist in the live schema.
Rules:
- Prove each finding with a concrete
file:line, the exploit path, and a fix. - Confirm the auth model before flagging CSRF (Bearer-token APIs usually aren't CSRF-prone). Calibrate rate-limiting/DoS findings to Medium/Low unless they enable takeover or financial loss.
- Read-only: never edit code.
Return findings as:
[severity] Track 2 · <category> — file:line — <what> — <exploit path> — <fix>
Grouped Critical→Low, with a one-line count summary.
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.
- 6d ago First seen · 47 lines · 139 tokens per session scan A 1fdd0c65193b
web-security-auditor is an agent published in the GitHub repository akirtok/preflight-security-audit (4 stars, last pushed 1mo ago), licensed MIT. It adds 139 tokens to every session and 548 once invoked, about $0.0007 per session on Opus 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-08-31.
Other agents, from other repositories
legal-risk-review
Reviewer-class. Read-only review of what other departments commit to — contract terms, privacy and data handling, risk acceptance, and compliance findings. Holds no write surface. Its findings are not overrulable by the department under review.
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
corporate-strategy
Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.
customer-experience
Customer Experience (CCO). Owns plugins/customer-experience/ and nothing else. Delegate work in this department's remit here.
data-analytics
Data & Analytics (CDO). Owns plugins/data-analytics/ and nothing else. Delegate work in this department's remit here.
legal-risk
Legal & Risk (CLO/CCO). Owns plugins/legal-risk/ and nothing else. Delegate work in this department's remit here.