🔐 A comprehensive Streamlit web app to evaluate your cybersecurity habits, provide a risk score, and give personalized recommendations — including password crack time estimation!
This app helps users understand their cybersecurity risk based on their online habits such as password reuse, two-factor authentication (2FA) usage, software update frequency, and browsing behavior. It calculates a risk score out of 100, offers actionable security recommendations, and estimates how long it would take to crack a password you enter.
Built with modular Python code and Streamlit for an interactive, user-friendly interface.
- Risk Assessment: Analyze your security posture with a detailed questionnaire.
- Personalized Recommendations: Get specific advice based on your responses.
- Password Strength Checker: Enter any password and see an estimate of how long it would take to crack.
- Modern Streamlit UI: Clean, responsive design with sidebar information and error handling.
- Modular Architecture: Easy to maintain and extend with clear separation of UI, logic, and utils.
-
Clone the repository:
git clone https://github.com/yourusername/cybersecurity-risk-analyzer.git cd cybersecurity-risk-analyzer -
Create and activate a Python virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
- Answer the cybersecurity habits questionnaire.
- Submit to get your risk score and tailored security recommendations.
- Navigate to the Password Strength Checker section to test any password.
- Improve your security based on insights provided.
cybersecurity-risk-analyzer/ │ ├── app.py # Main Streamlit app ├── components/ # UI components (inputs, results) ├── core/ # Core logic (calculations, recommendations) ├── utils/ # Utility modules (logging, pdf export, password analysis) ├── config/ # App configuration and constants ├── requirements.txt # Python dependencies ├── README.md └── .gitignore