Logo de Auditing Account Recovery And Reset Trust

Auditing Account Recovery And Reset Trust

Organização
UnboundCompute
auditing-account-recovery-and-reset-trust

Audite os fluxos de redefinição de senha e recuperação de conta em busca de falhas de confiança que permitam a um invasor assumir uma conta: um token de redefinição que possa ser adivinhado, tenha validade longa, possa ser reutilizado ou não esteja vinculado à conta para a qual foi emitido; um método de recuperação que verifique um fator mais fraco que o login e ignore a autenticação multifator; um link de redefinição cujo host venha de um cabeçalho controlável pelo invasor, fazendo o token vazar; e uma recuperação que confie em uma alteração não verificada de e-mail ou telefone para redirecionar a redefinição. Abrange a superfície de recuperação dos sistemas de autenticação, em que redefinir uma credencial ou recuperar o acesso é uma porta alternativa para entrar em uma conta. Use quando um aplicativo oferece redefinição de senha ou recuperação de conta e esse fluxo dá acesso à autenticação. A solicitação de recuperação iniciada pelo invasor é a origem, a conta assumida é o destino, e a falha no token, o fator ignorado ou o link de redefinição vazado que permite o acesso é a vulnerabilidade.

Add to TypingMind

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-account-recovery-and-reset-trust
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Account Recovery And Reset Trust no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Account Recovery And Reset Trust em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Account Recovery And Reset Trust automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Account Recovery And Reset Trust não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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.

Perguntas frequentes

O que a habilidade de IA Auditing Account Recovery And Reset Trust faz?

Audite os fluxos de redefinição de senha e recuperação de conta em busca de falhas de confiança que permitam a um invasor assumir uma conta: um token de redefinição que possa ser adivinhado, tenha validade longa, possa ser reutilizado ou não esteja vinculado à conta para a qual foi emitido; um método de recuperação que verifique um fator mais fraco que o login e ignore a autenticação multifator; um link de redefinição cujo host venha de um cabeçalho controlável pelo invasor, fazendo o token vazar; e uma recuperação que confie em uma alteração não verificada de e-mail ou telefone para redire...

Por que usar Auditing Account Recovery And Reset Trust no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Account Recovery And Reset Trust é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Account Recovery And Reset Trust no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Account Recovery And Reset Trust?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Account Recovery And Reset Trust?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Account Recovery And Reset Trust com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Account Recovery And Reset Trust é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇