ConfAnalyzer is a lightweight and practical configuration analysis tool designed to identify likely security misconfigurations and exposed secrets in system and application config files.
It is built with a focus on:
- real-world usability
- low noise
- fast scanning
- simple CLI experience
- Detects hardcoded:
- passwords
- API keys
- secrets
- Supports common config formats:
.conf,.ini,.env,.yaml,.yml,.cfg,.cnf
- Recursive scanning
- JSON and HTML output
- Multi-threaded scanning
- Severity-based risk score
- Security hints for findings
- Cleaner default filtering for docs, tests, snapshots, runtime noise, and package noise
git clone https://github.com/aliwszx/confanalyzer.git
cd confanalyzer
chmod +x install.sh
./install.shBasic scan:
confanalyzer /etcRecursive scan:
confanalyzer /etc --deepBroader scan:
confanalyzer / --deep --all-pathsJSON output:
confanalyzer /etc --jsonHTML report:
confanalyzer /etc --html- Findings should always be reviewed manually.
- Some detections may reflect default/demo credentials rather than active secrets.
- Sample files are included to help validate detection behavior locally.
aliwszx
GitHub: https://github.com/aliwszx
MIT License

