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/emergenza)<a href="https://agentmods.dev/commands/ayalaphiscan/web-security-guard/emergenza"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/emergenza/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/emergenza"><img src="https://agentmods.dev/badge/commands/ayalaphiscan/web-security-guard/emergenza.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.00093 | $0.01085 |
| Opus 5.5 | $0.00037 | $0.00434 |
| Sonnet 5.5 | $0.00019 | $0.00217 |
| Haiku 4.5 | $0.00009 | $0.00109 |
Grade A, and why
emergenza 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.
What it actually says
C'è (o potrebbe esserci) un incidente di sicurezza. Guida l'utente con calma, un passo alla volta, usando la skill risposta-incidenti. Rispondi nella lingua dell'utente. Annota ogni azione con l'ora in un file incidente-<data>.md negli outputs: servirà per il registro delle violazioni e per un'eventuale notifica.
-
Capire in due minuti.
- Cosa è successo e da quando?
- Quali dati o sistemi sono coinvolti? Account, database, chiavi, sito, email.
- L'attacco è in corso?
Assegna una gravità con la tabella della skill.
-
Contenere (prima di indagare a fondo), con le leve del progetto:
- sito in manutenzione senza nuovo codice: interruttore, pagina di manutenzione o lockdown del guardian;
- iscrizioni sospese dal fornitore di Auth;
- account abusivi bloccati;
- sessioni revocate e chiavi ruotate (publishable/secret, segreto JWT, token dei fornitori) se possono essere uscite. Prima di cancellare le sessioni copiane il contenuto (
auth.sessions,auth.refresh_tokens): sono le prove migliori; - un permesso pericoloso tolto con una migrazione d'emergenza.
Prima di ogni azione che cambia la produzione, chiedi conferma all'utente e spiega cosa smetterà di funzionare.
-
Conservare le prove: esporta subito i log (database, Auth, hosting, CDN) prima che scadano. Fai uno snapshot o un backup dello stato attuale. Non cancellare file sospetti: spostali.
-
Chiudere la falla: trova la causa (
/security-audit,/audit-supabase), correggi, prova e rilascia. Ruota ogni segreto che può essere stato visto. -
Ripristinare: se dei dati sono stati alterati o cancellati, ripristina da backup o PITR in un ambiente separato, confronta, poi riporta in produzione. Riapri il sito solo quando la falla è chiusa.
-
Avvisare: se sono coinvolti dati personali, valuta con l'utente la notifica all'autorità di controllo (in Italia il Garante privacy) entro 72 ore da quando si è venuti a conoscenza della violazione (GDPR art. 33, par. 1). Se il rischio per le persone è alto, avvisa anche loro (art. 34). Prepara le bozze di entrambe. In ogni caso registra la violazione nel registro interno (art. 33, par. 5).
-
Dopo: scrivi un post-mortem senza colpe (cronologia, causa, cosa ha funzionato, azioni con responsabile e data) e aggiorna il runbook.
Se l'utente non ha accesso a una console o manca la 2FA, segnalalo come primo punto delle azioni successive (skill account-fornitori).
English: a security incident is (or may be) happening. Guide the user calmly, one step at a time, with the risposta-incidenti skill; reply in the user's language. Log every action with its time in incidente-<date>.md in outputs.
Steps:
- Two-minute triage: what happened, since when, which data or systems, is it ongoing, severity.
- Contain before deep investigation: maintenance without a deploy; pause sign-ups; block abusive accounts; revoke sessions (copy
auth.sessionsandauth.refresh_tokensfirst: they are the best evidence) and rotate keys that may have leaked; remove a dangerous grant with an emergency migration. Confirm every production change first. - Preserve evidence: export logs before they expire, snapshot, move (don't delete) suspicious files.
- Fix the cause (
/security-audit,/audit-supabase) and rotate exposed secrets. - Restore altered data from backup or PITR via a separate environment; reopen only when fixed.
- Notify: GDPR art. 33 notification to the supervisory authority within 72 hours of becoming aware of it when personal data is involved; art. 34 to the people when the risk is high; the internal breach register (art. 33(5)) always. Draft both notices.
- Blameless post-mortem and runbook update. A missing console access or 2FA is the first follow-up (account-fornitori skill).
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 First seen · 41 lines · 93 tokens per session scan A a86e6322d598
emergenza is a command published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 93 tokens to every session and 1,085 once invoked, about $0.0004 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-10-24.
emergenza compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| emergenzaayalaphiscan/web-security-guard | Command | 4 | 1mo ago | MIT | A | 93 | Claude Code |
| review-epo-claimsRobThePCGuy/Claude-Patent-Creator | Command | 222 | 7d ago | MIT | A | 26 | Claude Code |
| create-epo-patentRobThePCGuy/Claude-Patent-Creator | Command | 222 | 7d ago | MIT | B | 15 | Claude Code |
| patent-checkillusionaireal/oh-my-patent | Command | 124 | 1mo ago | MIT | A | 0 | Claude Code |
| patent-reviewillusionaireal/oh-my-patent | Command | 124 | 1mo ago | MIT | A | 0 | Claude Code |
| patent-diagramillusionaireal/oh-my-patent | Command | 124 | 1mo ago | MIT | A | 17 | Claude Code |
| soa-generatorGRCEngClub/claude-grc-engineering | Command | 449 | 4d ago | none | A | 18 | Claude Code |