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/ayalaphiscan/web-security-guardWrote 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/ayalaphiscan/web-security-guard/security-audit)<a href="https://agentmods.dev/commands/ayalaphiscan/web-security-guard/security-audit"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/security-audit/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/ayalaphiscan/web-security-guard/security-audit"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/security-audit.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.00041 | $0.01252 |
| Opus 5.5 | $0.00016 | $0.00501 |
| Sonnet 5.5 | $0.00008 | $0.00250 |
| Haiku 4.5 | $0.00004 | $0.00125 |
Grade A, and why
security-audit 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Esegui un audit di sicurezza del progetto nella cartella di lavoro corrente (se non c'è una cartella connessa, chiedila con request_cowork_directory; in Claude Code lavora nella cartella corrente). Rispondi nella lingua dell'utente.
Analizza il codice cercando, in ordine di gravità:
- Segreti nel codice: API key, password, token, chiavi private hardcoded o in file committati (controlla anche che
.envsia in.gitignore). - Injection: query SQL costruite con concatenazione, input utente in comandi shell,
eval, percorsi file da input. - XSS e frontend: input utente inserito in HTML senza escaping (
innerHTML,dangerouslySetInnerHTML, popup delle mappe consetHTML, template senza autoescape), link costruiti da dati degli utenti (javascript:), CSP conunsafe-inlineo domini jolly, segreti nel bundle e nelle variabiliVITE_*, source map pubbliche (skill frontend-spa). - Autenticazione: password non hashate o con hash deboli (MD5/SHA1), assenza di rate limiting sul login, sessioni/cookie senza flag di sicurezza, mancanza di verifica email o 2FA dove appropriato (confronta con la skill autenticazione-sicura).
- Pagamenti: dati carta salvati o loggati, webhook senza verifica firma, prezzi presi dal client (confronta con la skill privacy-pagamenti).
- Configurazione: security headers mancanti, CORS aperto, errori che espongono stack trace, HTTP senza redirect a HTTPS (confronta con la skill hardening-siti).
- Dipendenze: esegui
npm auditopip-auditse disponibili nel sandbox. - Runtime: versione di PHP/Node/Python in Dockerfile (
FROM),.node-version/.nvmrc,composer.json, workflow CI e configurazione dell'hosting. Confrontala con gli ultimi rilasci di sicurezza (skill aggiornamenti-runtime). Un ramo fuori supporto (Node 20, PHP 8.1 o precedenti) o una versione senza le ultime correzioni è Alta; se è esposto a internet ed esiste un avviso critico, Critica. - Backend-as-a-service (Supabase, Firebase): RLS su ogni tabella, permessi espliciti, funzioni
SECURITY DEFINER, policy dello storage, Realtime, chiavi nel frontend (skill supabase-sicuro; per un audit completo del database usa/audit-supabase). - API: accesso agli oggetti di altri utenti con un secondo token, campi privilegiati scrivibili, RPC senza controllo di chi chiama, limiti di frequenza (skill api-sicura).
- Posizione e dati sensibili: posizioni esatte salvate o restituite, distanze precise, GPS nelle foto, dati dell'art. 9 senza consenso esplicito o visibili agli sconosciuti, conteggi che rivelano chi è chi (skill privacy-posizione).
- Sicurezza social (se l'app mette in contatto persone): blocchi applicati nel database, segnalazioni, limiti anti-spam lato server, enumerazione degli utenti (skill sicurezza-social).
- Dominio ed email: SPF, DKIM, DMARC, CAA, sottodomini che puntano a servizi rimossi (skill email-dominio; per il DNS proponi i record, non cambiarli).
- Repo GitHub e account: workflow di sicurezza, Dependabot, action bloccate al commit, 2FA e accessi dei fornitori (skill sicurezza-github, account-fornitori).
Produci un report con: riepilogo (numero problemi per gravità Critica/Alta/Media/Bassa), per ogni problema il file e la riga, perché è pericoloso (in linguaggio semplice), e la correzione concreta. Salva il report come security-audit.md negli outputs e presentalo con present_files.
Alla fine chiedi all'utente se vuole che applichi subito le correzioni (in tal caso applica le skill di questo plugin).
English: run a security audit of the current working folder's project (reply in the user's language). Scan in order of severity: hardcoded secrets, injection (SQL/shell/eval/paths), XSS, authentication weaknesses, payment-data handling, front-end/SPA (XSS sinks incl. map popups, unsafe links, CSP, secrets in the bundle, source maps), configuration (headers, CORS, stack traces, HTTPS), vulnerable dependencies (npm audit/pip-audit), runtime versions (PHP/Node/Python in Dockerfile, .node-version, CI, hosting) against the latest security releases, backend-as-a-service rules (Supabase RLS, grants, storage, Realtime, keys; /audit-supabase for a full database audit), API authorization and rate limits, location and art. 9 data, social safety (blocks, reports, anti-spam, enumeration), domain and email (SPF/DKIM/DMARC/CAA), GitHub workflows and provider accounts. Produce a report (counts by Critical/High/Medium/Low, file and line per finding, plain-language risk and concrete fix), save it as security-audit.md in outputs and present it. Finally ask the user whether to apply the fixes right away using this plugin's skills.
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.
- 1mo ago Changed · +6 lines 7ec0ef57f7f0
- 3mo ago First seen · 25 lines · 41 tokens per session scan A 474695166559
security-audit is a command published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 1,252 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-08-31.
security-audit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-auditayalaphiscan/web-security-guard | Command | 4 | 1mo ago | MIT | A | 41 | Claude Code |
| learnReflexioAI/claude-smart | Command | 798 | yesterday | Apache-2.0 | A | 14 | Claude Code |
| prototypegrainulation/grainulator | Command | 87 | 2d ago | MIT | A | 0 | Claude Code |
| genshijin-compressInterfaceX-co-jp/genshijin | Command | 336 | 5d ago | MIT | A | 17 | Claude Code |
| dispatcherKanevry/session-orchestrator | Command | 53 | 9d ago | MIT | A | 185 | Claude Code, Cursor |
| check-devpunt-labs/z-spec | Command | 5 | today | MIT | A | 7 | Claude Code |
| responsive-design-specialistimsaif/design-with-claude | Command | 11 | yesterday | MIT | A | 36 | Claude Code |