jord-jd/password_exposed
Laravel package to block compromised passwords using the Have I Been Pwned Pwned Passwords API. Adds easy validation rules and checks during registration or password changes, helping prevent users from choosing exposed credentials.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us proactively block compromised passwords—reducing fraud risk and meeting compliance requirements—with minimal dev effort. For ~$0 cost, we get a turnkey solution that could prevent account takeovers (e.g., credential stuffing) and align with privacy laws. It’s a quick win for security posture, with options to scale later if needed."
For Engineering:
"Lightweight PHP/Laravel library to check passwords against known breaches (e.g., LinkedIn, Yahoo). Plugs into auth flows with one function call (PasswordExposed::check()). Uses open-source data (update frequency TBD) and avoids API rate limits. Tradeoff: Less real-time than HIBP API, but easier to maintain and customize. Recommend spiking it against our current breach detection (if any) to compare accuracy."
For Security/Compliance: "Adds a layer of defense against credential stuffing by validating passwords against a breach database. Supports GDPR ‘right to erasure’ by identifying exposed credentials. Note: LGPL-3.0 license requires reviewing modified code for GPL compliance if we fork it."
How can I help you explore Laravel packages today?