auth-password-reset

Test password reset token entropy and session management for account takeover vulnerabilities.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill auth-password-reset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-password-reset
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/auth-password-reset
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill auth-password-reset

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical security risks inherent in password reset and account recovery flows, such as token predictability, host-header injection, and account takeover chains.

Core Features & Use Cases

  • Flow Validation: Systematically audit reset pathways including email, SMS, and support-assisted recovery.
  • Security Assessment: Identify vulnerabilities like low-entropy tokens, reusable tokens, and cross-account token acceptance.
  • Use Case: Use this skill to verify that a web application correctly invalidates old sessions and requires multi-factor verification during an email change to prevent account hijacking.

Quick Start

Initiate the auth-password-reset skill to begin a security audit of the password recovery flow for the target application defined in your current scope.

Frequently Asked Questions about auth-password-reset

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test password reset token entropy and validation logic during a pentest?

To test password reset token entropy, systematically audit reset pathways to identify low-entropy, reusable, or cross-account accepted tokens. This validates the security posture of recovery mechanisms by testing token predictability and session management.

What is host-header injection in account recovery workflows?

Host-header injection in account recovery is a critical security risk where token generation pathways are manipulated. Auditing these workflows identifies vulnerabilities that can lead to account takeover chains and unauthorized session persistence.

Does this password reset audit work with both web and mobile authentication flows?

Yes, this security assessment applies to authorized penetration testing of both web and mobile authentication workflows. It verifies that applications correctly invalidate old sessions and require multi-factor verification during email changes.

How do I audit email and SMS account recovery flows to prevent account takeover?

Audit email, SMS, and support-assisted recovery flows to identify vulnerabilities like low-entropy tokens and cross-account acceptance. This systematically validates reset pathways to expose account takeover risks and session management flaws.

Are there limitations or authorization requirements for testing account takeover vulnerabilities?

Assessing account takeover vulnerabilities requires strict adherence to defined test-account limits and authorization policies. This ensures safe and compliant penetration testing of password reset and account recovery mechanisms without violating scope.

What's the best way to verify session invalidation after an email change to prevent hijacking?

The best way to verify session invalidation is to audit the password recovery flow to ensure old sessions are correctly invalidated and multi-factor verification is required. This prevents account hijacking during email changes.