Logotipo de Auditing Account Recovery And Reset Trust

Auditing Account Recovery And Reset Trust

Organización
UnboundCompute
auditing-account-recovery-and-reset-trust

Audita los procesos de restablecimiento de contraseña y recuperación de cuentas para detectar fallos de confianza que permitan a un atacante hacerse con una cuenta: un token de restablecimiento fácil de adivinar, de larga duración, reutilizable o no vinculado a la cuenta para la que se emitió; una vía de recuperación que verifica un factor más débil que el inicio de sesión y omite la autenticación multifactor; un enlace de restablecimiento cuyo host procede de una cabecera controlable por el atacante, lo que provoca que se filtre el token; o un proceso de recuperación que confía en un cambio no verificado de correo electrónico o teléfono para redirigir el restablecimiento. Abarca la superficie de recuperación de los sistemas de autenticación, donde restablecer una credencial o recuperar el acceso es una puerta alternativa a una cuenta. Úsala cuando una aplicación ofrezca el restablecimiento de contraseñas o la recuperación de cuentas y ese proceso permita autenticarse. La solicitud de recuperación iniciada por el atacante es el origen, la cuenta de la que se apodera es el destino y el fallo está en el token débil, el factor omitido o el enlace de restablecimiento filtrado que se lo permite.

Add to TypingMind

Descripción general

EditorUnboundCompute
Repositoriosecurity-agent-skills
Nombre de la habilidadauditing-account-recovery-and-reset-trust
Estrellas
27
Forks
8
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por UnboundCompute en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Auditing Account Recovery And Reset Trust en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Auditing Account Recovery And Reset Trust en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Auditing Account Recovery And Reset Trust automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Auditing Account Recovery And Reset Trust no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu 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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Auditing Account Recovery And Reset Trust?

Audita los procesos de restablecimiento de contraseña y recuperación de cuentas para detectar fallos de confianza que permitan a un atacante hacerse con una cuenta: un token de restablecimiento fácil de adivinar, de larga duración, reutilizable o no vinculado a la cuenta para la que se emitió; una vía de recuperación que verifica un factor más débil que el inicio de sesión y omite la autenticación multifactor; un enlace de restablecimiento cuyo host procede de una cabecera controlable por el atacante, lo que provoca que se filtre el token; o un proceso de recuperación que confía en un cambi...

¿Por qué usar Auditing Account Recovery And Reset Trust en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Auditing Account Recovery And Reset Trust está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Auditing Account Recovery And Reset Trust en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-account-recovery-and-reset-trust. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Auditing Account Recovery And Reset Trust?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Auditing Account Recovery And Reset Trust?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Auditing Account Recovery And Reset Trust con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Auditing Account Recovery And Reset Trust?

Sí. UnboundCompute la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇