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/proteggi-sito)<a href="https://agentmods.dev/commands/ayalaphiscan/web-security-guard/proteggi-sito"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/proteggi-sito/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/proteggi-sito"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/proteggi-sito.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.00053 | $0.01106 |
| Opus 5.5 | $0.00021 | $0.00442 |
| Sonnet 5.5 | $0.00011 | $0.00221 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
proteggi-sito 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 — 26 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Installa le protezioni di sicurezza nel progetto della cartella di lavoro corrente (se non c'è una cartella connessa, chiedila con request_cowork_directory). Prima rileva lo stack (Node/Express, Python, PHP, sito statico) guardando i file del progetto. Rispondi nella lingua dell'utente.
Applica nell'ordine:
- Agente anti-attacco (skill difesa-attacchi), solo se c'è un server tuo: copia e adatta
guardian-express.jsinsecurity/guardian.jse integralo nell'entry point dell'app. Per stack non-Node, riscrivi la stessa logica nel linguaggio del progetto. ConfiguraskipPathsper eventuali webhook di pagamento. Sito statico con backend-as-a-service (per esempio React su Render/Netlify/Vercel con Supabase): non c'è un server su cui montarlo; la difesa sta negli header dell'hosting e nelle regole del database (passi 2, 6 e 7). - Security headers e hardening (skill hardening-siti e, per le app a pagina singola, frontend-spa): aggiungi helmet o gli header dell'hosting (
render.yaml,_headers,vercel.json) con una CSP senza script inline, correggi cookie, CORS, link costruiti da dati degli utenti e gestione errori dove necessario. - File GitHub (skill sicurezza-github): crea
.github/workflows/security.ymle.github/dependabot.ymladattati al linguaggio del progetto; verifica.gitignore. - Verifiche pagamenti e autenticazione: se il progetto gestisce pagamenti o login, controlla i punti critici delle skill privacy-pagamenti e autenticazione-sicura e correggi ciò che è automatizzabile; segnala il resto.
- Runtime (skill aggiornamenti-runtime): fissa la versione di PHP/Node/Python a un ramo supportato con le ultime correzioni (
.node-version, tag Docker con la patch) e scrivi l'inventario di cosa gira dove. - Supabase o altri backend-as-a-service (skill supabase-sicuro e api-sicura): RLS e permessi espliciti su ogni tabella, funzioni, storage e Realtime; solo la chiave pubblica nel frontend.
- Persone e posizione (skill privacy-posizione e sicurezza-social), se l'app gestisce profili, posizioni o contatti tra persone: posizioni arrotondate nel database, blocchi e segnalazioni, limiti anti-spam lato server.
- Dominio, email e account (skill email-dominio e account-fornitori): proponi i record DNS mancanti (SPF, DKIM, DMARC, CAA) senza cambiarli tu, e la lista di controllo degli account (2FA, accessi, segreti).
- Emergenza (skill risposta-incidenti): prepara il runbook con i contatti e l'interruttore di manutenzione; ricorda il comando
/emergenza.
Non rimuovere funzionalità esistenti; se una modifica rischia di rompere qualcosa, chiedi prima conferma all'utente con AskUserQuestion.
Alla fine presenta un riepilogo: cosa è stato installato, cosa deve fare l'utente sul suo hosting/GitHub (attivare secret scanning, push protection, WAF/CDN), e come si attiva/disattiva manualmente il lockdown (file flag LOCKDOWN).
English: install the security protections in the current working folder's project (detect the stack first, reply in the user's language). Apply in order: 1) guardian anti-attack middleware (difesa-attacchi skill), 2) security headers and hardening (hardening-siti skill), 3) GitHub security files (sicurezza-github skill), 4) payments/authentication checks (privacy-pagamenti, autenticazione-sicura skills), 5) pin a supported, patched runtime and write the what-runs-where inventory (aggiornamenti-runtime skill), 6) Supabase/BaaS rules incl. Realtime (supabase-sicuro, api-sicura), 7) people and location: server-side rounding, blocks, reports, anti-spam limits (privacy-posizione, sicurezza-social), 8) DNS records to propose and the account checklist (email-dominio, account-fornitori), 9) the incident runbook and the /emergenza command (risposta-incidenti). On a static site with a backend-as-a-service there is no server for guardian: protection lives in the host's headers and the database rules. Never remove existing functionality; ask before risky changes. End with a summary of what was installed, what the user must enable on their hosting/GitHub, and how to toggle the LOCKDOWN flag file.
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 · +5 lines 1d161c9e523d
- 3mo ago First seen · 21 lines · 53 tokens per session scan A adb155bd335a
proteggi-sito is a command published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,106 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.
proteggi-sito compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| proteggi-sitoayalaphiscan/web-security-guard | Command | 4 | 1mo ago | MIT | A | 53 | 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 |