check_password_breach
Check if a password has been exposed in data breaches and evaluate its strength, using a privacy-preserving hash method that never sends the plaintext.
Instructions
Check if a password has appeared in known data breaches and assess its strength.
Uses the HaveIBeenPwned k-anonymity API — only the first 5 characters of the SHA-1 hash are sent externally. The plaintext password never leaves the server.
Args: password: The password to check (never logged or stored)
Returns: dict with keys: breached, breach_count, strength, score (0-7), entropy_bits, length, cost_usd
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"password": "<password>"
},
"name": "check_password_breach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes |