Secrets & Exposure
critical Severity
Free Check
Sensitive Files (.env, .git, .env.local)
Probes for accidentally published configuration files (/.env, /.git/config, /docker-compose.yml, /settings.py).
Why It Matters
Exposing .env or .git repositories lets attackers clone the entire proprietary codebase, database credentials, and production secrets.
How We Check This
We probe common configuration paths and analyze the HTTP status and content signature for environment variables.
How to Fix & Implement
Copy-paste configuration blocks tailored for your web server or edge proxy.
nginx snippet
location ~* /.(env|git|svn|docker|yml) { deny all; return 404; }Frequently Asked Questions
Can someone download an entire git repository if .git is public?
Yes, tools like git-dumper can reconstruct the full source code history from an exposed .git directory.