sicurezza-social

sicurezza-social is a skill for Claude Code from ayalaphiscan/web-security-guard. It costs 186 tokens per session (8,708 once invoked), scanned A, original, MIT.

A security guide for social and dating apps where people have profiles, messages, maps, stories, or events. It explains how to handle blocking, reports, moderation, harassment, spam, stalking, fake profiles, and scams.

In plain words
What is it for?
It helps enforce two-way blocks in the database, design reporting and moderation rules, limit harassment and spam, and address user-generated content obligations.
Why use it?
Safety controls that exist only in the app interface can be bypassed by calling the API directly, leaving users exposed to abuse and unwanted contact.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the web-security-guard plugin — 15 skills, 4 commands shipped together

Good fit It helps enforce two-way blocks in the database, design reporting and moderation rules, limit harassment and spam, and address user-generated content obligations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayalaphiscan/web-security-guard/sicurezza-social
Install

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.

Any agent
npx skills add ayalaphiscan/web-security-guard --skill sicurezza-social
Clone the repo
git clone --depth 1 https://github.com/ayalaphiscan/web-security-guard

Made for: Claude Code.

Or install web-security-guard, the plugin that ships this one along with the rest of its 15 skills, 4 commands.

Wrote 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.

agentmods badge for sicurezza-social

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/sicurezza-social/github.svg)](https://agentmods.dev/skills/ayalaphiscan/web-security-guard/sicurezza-social)
Your own site
<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/sicurezza-social"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/sicurezza-social/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.

agentmods 80×15 button for sicurezza-social

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/sicurezza-social"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/sicurezza-social.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00186 $0.08708
Opus 5.5 $0.00074 $0.03483
Sonnet 5.5 $0.00037 $0.01742
Haiku 4.5 $0.00019 $0.00871

Measured 1mo ago against content hash 80644437967b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sicurezza-social 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.

skills/sicurezza-social/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sicurezza social · Social trust and safety

🇮🇹 Versione italiana qui sotto · 🇬🇧 English version below

In un'app dove le persone si scrivono, si vedono sulla mappa e si incontrano dal vivo, un errore di sicurezza fa male fuori dallo schermo: molestie, stalking, truffe, incontri finiti male. Queste regole valgono per ogni app con profili, messaggi, mappe, storie o eventi tra sconosciuti. Ciò che protegge una persona va applicato nel database o sul server: un pulsante nascosto nell'interfaccia non ferma chi chiama l'API direttamente (skill supabase-sicuro). Posizioni in dettaglio: skill privacy-posizione; API: api-sicura; violazioni di dati: risposta-incidenti.

Regole obbligatorie

1. Blocco bidirezionale, applicato nel database

  • Bloccare rende due persone invisibili l'una all'altra, nei due versi: profilo, mappa e posizione, chat, tavoli ed eventi, elenchi di partecipanti, storie, ricerca, suggerimenti, notifiche. Chi è bloccato non riceve avvisi.
  • La regola sta nelle policy, non nei filtri del client:
create table public.blocks (
  blocker uuid not null default auth.uid() references auth.users on delete cascade,
  blocked uuid not null references auth.users on delete cascade,
  primary key (blocker, blocked), check (blocker <> blocked));
alter table public.blocks enable row level security;
create policy "solo i propri blocchi" on public.blocks for all to authenticated
  using (blocker = (select auth.uid())) with check (blocker = (select auth.uid()));
grant select, insert, delete on public.blocks to authenticated;
-- solo l'altra persona come argomento: con due id si scoprirebbero i blocchi tra terzi
create function private.blocked_with(other uuid) returns boolean
language sql stable security definer set search_path = '' as $$
  select exists (select 1 from public.blocks where (blocker = auth.uid() and blocked = other)
                                               or (blocker = other and blocked = auth.uid())); $$;
revoke execute on function private.blocked_with(uuid) from public, anon;
grant usage on schema private to authenticated;  -- la policy gira come chi chiama
grant execute on function private.blocked_with(uuid) to authenticated;
-- in ogni policy che mostra righe di altri: using (<condizione attuale> and not private.blocked_with(owner_id))
  • Un trigger sull'inserimento in blocks cancella nei due versi amicizia, richieste in sospeso, inviti e condivisione della posizione; i messaggi nuovi si rifiutano con with check (not private.blocked_with(<destinatario>)). Chi è bloccato non vede i tavoli e gli eventi di chi l'ha bloccato e non può entrarci; negli eventi di terzi i due non si vedono tra i partecipanti.
  • Realtime: Postgres Changes rispetta la RLS di select; Broadcast e Presence no, a meno di canali privati con policy su realtime.messages. Niente canale Presence condiviso per la mappa o per "chi è online".
  • Notifiche push ed email: la funzione che le invia ricontrolla il blocco al momento dell'invio. Media personali (storie, foto in chat) in bucket privati con URL firmati brevi: un bucket pubblico serve il file a chiunque abbia il link.
  • Prova: dopo che A blocca B, come B ogni tabella, RPC e canale che mostra persone non restituisce A, e viceversa (skill supabase-sicuro, punto 7).

Read the full file on GitHub · 269 lines

Changes

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.

  1. 1mo ago First seen · 269 lines · 186 tokens per session scan A 80644437967b

Subscribe to this mod's changes

sicurezza-social is a skill published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 186 tokens to every session and 8,708 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.

Related

sicurezza-social compared with skills from other repositories

sicurezza-social next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sicurezza-socialayalaphiscan/web-security-guardSkill41mo agoMITA186Claude Code
ponytail-sec-auditandypitcher/ponytail-secSkill62todayMITA73Claude Code
prism-hardentonone-ai/tononeSkill85yesterdayMITA47Claude Code
ponytail-secandypitcher/ponytail-secSkill62todayMITA73Claude Code
ponytail-sec-triageandypitcher/ponytail-secSkill62todayMITA60Claude Code
dockerfileandypitcher/ponytail-secSkill62todayMITA51Claude Code
k8s-securitycontextandypitcher/ponytail-secSkill62todayMITA57Claude Code