assisted-mindfulness/pwned-validator
A Laravel validation rule that checks passwords against the Have I Been Pwned Pwned Passwords database using k-anonymity, so users can be blocked from choosing known-breached passwords without ever sending full credentials over the wire.
Adopt when:
Look elsewhere when:
To executives: This is a low-effort, high-signal security upgrade. Adding breached-password rejection is a recognizable, checkable control that strengthens account security and supports security/compliance conversations — at essentially the cost of one Composer dependency and a validation rule. It reduces account-takeover risk from credential-stuffing attacks without new infrastructure.
To engineering: A Laravel-native validation rule for the HIBP Pwned Passwords API, now at a stable 1.0.0. It slots into existing FormRequest/validator flows, uses k-anonymity (only a SHA-1 prefix is sent), and keeps integration logic out of our codebase. Recommend a short spike to confirm timeout/failure behavior and to decide fail-open vs. fail-closed on HIBP outages, plus a feature flag for rollout.
How can I help you explore Laravel packages today?