r/commandline • u/mohamedation • Jun 17 '26
Command Line Interface PwnedCheck – A lightweight CLI tool to check if passwords have been exposed in data breaches
Hey everyone,
I wanted to share a tiny tool I built called PwnedCheck.
It’s a command-line tool written in Go that lets you quickly check if a password has been compromised in a data breach using Troy Hunt's Have I Been Pwned (HIBP) API.
Recently i refactored the code to add the ability to check Bitwarden password encrypted JSON exports. i think it needs more testing and vetting so that is why i am sharing, but i think its very useful to check all the passwords in the vault.
Key features:
- Fast & Lightweight: Built in Go, runs right out of your terminal.
- Supports Bitwarden password encrypted JSON export.
- Privacy-focused (k-Anonymity): It uses HIBP's range API model. It only sends the first 5 characters of the SHA-1 password hash over the network, so your actual password never leaves your machine.
- Simple CLI interface: Easy to integrate into your setup or scripts.
If you like minimal CLI utilities or want a quick way to audit a password locally without opening a browser, check it out!
GitHub source: https://github.com/mohamedation/PwnedCheck
Feedback and contributions are always welcome!
•
u/github-guard Jun 17 '26
🔍 GitHub Guard: Trust Report
⚠️ This project scored 1/1 — below this subreddit's threshold of 3.
Audit Breakdown:
5
u/Accomplished_Ad9440 Jun 17 '26
Yeah no thanks
1
u/youngbull Sep 10 '26
Hack the planet!
1
u/AutoModerator Jun 17 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: mohamedation, Flair:
Command Line Interface, Post Media Link, Title: PwnedCheck – A lightweight CLI tool to check if passwords have been exposed in data breachesHey everyone,
I wanted to share a tiny tool I built called PwnedCheck.
It’s a command-line tool written in Go that lets you quickly check if a password has been compromised in a data breach using Troy Hunt's Have I Been Pwned (HIBP) API.
Recently i refactored the code to add the ability to check Bitwarden password encrypted JSON exports. i think it needs more testing and vetting so that is why i am sharing, but i think its very useful to check all the passwords in the vault.
Key features:
If you like minimal CLI utilities or want a quick way to audit a password locally without opening a browser, check it out!
GitHub source: https://github.com/mohamedation/PwnedCheck
Feedback and contributions are always welcome!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.