# pwnedOrNot

> Python tool that checks email addresses against Have I Been Pwned and searches public dumps for exposed passwords.

Source: https://osinttools.io/tools/pwnedornot/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Email, Domain
- **Category:** Dark web and breaches
- **Pricing:** Open source (Free and open source (MIT); needs a paid Have I Been Pwned API key.)
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** no public API
- **Platforms:** Python CLI · Docker
- **Website:** https://github.com/thewhiteh4t/pwnedOrNot
- **GitHub:** thewhiteh4t/pwnedOrNot, 2,684 stars · Python · MIT · last commit 2026-03-28
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

pwnedOrNot queries the Have I Been Pwned v3 API to list the breaches an email address appears in, with breach name, domain, date and verification status, and then looks for the address in available public dumps to see whether a password was exposed.

It accepts a single address or a file of addresses, can filter by domain, list breached domains and check whether a domain has been breached. Security teams use it to assess account exposure for their own users.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

## Features

- HIBP breach lookups for one or many emails
- Breach details including date and verification status
- Public dump search for exposed passwords
- Domain filter and domain breach check
- Docker image and BlackArch package

## Pros

- Clear breach details from a reputable source
- Batch input from a file
- Packaged in several security distributions

## Cons

- Requires a paid Have I Been Pwned API key
- Retrieving other people's passwords from dumps can be unlawful; limit use to accounts you are authorised to assess
- Dump results depend on dumps staying online and often return nothing

## When to use it

- Use it when auditing whether your organisation's email addresses appear in known breaches.
- Use it when you need breach dates and sources for an incident timeline.

## Quick start

Terminal · Python 3:

```
git clone https://github.com/thewhiteh4t/pwnedOrNot.git
cd pwnedOrNot
chmod +x install.sh
./install.sh
python3 pwnedornot.py -e user@example.com -k API_KEY
```

## Alternatives

- [Have I Been Pwned](https://osinttools.io/tools/have-i-been-pwned/): Troy Hunt's free service that lists the known data breaches an email address appears in. (Freemium · Email, Domain · passive)
- [Darkdump](https://osinttools.io/tools/darkdump/): Searches Tor search engines for a query and can scrape results for emails, metadata, documents and images. (Open source · Name, Email, Domain · active · 1,827 GitHub stars)
- [Hudson Rock Infostealer Intelligence](https://osinttools.io/tools/hudson-rock/): Free Hudson Rock lookups showing whether an email, username or domain appears in infostealer malware logs. (Free · Email, Username, Domain · passive)
- [LeakCheck](https://osinttools.io/tools/leakcheck/): Breach-data search engine for emails, usernames, phones and more, with a free public lookup and paid full results. (Freemium · Email, Username, Phone number, Domain · passive)
- [WhatBreach](https://osinttools.io/tools/whatbreach/): Python tool that finds breaches and pastes an email address appears in and links to related sources. (Open source · Email · passive · 1,707 GitHub stars)
- [Snusbase](https://osinttools.io/tools/snusbase/): Paid breach-data search engine for leaked records by email, username, name, IP, password or hash. (Paid · Email, Username, Name, IP address, Domain · passive)

All alternatives to pwnedOrNot in one table: https://osinttools.io/tools/pwnedornot/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
