Password Reset Vulnerabilities
Detects insecure password reset implementations including predictable tokens, missing expiration, and host header injection in reset links.
by zakirkun★ 40 GitHub stars
Install Password Reset Vulnerabilities in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Password Reset Vulnerabilities
Overview
Password reset flows contain numerous potential vulnerabilities:
- Predictable tokens: Reset tokens generated with Math.random() instead of CSPRNG
- No expiration: Tokens valid indefinitely, allowing long-lived account takeover
- Host header injection: Reset URL generated from Host header (phishing)
- Token reuse: Token remains valid after use
- User enumeration: Different responses for valid vs invalid email
Remediation
- Use cryptographically random tokens (32+ bytes)
- Expire tokens after 15-60 minutes and after first use
- Generate reset URL from server configuration, not Host header
- Return the same response regardless of email existence
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- patterns.yaml
FAQ
What does the Password Reset Vulnerabilities skill do?
Detects insecure password reset implementations including predictable tokens, missing expiration, and host header injection in reset links.
How do I install the Password Reset Vulnerabilities skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Password Reset Vulnerabilities skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…