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 yourpasswordTools: pwned (Node.js)
npm install -g pwned
pwned yourpassword