autenticazione-sicura

autenticazione-sicura is a skill for Claude Code from ayalaphiscan/web-security-guard. It costs 152 tokens per session (1,582 once invoked), scanned A, original, MIT.

A set of rules for building secure user authentication in websites and apps. It covers registration, login, email-code verification, two-factor authentication, passkeys, password storage, sessions, and account recovery.

In plain words
What is it for?
Use it when adding user accounts, sign-in, registration, email verification, two-factor authentication, passkeys, password resets, or sensitive account changes.
Why use it?
It helps avoid common authentication mistakes such as storing plain passwords, weak verification codes, and unrestricted login attempts.

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 when adding user accounts, sign-in, registration, email verification, two-factor authentication, passkeys, password resets, or sensitive account changes.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayalaphiscan/web-security-guard/autenticazione-sicura"><img src="https://agentmods.dev/badge/skills/ayalaphiscan/web-security-guard/autenticazione-sicura.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,582 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.00152 $0.01582
Opus 5.5 $0.00061 $0.00633
Sonnet 5.5 $0.00030 $0.00316
Haiku 4.5 $0.00015 $0.00158

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

Security

Grade A, and why

autenticazione-sicura 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/autenticazione-sicura/SKILL.md · 83 lines

How it starts

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

Autenticazione Sicura · Secure Authentication

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

Quando un sito/app prevede account utente, implementare l'autenticazione secondo queste regole. Se l'utente non specifica i dettagli, proporre di default: password + verifica email con codice + 2FA opzionale.

Password

  • Hash con Argon2id (preferito) o bcrypt (cost ≥ 12). MAI MD5/SHA1/SHA256 semplice, mai password in chiaro.
  • Lunghezza: almeno 12 caratteri (15 se la password è l'unico fattore, 8 come minimo assoluto con la 2FA), controllo contro le password compromesse. Niente regole di composizione obbligatorie: NIST SP 800-63B le sconsiglia, conta la lunghezza.
  • Rate limiting sul login per account e per IP: dopo pochi errori ritardo crescente e captcha, non un blocco dell'account (in un'app social diventerebbe un modo per chiudere fuori una persona apposta). Risposta identica per "utente inesistente" e "password errata".

Verifica email con codice (OTP)

  • Codice numerico a 6 cifre generato con CSPRNG (crypto.randomInt, secrets.randbelow), MAI Math.random().
  • Validità 10 minuti, monouso, max 5 tentativi di inserimento, poi invalidare e rigenerare.
  • Salvare nel DB solo l'hash del codice, con scadenza. Rate limiting sull'invio (max 1 ogni 60s, 5/ora per indirizzo).
  • Stesso schema per: conferma registrazione, reset password, conferma di azioni sensibili (cambio email, cambio IBAN, cancellazione account).

2FA / doppio fattore

Offrire in ordine di preferenza:

  1. Passkey / chiavi di sicurezza (WebAuthn/FIDO2) — resistenti al phishing. Librerie: @simplewebauthn/server (Node), webauthn (Python).
  2. TOTP (Google Authenticator ecc.) — segreto generato server-side, mostrato via QR, verificato con finestra ±1 step. Librerie: otplib, pyotp.
  3. Codice via email — minimo accettabile; SMS solo se richiesto esplicitamente.

Regole:

  • Alla attivazione del 2FA generare 10 codici di recupero monouso (mostrati una sola volta, salvati hashati).
  • Richiedere il 2FA a ogni login da dispositivo nuovo e per azioni sensibili (step-up).
  • Disattivazione 2FA solo con ri-autenticazione completa.

Read the full file on GitHub · 83 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 Changed 9d15dc0e70cb
  2. 3mo ago First seen · 83 lines · 152 tokens per session scan A cba0ac5165e4

Subscribe to this mod's changes

autenticazione-sicura is a skill published in the GitHub repository ayalaphiscan/web-security-guard (4 stars, last pushed 1mo ago), licensed MIT. It adds 152 tokens to every session and 1,582 once invoked, about $0.0006 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-08-31.

Related

autenticazione-sicura compared with skills from other repositories

autenticazione-sicura next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autenticazione-sicuraayalaphiscan/web-security-guardSkill41mo agoMITA152Claude 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