Every check ยท Exposed files
Subversion and Mercurial
What it checks
/.svn/wc.db, /.hg/requires
Why it matters
Anyone can download the source code it holds.
How to fix it
- Block every path that starts /.svn or /.hg in the web server.
- Deploy without those folders.
Check a site for this and everything else: snag.page. More on exposed files: Exposed files Keys in scripts Git repository Environment files wp-config.php copies Database dumps AWS and npm credentials Private SSH keys Editor upload settings Spring Boot actuator Terraform state Git credentials Kubernetes config phpinfo() pages Debug panels Backup archives Password files PHP error logs Laravel logs ELMAH error logs Database admin pages Apache server-status Go's pprof docker-compose.yml Directory listings .DS_Store files WordPress users