Logo di Auditing Account Recovery And Reset Trust

Auditing Account Recovery And Reset Trust

Organizzazione
UnboundCompute
auditing-account-recovery-and-reset-trust

Verifica i flussi di reimpostazione della password e recupero dell’account per individuare carenze nei controlli che potrebbero consentire a un attaccante di impossessarsi di un account: un token di reimpostazione prevedibile, valido troppo a lungo, riutilizzabile o non associato all’account per cui è stato emesso; una procedura di recupero che verifica un fattore meno sicuro di quello usato per l’accesso e aggira l’autenticazione a più fattori; un link di reimpostazione il cui host deriva da un header controllabile dall’attaccante, causando la fuga del token; oppure una procedura di recupero che si fida di una modifica non verificata dell’indirizzo email o del numero di telefono per reindirizzare la reimpostazione. Riguarda le procedure di recupero dei sistemi di autenticazione, in cui reimpostare una credenziale o recuperare l’accesso costituisce una porta alternativa all’account. Usala quando un’applicazione offre la reimpostazione della password o il recupero dell’account e questa procedura consente di autenticarsi. La richiesta di recupero avviata dall’attaccante è la sorgente, l’account di cui si impossessa è la destinazione e la vulnerabilità è il token debole, il fattore aggirato o il link di reimpostazione esposto che gli permette di riuscirci.

Add to TypingMind

Panoramica

Pubblicato daUnboundCompute
Repositorysecurity-agent-skills
Nome della skillauditing-account-recovery-and-reset-trust
Stelle
27
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da UnboundCompute su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Auditing Account Recovery And Reset Trust in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-account-recovery-and-reset-trust .claude/skills/auditing-account-recovery-and-reset-trust
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Auditing Account Recovery And Reset Trust in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Auditing Account Recovery And Reset Trust non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Auditing Account Recovery And Reset Trust non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Auditing account recovery and reset trust: the alternate door into every account

Every login has a back door built in on purpose: the password reset and account recovery flow. It exists so a locked-out user can get back in, which means it is, by design, a way to gain access to an account without the password. That makes it a prime takeover target, and it is frequently weaker than the front door it protects. The reset token may be guessable, long-lived, reusable, or not bound to the account, so an attacker can predict or replay it. The recovery path may verify a weaker factor than login and skip the multi-factor requirement, so recovery becomes the multi-factor bypass. The reset link's host may come from a request header an attacker controls, so the emailed token leaks to the attacker's domain. And recovery may trust an unverified email or phone change, redirecting the reset to the attacker. The audit treats recovery as an authentication path with the same rigor as login. You audit this by walking the flow and testing each trust it places.

When to use

  • An application offers password reset or account recovery as a way to regain access to an account.
  • Reset tokens may be weak, long-lived, reusable, or not bound to the requesting account.
  • Recovery may verify a weaker factor than login, bypass multi-factor, or leak the reset link off-domain.

Scope check

Test recovery flows only against accounts and applications you own or are authorized to assess, on non-production accounts. Exercising reset attempts real credential changes, so use test accounts you control and never reset or take over an account that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish the intended recovery assurance first. Name what proof recovery should require and that it must be at least as strong as login, including any multi-factor requirement. This is the false-positive killer: a recovery flow with a high-entropy, single-use, short-lived, account-bound token, that enforces the same factors as login and builds the link from a server-fixed host, is correct. Name the intended assurance, then test each element.

  2. Assess the reset token strength and lifecycle. Examine the token: its entropy (guessable or unpredictable), lifetime (short or long-lived), reuse (single-use or replayable), and invalidation (consumed on use and on a new request). A token an attacker can guess, reuse, or use long after issuance is a takeover primitive regardless of the rest of the flow.

  3. Check token-to-account binding. Confirm the token is bound to the exact account it was issued for and cannot be used to reset a different account by changing an identifier in the request. A reset step that takes the account from a parameter while validating a token issued for another account lets an attacker reset someone else's credential with their own valid token.

  4. Check factor strength and multi-factor bypass. Compare the assurance recovery requires to login. If recovery verifies a weaker factor, or completes without the multi-factor step login enforces, then recovery is the way to bypass multi-factor entirely. Confirm recovery does not lower the bar below login and re-checks the second factor where login requires it.

  5. Check reset-link host and destination trust. Determine whether the reset link's host or base URL is built from a request header (such as the host header) an attacker can set, which sends the emailed token to the attacker's domain. Also confirm recovery does not trust an unverified email or phone change to redirect where the reset is delivered. The link and its destination must come from server-fixed configuration, not attacker input.

  6. Confirm and record. Confirm by taking over a test account you control through a real weakness, a guessed or replayed token, a token rebound to another test account, a multi-factor bypass via recovery, or a reset link leaked via a spoofed host, without touching any account that is not yours. Kill the lead if the token is high-entropy, single-use, short-lived, and account-bound, recovery enforces login-equivalent factors, and the reset link and destination come from server-fixed configuration. Record the recovery request, the account-takeover sink, and the weak token, bypassed factor, or leaked reset link.

Where recovery trust leaks

  • A weak or long-lived token is guessable or replayable. Low entropy, long lifetime, or reuse turns the reset token into a takeover primitive.
  • An unbound token resets the wrong account. A token not bound to its account, plus an account identifier in the request, lets an attacker reset someone else's credential.
  • Recovery bypasses multi-factor. A recovery path that verifies a weaker factor than login, or skips the second factor, is the way around multi-factor.
  • A spoofable link host leaks the token. Building the reset link from an attacker-controllable header sends the emailed token to the attacker's domain.
  • Trusting an unverified contact change redirects the reset. Honoring an unverified email or phone update sends recovery to the attacker.

Worked example (a confirm and a kill)

Confirm. A password-reset email builds its link host from the request host header. Requesting a reset for a test account the tester controls while supplying an attacker-chosen host header produces a reset link pointing at the attacker's domain, so when followed the valid token is delivered to the attacker, who completes the reset. The same endpoint's token is also long-lived and reusable. Confirmed account takeover via host-header reset-link poisoning with a weak token, critical, remediation = build the reset link from server-fixed configuration only, issue a high-entropy single-use token that expires quickly and is invalidated on use, and bind the token to the requesting account.

Kill. The reset token is high-entropy, single-use, short-lived, invalidated on use and on any new request, and bound to the exact account it was issued for; recovery enforces the same factors as login including multi-factor; and the reset link host and delivery destination come from server-fixed configuration, ignoring request headers and any unverified contact change. A guessed, replayed, rebound, or off-domain reset attempt fails. Killed, kill_reason = "strong single-use account-bound token with short expiry, login-equivalent factors enforced, and server-fixed link and destination; no recovery request takes over an account."

Rationalizations to reject

  • "The token is random." → Confirm its entropy, single use, short expiry, and invalidation; a random-looking token that is long-lived or reusable is still a takeover primitive.
  • "Reset requires the email." → If recovery skips the multi-factor step login enforces, it is the multi-factor bypass; recovery must be at least as strong as login.
  • "The link points to our site." → Confirm the host is server-fixed, not from a request header; a spoofable host sends the token to the attacker.
  • "The token identifies the account." → Confirm it is bound so it cannot reset a different account named in the request; an unbound token plus an identifier is a cross-account reset.
  • "They updated their email." → Confirm the change was verified before recovery trusts it; an unverified contact change redirects the reset to the attacker.

Executing this in practice

You need the reset token's entropy, lifetime, reuse, and invalidation, its binding to the account, the factors recovery requires versus login, and how the reset link host and delivery destination are determined. Walk the flow on test accounts you control, testing token guessing and replay, cross-account rebinding, multi-factor bypass, and host-header link poisoning. Reading the recovery code shows the intended assurance; taking over a test account through a weakness shows whether it holds.

Related

  • auditing-session-lifecycle-and-fixation - recovery grants a session; its lifecycle and fixation properties are the next boundary after the reset completes.
  • auditing-saml-and-oidc-federation-trust - federated login and account recovery are two doors to the same account; a weak recovery undercuts strong federation.
  • hunting-broken-object-level-authorization - the cross-account reset here is an object-authorization failure on the reset endpoint; the two skills meet at the account identifier.
  • auditing-webauthn-and-passkey-flows - passkeys strengthen the front door; confirm recovery does not offer a weaker path around them.
  • FINDING-SCHEMA.md - source = the attacker-driven recovery request, sink = the account it takes over, evidence = the weak token, bypassed factor, or leaked reset link.

Domande frequenti

Cosa fa la skill IA Auditing Account Recovery And Reset Trust?

Verifica i flussi di reimpostazione della password e recupero dell’account per individuare carenze nei controlli che potrebbero consentire a un attaccante di impossessarsi di un account: un token di reimpostazione prevedibile, valido troppo a lungo, riutilizzabile o non associato all’account per cui è stato emesso; una procedura di recupero che verifica un fattore meno sicuro di quello usato per l’accesso e aggira l’autenticazione a più fattori; un link di reimpostazione il cui host deriva da un header controllabile dall’attaccante, causando la fuga del token; oppure una procedura di recupe...

Perché usare Auditing Account Recovery And Reset Trust su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Auditing Account Recovery And Reset Trust è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Auditing Account Recovery And Reset Trust in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Auditing Account Recovery And Reset Trust?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Auditing Account Recovery And Reset Trust?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Auditing Account Recovery And Reset Trust: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Auditing Account Recovery And Reset Trust è gratuita?

Sì. È pubblicata su GitHub da UnboundCompute con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇