haveibeenpwned

Check emails and passwords against Have I Been Pwned breach data.

40|7|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill haveibeenpwned
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haveibeenpwned
Source: https://github.com/rawveg/skillsforge-marketplace/tree/main/haveibeenpwned
Command: npx skills add https://github.com/rawveg/skillsforge-marketplace --skill haveibeenpwned

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance for integrating Have I Been Pwned (HIBP) API usage to check for compromised accounts, breaches, and password exposures.

Core Features & Use Cases

  • Account Breach Checks: Verify if emails appear in breaches.
  • Password Breach Checks: Use k-anonymity to validate password safety.
  • Domain & Pastes Monitoring: Track breaches and pastes for domains or accounts.

Quick Start

Check an account breach with a simple request and interpret the results (e.g., "Check if [email protected] has been pwned").

Frequently Asked Questions about haveibeenpwned

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if an email address has been compromised in a data breach?

Check if an email has been compromised by querying the Have I Been Pwned API, which searches across known breaches and returns matching breach records with exposure details. The API requires authentication and handles rate limiting to prevent abuse.

Can I validate password safety without exposing the actual password?

Use k-anonymity password checks through HIBP, which hashes your password locally, sends only the first 5 characters to the API, and returns matches without ever transmitting the full password, protecting user privacy.

How do I integrate Have I Been Pwned API into authentication flows?

Integrate HIBP by implementing API key authentication, handling rate-limit responses, parsing breach data from endpoints, and filtering results by domain or account to block compromised credentials during login or signup.

What's the best way to monitor a domain for compromised email accounts?

Monitor domains by querying HIBP endpoints for breaches and pastes affecting specific domains, then filtering API responses to surface only emails belonging to your organization for breach notification and remediation.

Do I need special prerequisites to start using the Have I Been Pwned API?

You need an API key for authentication, network access to HIBP endpoints, ability to handle rate-limit headers, and knowledge of password hashing or k-anonymity concepts for secure password validation workflows.

What are the limitations of relying solely on HIBP for security validation?

HIBP covers known, indexed breaches only; rate limiting restricts query frequency; k-anonymity password checks work for common breaches but may miss emerging exploits; consider combining with additional security layers for comprehensive protection.