# HaveIBeenPwned Password Breach Checker (k-Anonymity)

> HaveIBeenPwned Password Breach Checker (k-Anonymity) is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Checks whether a password has appeared in known data breaches using the HaveIBeenPwned Pwned Passwords API with k-anonymity, returning a breach count and risk classification without ever transmitting the full password.

## Facts

- Endpoint: GET https://netintel-production-440c.up.railway.app/breach-check/password?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-production-440c-up-railway-app-8c178a2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5VttiQBrSfpSJjMJoGpN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability netintel-production-440c-up-railway-app-8c178a2a
```

Example prompt: Can you check if the password 'Summer2023!' has ever shown up in a data breach and tell me how risky it is to use?

## When to prefer this

Use this endpoint when you need to check whether a specific plaintext password has appeared in known data breach databases, especially when privacy is a concern — the k-anonymity design means the full password is never sent over the wire. Prefer this over rolling your own HIBP integration, or when you need a combined breach count plus risk classification in one call. Ideal for enforcing password policies in agentic workflows, onboarding flows, or security audits.

## Known failure modes

- Missing 'password' query parameter returns a 400-level error
- HaveIBeenPwned API upstream unavailability causes a 502 or timeout
- Extremely long passwords may be rejected or truncated
- Rate limiting from the upstream HIBP API may cause transient failures

## How this service works

Check if a password has appeared in known data breaches using the HaveIBeenPwned Pwned Passwords API with k-anonymity — the full password is never transmitted, only a 5-character SHA-1 hash prefix — returns breach count and a risk classification so agents can enforce password policies without storing or exposing credentials.

## Output

Returns a JSON object with: a boolean 'breached' flag indicating if the password was found in known breaches, a numeric 'breach_count' showing how many times it appeared, a 'risk_level' string (e.g. 'critical', 'high', 'low'), a 'grade' letter score, a numeric 'score', and a 'findings' array with breach detail records.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "password": "Password123"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "password"
     ],
     "properties": {
      "password": {
       "type": "string",
       "description": "Password to check against known data breaches (1-500 characters; sent as a query param but only a k-anonymity SHA-1 prefix leaves the server)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "breached": {
       "type": "boolean"
      },
      "findings": {
       "type": "array"
      },
      "risk_level": {
       "type": "string"
      },
      "breach_count": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "F",
  "score": 0,
  "breached": true,
  "findings": [
   {
    "rule": "critical_breach",
    "detail": "Password found 34521 times in known data breaches",
    "deduction": -100
   }
  ],
  "risk_level": "critical",
  "breach_count": 34521
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-production-440c-up-railway-app-8c178a2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
