CLI
Audit one password with a hidden prompt or stdin. Get a readable report, strict JSON, or just an exit code.
imps
imps - < password.txt
imps --json -
A privacy-first password audit for the terminal, CI, and Python. Scores locally, checks HIBP without sending the password, and scans .env files without exposing values.
imps scan finds password-like values in tracked .env files. It reports path, line, key, score, and breach status. The value never enters stdout, stderr, JSON, logs, or annotations.
Tracked .env, .env.*, *.env, and *.env.*. Explicit paths always work.
Values are read, scored, and discarded. Output carries no plaintext.
zxcvbn patterns and HIBP k-anonymity. Tokens and keys are labeled, not scored.
Exit 6 on a private key. Exit 4 on engine error. Exit 5 when HIBP is unknown.
zxcvbn scores the password. IsMyPwdSafe explains why: patterns, feedback, crack time, and breach status in a report that fits on one screen.
No structural patterns found. Not present in HIBP.
Versioned, machine-readable output when you need automation.
Safe for shared terminals, screen recordings, and demos.
Fail the job on meaning, not on prose parsing.
The GitHub Action has audit and scan modes. It fails on weak, pwned, unknown, or engine-error results, and uploads a values-free JSON artifact even when the job fails.
- name: Scan repository .env files
uses: Roma476/IsMyPwdSafe@v2
with:
mode: scan
engine: auto
min-score: 70
offline: false
annotation-limit: 20
scan-json-artifact: ismypwdsafe-scan
A missing breach check is never treated as a clean result.
HIBP uses k-anonymity. IsMyPwdSafe hashes the password locally, sends only the first five SHA-1 characters, and matches the returned suffixes on your machine.
5-character SHA-1 prefix and the HTTP metadata any request carries.
Plaintext, full SHA-1, password length, character composition, account, or identifier.
No telemetry. No analytics. No accounts. No scan history. A clean HIBP result is not proof that a password is safe.
Start in the terminal, add it to CI, or call it from Python. Same scoring, same breach logic, same values-free contract.
Audit one password with a hidden prompt or stdin. Get a readable report, strict JSON, or just an exit code.
imps
imps - < password.txt
imps --json -
Audit a secret or scan the repository. Emit file:line annotations and a values-free JSON artifact.
mode: audit
mode: scan
uses: Roma476/IsMyPwdSafe@v2
Call the audit from your own tooling. Stable exports, typed result objects, and the same JSON schema.
from ismypwdsafe import analyze_password
result = analyze_password(pwd)
One command. No account. No telemetry. No values in your logs.
$ pipx install ismypwdsafe
$ imps # hidden prompt
$ imps scan # tracked .env files
$ imps scan --offline # no network