api-sicura

api-sicura is a skill for Claude Code from ayalaphiscan/web-security-guard. It costs 183 tokens per session (10,479 once invoked), scanned B, original, MIT.

A guide for reviewing APIs, the interfaces that software uses to request data or actions, against common security risks. It covers REST, RPC, GraphQL, Edge Functions, and Supabase-generated endpoints.

In plain words
What is it for?
Use it to inventory endpoints, check permissions and data exposure, review sensitive functions, and assess abuse risks such as ID guessing and excessive requests.
Why use it?
It helps expose problems such as users accessing another user's records, privileged fields being changed, missing limits, or forgotten endpoints.

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 Use it to inventory endpoints, check permissions and data exposure, review sensitive functions, and assess abuse risks such as ID guessing and excessive requests.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/api-sicura"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/api-sicura.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00183 $0.10479
Opus 5.5 $0.00073 $0.04192
Sonnet 5.5 $0.00037 $0.02096
Haiku 4.5 $0.00018 $0.01048

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

Security

Grade B, and why

api-sicura scanned grade B with 3 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.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

TOKEN_B=$(curl -s "$SB_URL/auth/v1/token?grant_type=password" "${J[@]}" -d "{\"email\":\"$EMAIL_B\",\"password\":\"$PW_B\"}" | jq -r .access_token)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Cosa è: il server scarica un URL scelto dall'utente (anteprima di un link, avatar da URL, import di un calendario, webhook configurabili) e così raggiunge reti interne o i metadati del cloud (`169.254.169.254`). Con Su

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Un'API è tutto ciò che si chiama senza passare dall'interfaccia: con un token e curl, un controllo fatto solo nel componente React non esiste. Con Supabase **ogni tabella, vista e funzione degli schemi esposti è un endpo
skills/api-sicura/SKILL.md · 259 lines

How it starts

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

API sicura · Secure APIs

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

Un'API è tutto ciò che si chiama senza passare dall'interfaccia: con un token e curl, un controllo fatto solo nel componente React non esiste. Con Supabase ogni tabella, vista e funzione degli schemi esposti è un endpoint (/rest/v1/<tabella>, /rest/v1/rpc/<funzione>), e nomi e chiave pubblica sono nel bundle JavaScript. Le regole seguono l'OWASP API Security Top 10 2023 (codice API1-API10 nei titoli) e valgono anche per REST, GraphQL, Edge Functions e server propri. Basi di Supabase: skill supabase-sicuro; limiti anti-molestie e scraping: sicurezza-social; posizioni: privacy-posizione; login: autenticazione-sicura; client: frontend-spa; WAF su server propri: difesa-attacchi; dati già usciti: risposta-incidenti.

Regole obbligatorie

1. Inventario degli endpoint (API9 Improper Inventory Management)

  • Tenere nella repo l'elenco di ciò che è raggiungibile: tabelle e viste esposte, RPC, Edge Functions, bucket, tabelle in Realtime, schemi esposti (impostazioni della Data API: solo public), API di terzi chiamate, webhook ricevuti. Per ognuno: chi lo chiama (anon, authenticated, ruolo), cosa restituisce, quali limiti. La parte del database si genera così:
select c.relname, c.relkind, c.relrowsecurity as rls,  -- tabelle e viste, permessi per colonna compresi
  has_any_column_privilege('anon', c.oid, 'select,insert,update') or has_table_privilege('anon', c.oid, 'delete') as anon,
  has_any_column_privilege('authenticated', c.oid, 'select,insert,update') or has_table_privilege('authenticated', c.oid, 'delete') as auth
from pg_class c join pg_namespace n on n.oid = c.relnamespace where n.nspname = 'public' and c.relkind in ('r','p','v','m','f') order by 1;
select p.proname, pg_get_function_identity_arguments(p.oid) as args, p.prosecdef as definer, has_function_privilege('anon', p.oid, 'execute') as anon,
  has_function_privilege('authenticated', p.oid, 'execute') as auth from pg_proc p join pg_namespace n on n.oid = p.pronamespace where n.nspname = 'public' order by 1;  -- RPC
  • La CI rigenera l'elenco sul database locale (supabase start con le migrazioni) e fallisce se cambia senza che il file sia aggiornato; ogni riga con anon o definer a true ha un motivo scritto. Versioni vecchie (get_profile_v1), funzioni di debug, tabelle di prova ed Edge Functions inutilizzate si cancellano con una migrazione: i nomi non sono un segreto. Anteprime e ambienti di prova usano un progetto separato con dati finti, mai la produzione con regole più larghe.

Read the full file on GitHub · 259 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 · 259 lines · 183 tokens per session scan B 3db36859f6ce

Subscribe to this mod's changes

api-sicura 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 10,479 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 3 findings (sends data to an external url, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.

Related

api-sicura compared with skills from other repositories

api-sicura next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-sicuraayalaphiscan/web-security-guardSkill41mo agoMITB183Claude Code
prowler-mcpprowler-cloud/prowlerSkill15ktodayApache-2.0A67Claude Code
prowler-test-apiprowler-cloud/prowlerSkill15ktodayApache-2.0A62Claude Code
add-cloud-flowmicrosoft/power-platform-skillsSkill1.2ktodayMITA91Claude Code
list-connectionsmicrosoft/power-platform-skillsSkill1.2ktodayMITA55Claude Code
tidewave-integrationoliver-kriska/claude-elixir-phoenixSkill5803d agoMITA38Claude Code
sanity-singletonssanity-io/agent-toolkitSkill203todayMITA90Claude Code