A lightweight, high-performance secret scanner built for both SAST (Static Application Security Testing) and DAST (Dynamic Application Security Testing).
-
400+ advanced detection rules to uncover secrets, tokens, keys, and misconfigurations.
-
Supports scanning across 260+ file extensions.
-
Tailored wordlists for real-world tech stacks, including:
CloudProvider-ServiceDocker-Compose-KubernetesKeys-SSH-CertificateNode.js-Express.jsOtherConfig-CI-DevOpsPython-Django-FlaskReact-Next.js-Vite-Frontendcommon,.env,php-laravel-symfony-drupal,wordpress, and more.
-
Output formats: CSV, Excel, PDF, HTML.
-
Custom output paths supported for easy integration into pipelines and workflows.
Reports are saved in the current working directory by default.
git clone https://github.com/m14r41/scan4secrets.git
cd scan4secrets
pip install -r requirements.txtpython3 main.py --path /path/to/codepython main.py --path /path/to/code --formats excel pdf csv html --output scan_reportpython main.py --path /var/www/html --formats html --output web_secretspython3 main.py --url m14r41.inFeel free to contribute. Thank you!





