privacy-posizione

privacy-posizione is a skill for Claude Code from ayalaphiscan/web-security-guard. It costs 165 tokens per session (7,622 once invoked), scanned A, original, MIT.

A privacy guide for location data and other sensitive personal information, such as health, religion, or sexual orientation. It covers collection, precision, storage, consent, export, and deletion.

In plain words
What is it for?
It helps reduce location precision, avoid storing location history, remove GPS data from photos, apply GDPR consent rules, and support retention, export, and deletion controls.
Why use it?
Exact locations and sensitive attributes can reveal where someone lives, works, or spends time, creating risks such as stalking, outing, or burglary.

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 reduce location precision, avoid storing location history, remove GPS data from photos, apply GDPR consent rules, and support retention, export, and deletion controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayalaphiscan/web-security-guard/privacy-posizione
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 privacy-posizione
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 privacy-posizione

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/privacy-posizione/github.svg)](https://agentmods.dev/skills/ayalaphiscan/web-security-guard/privacy-posizione)
Your own site
<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.

agentmods 80×15 button for privacy-posizione

Your own site · 80×15
<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>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,622 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.00165 $0.07622
Opus 5.5 $0.00066 $0.03049
Sonnet 5.5 $0.00033 $0.01524
Haiku 4.5 $0.00016 $0.00762

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

Security

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.

skills/privacy-posizione/SKILL.md · 279 lines

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 di geolocation=() (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();

Read the full file on GitHub · 279 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 · 279 lines · 165 tokens per session scan A e0c35b86a664

Subscribe to this mod's changes

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.

Related

privacy-posizione compared with skills from other repositories

privacy-posizione next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
privacy-posizioneayalaphiscan/web-security-guardSkill41mo agoMITA165Claude Code
revenue-recognitioncbrock84/headcountSkill2.6k3d agoMITA69Claude Code
privacy-and-data-protectioncbrock84/headcountSkill2.6k3d agoMITA86Claude Code
benefits-and-leavecbrock84/headcountSkill2.6k3d agoMITA68Claude Code
compensation-and-levelingcbrock84/headcountSkill2.6k3d agoMITA75Claude Code
employment-compliancecbrock84/headcountSkill2.6k3d agoMITA87Claude Code
performance-managementcbrock84/headcountSkill2.6k3d agoMITA59Claude Code