trust

Security, in detail

Last reviewed 1 December 2026

Breachbeam is built so that there is almost nothing to steal. This page lists the controls we actually run, and — just as importantly — the threats a website cannot defend against, whatever it claims.

Design principles

  • Data minimisation. Passwords never reach us, so they cannot leak from us. Only five characters of a hash leave your browser.
  • Compute where the data is. Parsing, hashing, matching, reuse detection and strength scoring all run on your device.
  • No accounts, no database. There is no user table to breach and no password store to misconfigure.
  • Few moving parts. Static files plus two small functions — the contact form and the email check. No framework runtime, no npm dependency shipped to the browser, no third-party script or font.

How the lookup stays private

Your password is hashed with SHA-1 locally. The first five hex characters — about a millionth of the hash space — are sent to the Pwned Passwords range API. The API returns every known suffix that begins with them, typically several hundred, and your browser decides whether one of them is yours. The API never receives your password, your email or an identifier that links one lookup to the next.

The email check, and why it is different

An address cannot be checked with k-anonymity: the breach index is keyed by the address itself, so a prefix trick does not apply. The email check therefore makes an honest trade — the address is sent from your browser to our Pages Function, which forwards it to Have I Been Pwned using a key held only on the server. What comes back is a list of public breach records, the same information the breach notification services publish.

  • Nothing is sent until you press the button; simply loading the page sends nothing.
  • The address is not written to a database, a cache or a log by our code.
  • Our function is rate limited to five lookups per IP address per ten minutes, held in memory and discarded.
  • The API key never reaches the browser; the only key in the page is public information.
  • If you would rather not send an address to a third party, the password scanner works without it.

Technical controls

AreaWhat is in place
Transport HTTPS only, TLS 1.2+ with AEAD ciphers, terminated at Cloudflare. Strict-Transport-Security: max-age=63072000; includeSubDomains; preload.
Content Security Policy default-src 'none', scripts and styles from this origin only, frame-ancestors 'none', base-uri 'none', form-action 'self'. The only outbound connection allowed is the breach-lookup API.
Clickjacking X-Frame-Options: DENY plus CSP frame-ancestors.
Referrer leakage Referrer-Policy: no-referrer on every response.
Cross-origin isolation Cross-Origin-Opener-Policy: same-origin, Cross-Origin-Resource-Policy: same-origin.
Browser features Permissions-Policy disables camera, microphone, geolocation, payment, USB and related APIs.
Storage No cookies set by Breachbeam, no localStorage, sessionStorage or IndexedDB writes.
Hashing Web Crypto SHA-1, computed in the page. SHA-1 is used only as a public lookup key, never for storage.
Third parties No analytics, no advertising, no session recorders, no embedded widgets.

Contact-form hardening

  • Same-origin check on every POST, so another site cannot use the form as a relay.
  • JSON content type required; bodies are size-limited and fields are length-capped.
  • A hidden honeypot field filters basic bots.
  • Best-effort rate limiting: five messages per IP address per ten minutes.
  • The email API key lives only as a Cloudflare secret on the server. It is never sent to the browser and never committed to the repository.
  • Message content is HTML-escaped before it is placed in the notification email.

Rate limiting is held in memory per server instance, so it is a speed bump rather than a wall. If the form is ever abused, the next step is adding Cloudflare Turnstile.

What we store

Nothing about your scan. No database, no blob store, no logs containing passwords, hashes or results. Cloudflare keeps ordinary request metadata under its own retention settings. Contact messages exist only as email in our inbox and are deleted after at most twelve months. An address you run through the email check is passed on and forgotten — there is no row to delete because there is no row.

Verify it yourself

The whole site — every page, the scanner, both server functions and the security headers — is public at github.com/btwfrost/breachbeam under the MIT licence. None of the claims on this page have to be taken on trust: read the code, watch the network tab, or clone it and run it offline against the downloaded Pwned Passwords ranges.

Threats this cannot defend against

Being honest about the edges is part of being secure:

  • A compromised device. A keylogger, malicious browser extension or screen recorder sees what you type and what you reveal. No website can prevent that. Run the check on a device you trust.
  • Network observation. Someone watching your connection can see that you contacted the Pwned Passwords API and which five-character prefixes were requested. They cannot derive your password from a prefix, but they can narrow it to a few hundred candidates. If that matters to you, use the offline copy of the ranges.
  • Compromised infrastructure. A compromised certificate authority or a state-level adversary against your network is outside what any site can promise.
  • Incomplete data. Pwned Passwords is the best public dataset of its kind, but breaches that were never published are not in it. "Not found" means "not known", never "safe".
  • Your own handling. Screenshots, shared screens, clipboard managers and emailed reports can leak results after the scan.

Reporting a vulnerability

Email security@breachbeam.com with the steps to reproduce, the impact you believe it has, and how you would like to be credited. Please do not open a public issue for a live vulnerability, and give us a chance to fix it before publishing — 90 days is a reasonable default, less if a fix ships sooner.

We aim to acknowledge reports within three working days and to give an initial assessment within ten. We do not run a paid bounty programme, but we will credit good-faith reports if you want that.

Safe harbour. We will not pursue legal action for good-faith research that respects this scope: no access to other people's data, no denial of service, no social engineering of our providers, no testing against third-party services we rely on. If in doubt, ask first.

Supply chain

The site ships three hand-written source files, two SVGs and one small Pages Function that uses only the platform's built-in fetch. There is no build step, no bundler and no runtime dependency to keep patched. Changes reach production through reviewed commits to the GitHub repository, which Cloudflare Pages deploys.

Standards and claims

Breachbeam is not certified to ISO 27001 or SOC 2, and this page is not an audit report. It describes the configuration of a small, deliberately minimal service. If you need a data processing agreement for contact-form messages, ask at privacy@breachbeam.com.

Found something wrong here? Tell us — accuracy matters more than looking good.