password_breach_check
Checks a password (or its SHA-1 hash) against Have I Been Pwned with k-anonymity: only 5 hash characters leave the server, nothing is stored or logged. Returns how many breaches it appeared in. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha1 | No | SHA-1 hash of the password (preferred) | |
| password | No | Plaintext password; hashed immediately, never stored | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |