password-reset-flaws

password-reset-flaws is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 85 tokens per session (1,703 once invoked), scanned A, original, MIT.

A web security check for password-change and password-reset workflows. It examines reset links, account identifiers, form protections, password rules, and how old passwords are handled.

In plain words
What is it for?
Use it to test reset-token strength and expiry, cross-account parameter changes, current-password checks, CSRF protection, password policies, and reuse after a reset.
Why use it?
It helps prevent attackers from resetting another person's password, reusing stolen or predictable reset links, or changing a password without enough proof of identity. Showing an old password can also reveal unsafe password storage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to test reset-token strength and expiry, cross-account parameter changes, current-password checks, CSRF protection, password policies, and reuse after a reset.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/password-reset-flaws
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SecurityTalent/bugskill-ai --skill password-reset-flaws
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for password-reset-flaws

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/password-reset-flaws/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/password-reset-flaws)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/password-reset-flaws"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/password-reset-flaws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for password-reset-flaws

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/password-reset-flaws"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/password-reset-flaws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01703
Opus 5.5 $0.00034 $0.00681
Sonnet 5.5 $0.00017 $0.00341
Haiku 4.5 $0.00009 $0.00170

Measured 2mo ago against content hash 333e4a2cef71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

password-reset-flaws scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://TARGET/account/changepassword \
Awesome-Claude-Code-Agent-Skills/03-Authentication-and-Access-Control/password-reset-flaws/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Password Reset and Change Flaws

What Is Broken and Why

Password reset and change workflows are high-value attack targets because they operate partially outside a user's active session. Flaws arise when reset tokens are predictable, when the workflow can be manipulated to affect other users' accounts, when CSRF protections are absent, or when password changes do not require verification of the current credential. Additionally, displaying the old password during a reset reveals that it is stored in recoverable form (plaintext or reversible encryption), indicating fundamentally broken credential storage.

Key Signals

  • Reset endpoint accepts user= or username= parameter that can be swapped to another account
  • Password change form does not require current password field
  • Reset token in URL is short, numeric, sequential, or time-derived
  • Reset page displays old/current password in cleartext
  • Password reset or change form lacks CSRF token
  • Reset link does not expire or remains valid after use
  • Weak policy: accepts "Password1", "123456", no minimum length enforcement
  • Password reuse permitted across resets
  • Application accepts changepassword?user=VICTIM without validating session ownership

Methodology

  1. CSRF check on reset form: Capture reset/change request; remove or replay CSRF token; confirm if server accepts.
  2. Cross-user modification: On password change endpoint, swap the user=, username=, or account= parameter to a different account while authenticated as another user.
  3. Token analysis: Request multiple reset tokens; compare for patterns (sequential integers, Unix timestamps, MD5 of email+time).
  4. Token lifetime: Use a reset token after 1 hour, 24 hours, 1 week; note if still valid.
  5. Plaintext password detection: Trigger "forgot password" flow; if response contains the actual current password, storage is reversible.
  6. Missing current-password gate: Submit password change request without currentPassword field or with an incorrect value; observe if accepted.
  7. Workflow manipulation: Intercept multi-step reset flow; skip steps or replay confirmation tokens against a different account.
  8. Password policy audit: Test minimum/maximum length, character class requirements, common password blocking, history enforcement.

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 152 lines · 85 tokens per session scan A 333e4a2cef71

Subscribe to this mod's changes

password-reset-flaws is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 2mo ago), licensed MIT. It adds 85 tokens to every session and 1,703 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

password-reset-flaws compared with skills from other repositories

password-reset-flaws next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
password-reset-flawsSecurityTalent/bugskill-aiSkill132mo agoMITA85Claude Code, Codex
architecture-patternsgarrettw/php-arch-skillsSkill172d agoMPL-2.0A77Claude Code, Codex
event-sourcinggarrettw/php-arch-skillsSkill172d agoMPL-2.0A133Claude Code, Codex
hub-agent-setupGiskard-AI/giskard-skillsSkill63d agoApache-2.0A82Claude Code
php-domain-modelinggarrettw/php-arch-skillsSkill172d agoMPL-2.0A55Claude Code, Codex
application-layergarrettw/php-arch-skillsSkill172d agoMPL-2.0A67Claude Code, Codex
persistence-patternsgarrettw/php-arch-skillsSkill172d agoMPL-2.0A58Claude Code, Codex