Hostxpeed
Login Get Started →
Security

How to Check If Email/Password Leaked

4 min read
27 views
Jun 10, 2026

Using HaveIBeenPwned (Email)

curl -s "https://haveibeenpwned.com/api/v3/breachedaccount/test@example.com" | jq '.[].Name'

Check Password (K-Anonymity)

# Hash your password
echo -n "yourpassword" | sha1sum | cut -d' ' -f1
# First 5 chars to API
curl -s "https://api.pwnedpasswords.com/range/5BAA6"

Using passwd-check script

wget https://gist.githubusercontent.com/.../pwned-pass-check.sh
bash pwned-pass-check.sh yourpassword

Tools: pwned (Node.js)

npm install -g pwned
pwned yourpassword

Was this article helpful?