Hibp Check Password
hibp_check_passwordCheck whether a password appears in known breach corpora. Uses k-anonymity: the password is SHA-1ed locally, only the first 5 hex chars leave the worker, and the response is filtered to match the rest. Returns pwned count (0 = not seen). The password itself is never transmitted.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"password": "correct-horse-battery-staple"
},
"name": "hibp_check_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Password to check (stays inside the worker) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pwned | Yes | Whether password appears in breach corpus | |
| advice | Yes | Security advice based on pwned status | |
| pwned_count | Yes | Number of times password seen in breaches | |
| sha1_prefix | Yes | First 5 hex characters of SHA-1 hash |