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 privacy-posizionegit 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/privacy-posizione)<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/privacy-posizione"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/privacy-posizione/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/privacy-posizione"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/privacy-posizione.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.00165 | $0.07622 |
| Opus 5.5 | $0.00066 | $0.03049 |
| Sonnet 5.5 | $0.00033 | $0.01524 |
| Haiku 4.5 | $0.00016 | $0.00762 |
Grade A, and why
privacy-posizione 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 — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Privacy di posizione e dati sensibili · Location and Sensitive Data Privacy
🇮🇹 Versione italiana qui sotto · 🇬🇧 English version below
In un'app dove le persone si incontrano dal vivo, la posizione e i dati delicati (orientamento, religione, idee politiche, salute) sono quelli che fanno più danni se escono: stalking, outing, aggressioni, furti in casa vuota. Valgono le regole di supabase-sicuro (RLS, grant, funzioni) e di hardening-siti; questa skill dice quanto dato tenere e chi può ricavarlo. Principio: la precisione che un utente ottiene combinando tutte le API (mappa, liste, filtri, distanze, notifiche) non deve superare quella che si vuole mostrargli.
Regole obbligatorie
1. Raccogliere il minimo
- Per ogni dato scrivere a cosa serve; se nessuna funzione lo usa, non si raccoglie. Per "chi è in zona" basta una cella di qualche centinaio di metri, per gli sconosciuti basta la città.
- Niente storico delle posizioni: una riga per utente, sovrascritta, che scade. Lo storico rivela casa, lavoro e abitudini.
- Chiedere la posizione al browser solo quando l'utente attiva la funzione, con
enableHighAccuracy: false. Se l'app la usa,Permissions-Policy: geolocation=(self)al posto digeolocation=()(hardening-siti).
2. Arrotondare nel database, a griglia
- L'arrotondamento nel client non protegge: chiunque può chiamare l'API con coordinate esatte. Arrotondare in un trigger prima di salvare, così il dato grezzo non esiste.
- Usare una griglia fissa e salvare il centro della cella. Uno spostamento casuale nuovo a ogni lettura si annulla facendo la media di molte letture; uno spostamento fisso per utente si scopre una volta (incontrando la persona o conoscendo un suo indirizzo) e poi vale per sempre. La griglia dà sempre la stessa cella: ripetere le letture non aggiunge nulla.
- Il passaggio da una cella all'altra rivela il confine: cambiare cella solo quando la persona è entrata nella nuova di almeno un quarto di cella (isteresi).
- Fuori città 250 m possono indicare una sola casa: celle più grandi dove le persone sono poche, o solo il nome della località.
create function private.snap_cell() returns trigger
language plpgsql set search_path = '' as $$
declare
dlat constant float8 := 0.00225; -- ~250 m nord-sud
dlng float8;
begin
-- isteresi: vicino alla cella di prima (meno di un quarto dentro la nuova) si resta lì
if tg_op = 'UPDATE' and old.lat is not null
and abs(new.lat - old.lat) < 0.75 * dlat
and abs(new.lng - old.lng) < 0.75 * dlat / greatest(cos(radians(old.lat)), 0.2) then
new.lat := old.lat; new.lng := old.lng;
return new;
end if;
new.lat := (floor(new.lat / dlat) + 0.5) * dlat; -- centro della cella
dlng := dlat / greatest(cos(radians(new.lat)), 0.2); -- ~250 m anche est-ovest
new.lng := (floor(new.lng / dlng) + 0.5) * dlng;
return new;
end $$;
create trigger snap_cell before insert or update of lat, lng on public.presenze
for each row execute function private.snap_cell();
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 · 279 lines · 165 tokens per session scan A e0c35b86a664
privacy-posizione is a skill published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 165 tokens to every session and 7,622 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.
privacy-posizione compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| privacy-posizioneayalaphiscan/web-security-guard | Skill | 4 | 1mo ago | MIT | A | 165 | Claude Code |
| revenue-recognitioncbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 69 | Claude Code |
| privacy-and-data-protectioncbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 86 | Claude Code |
| benefits-and-leavecbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 68 | Claude Code |
| compensation-and-levelingcbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 75 | Claude Code |
| employment-compliancecbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 87 | Claude Code |
| performance-managementcbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 59 | Claude Code |