Password Strength Auditor
Create a CLI tool that scores password strength based on length, character variety, and presence in a list of common leaked passwords. Learners practice string manipulation, regular expressions, file I/O, and writing a simple scoring algorithm.
- Estimate
- ~7h
- Steps
- 5
- Completed by
- 0
- Proposed by
- codeseed.app
re · argparse
Project roadmap
- 01
Load a common-passwords wordlist
~1hDownload or bundle a small text file of common passwords and write code to load it into a set for fast lookup.
- 02
Implement scoring rules with regex
~2hUse regular expressions to check for uppercase, lowercase, digits, and symbols, assigning points for each category present.
- 03
Combine checks into a strength score
~1.5hMerge length, character variety, and blacklist checks into a single 0-100 score with a text rating (weak/medium/strong).
- 04
Build the CLI interface
~1hWire the scorer to argparse so users can pass a password as an argument or be prompted securely with getpass.
- 05
Add batch mode and tests
~1.5hSupport reading multiple passwords from a file and write unit tests covering edge cases like empty or very long passwords.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack