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.
npx skills add ayalaphiscan/web-security-guard --skill supabase-sicurogit 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/skills/ayalaphiscan/web-security-guard/supabase-sicuro)<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/supabase-sicuro"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/supabase-sicuro/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/skills/ayalaphiscan/web-security-guard/supabase-sicuro"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/supabase-sicuro.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.00183 | $0.04037 |
| Opus 5.5 | $0.00073 | $0.01615 |
| Sonnet 5.5 | $0.00037 | $0.00807 |
| Haiku 4.5 | $0.00018 | $0.00404 |
Grade A, and why
supabase-sicuro 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase sicuro · Secure Supabase
🇮🇹 Versione italiana qui sotto · 🇬🇧 English version below
Con Supabase il browser parla direttamente con il database (PostgREST, RPC, Storage, Realtime) usando la chiave pubblica. Ogni tabella e ogni funzione è un'API pubblica: l'unica difesa sono le regole nel database. Chi conosce l'indirizzo del progetto e la chiave pubblica (sono nel codice del sito) può chiamare tutto ciò che le regole permettono.
Regole obbligatorie
1. RLS su ogni tabella, sempre
alter table … enable row level securitynella stessa migrazione che crea la tabella. Una tabella senza policy con RLS attiva non si legge: è il punto di partenza giusto.- Le policy dicono chi vede quali righe (
using) e cosa può scrivere (with check). Nelle insert e update, il proprietario si lega sempre aauth.uid()(with check (user_id = (select auth.uid()))), mai a un valore scelto dal client. - Le colonne privilegiate (verificato, piano, ruolo, contatori, stato di una richiesta) non si aggiornano dal client. Si usano permessi per colonna (
grant update (bio, city) on … to authenticated) o trigger che le rifiutano. - I dati altrui sensibili (data di nascita, posizione, email, telefono) si escludono con permessi per colonna, o si espongono solo tramite funzioni che restituiscono il minimo (l'età, una posizione arrotondata).
2. Permessi espliciti sulle tabelle nuove (dal 30 ottobre 2026)
Una tabella nuova nello schema public non è più esposta da sola all'API. Ogni migrazione che la crea deve dire chi può usarla:
grant select, insert, delete on public.commenti to authenticated; -- solo le azioni che servono
-- anon solo se la tabella si legge senza accesso
Senza grant l'app riceve "permission denied", con il suggerimento del comando. Le tabelle esistenti non cambiano.
3. Funzioni
security invoker(il default) quando bastano le regole di chi chiama.- Le
security definer(girano con i privilegi del proprietario) devono:- avere
set search_path = ''e nomi completi (public.tabella); - controllare chi chiama con
auth.uid()e i suoi diritti sui dati toccati; - togliere l'esecuzione a tutti e ridarla solo a chi serve:
revoke execute on function … from public, anon, authenticated;poigrant execute on function … to authenticated;. Le funzioni interne vanno in uno schema non esposto:
- avere
create schema if not exists private;
revoke all on schema private from public, anon;
alter default privileges in schema private revoke execute on functions from public;
grant usage on schema private to authenticated; -- solo se le policy usano funzioni di private
- Mai SQL dinamico con testo del client. Se serve, usare
format('%I', …)e%L.
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 · 207 lines · 183 tokens per session scan A e9e0d4c5e05b
supabase-sicuro is a skill published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 183 tokens to every session and 4,037 once invoked, about $0.0007 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.
supabase-sicuro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| supabase-sicuroayalaphiscan/web-security-guard | Skill | 4 | 1mo ago | MIT | A | 183 | Claude Code |
| ecto-patternsoliver-kriska/claude-elixir-phoenix | Skill | 580 | 3d ago | MIT | A | 51 | Claude Code |
| cloudflare-hyperdrivesecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 45 | Claude Code |
| ecto-constraint-debugoliver-kriska/claude-elixir-phoenix | Skill | 580 | 3d ago | MIT | A | 36 | Claude Code |
| prod-dry-runsuxrobGM/jobpilot | Skill | 117 | 25d ago | MIT | A | 61 | Claude Code |
| postgresqliliaal/whetstone | Skill | 37 | today | MIT | A | 61 | Claude Code, Codex |
| pytest-databaseslitestar-org/litestar-skills | Skill | 19 | 11d ago | MIT | A | 161 | Claude Code |