Command Palette

Search for a command to run...

Back to skills
skill № 09257

Password Reset Vulnerabilities

Detects insecure password reset implementations including predictable tokens, missing expiration, and host header injection in reset links.

FreeNo executable scripts
zakirkunby 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
Sign up freeI already have an account

About this skill

Password Reset Vulnerabilities

Overview

Password reset flows contain numerous potential vulnerabilities:

  1. Predictable tokens: Reset tokens generated with Math.random() instead of CSPRNG
  2. No expiration: Tokens valid indefinitely, allowing long-lived account takeover
  3. Host header injection: Reset URL generated from Host header (phishing)
  4. Token reuse: Token remains valid after use
  5. 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

Compare Password Reset Vulnerabilities with