pwn3d.es

TECHNICAL SHEET · Blue Team

DOCUMENTATION ONLY

checkPassword

Is your password in a breach?

Python 3HIBP API
Language
Python
Platform
Linux / macOS / Windows
Type
Verification CLI
Web demo
No
DOCUMENTATION ONLY

Scope on pwn3d.es

This tool has no web interface: it ships as Verification CLI. This page documents its design, flow and usage; there is no runnable demo or hosted binary.

There is no web version: it would invite people to type real passwords into a third-party page. It depends on HIBP availability and measures breach presence, not strength.

What it is and what it is for

checkPassword is a Python command-line tool that checks whether a password appears in known breaches using Have I Been Pwned’s Pwned Passwords API. It warns if the password is compromised and recommends changing it.

Its value lies in how it does this without exposing the password: it uses k-anonymity, sending only the first five characters of the SHA-1 hash and comparing locally against the list of suffixes the service returns. The full password never travels over the network.

When to use it

  • Validating a password before using it

    Check whether a password you plan to use has already appeared in public breaches.

  • Security awareness

    Show in training why reusing leaked passwords is dangerous.

  • Understanding k-anonymity

    See a real case of private lookup: checking a secret without sending it in full.

How it works

  1. Local hash

    It computes the SHA-1 of the password on your machine.

  2. Prefix query

    It sends only the first 5 characters of the hash and receives the list of matching suffixes.

  3. Local comparison

    It looks for the rest of the hash in that list and reports whether the password appears in any breach.

What changes on pwn3d.es

  • The pwn3d.es sheet documents the tool; the check is done with the repository CLI, not on the site.

Sheet built from the repository README and public code. Figures and commands are limited to what the project documents.