Exposed files and folders
Copies this page as Markdown with context, so an AI can walk you through your case step by step.
A .env or a database dump uploaded to the public folder by mistake is one of the most common leaks, and one of the worst. We look for them for you.
When it runs
Only on verified domains: it’s an active search on your site, so you have to prove it’s yours. The public audit doesn’t do it.
How we avoid false alarms
- Before starting we request a made-up address. If your site answers any path with the same page (very common in web apps), that doesn’t count as exposed.
- A path existing isn’t enough: we check the content really is that file. For a
.envthere must beNAME=valuelines, and for a database dump,CREATE TABLEorINSERT INTOstatements. - We never store what we find: the evidence shows only names (of variables, for example) and hides the values.
What we look for
| File | Why it’s serious | Severity |
|---|---|---|
.env, .env.local, .env.production |
Database passwords, API and payment keys | Critical |
.git/ |
All the source code, with its history | Critical |
backup.sql, dump.sql, db.sql |
The whole database | Critical |
wp-config.php.bak |
The WordPress database password | Critical |
.aws/credentials |
Access to your AWS account | Critical |
.ssh/id_rsa, id_rsa |
A private key to log into servers | Critical |
.vscode/sftp.json, sftp-config.json |
FTP or SFTP user and password saved by the editor | Critical |
actuator/env (Spring Boot) |
The full configuration, with secrets | Critical |
backup.zip, backup.tar.gz |
A copy of the site, often with its configuration | High |
config.php.bak, .htpasswd |
Server configuration or passwords | High |
.svn/ |
The source code | High |
storage/logs/laravel.log |
Errors with paths, queries and sometimes user data | High |
docker-compose.yml |
How your infrastructure is built | Medium |
server-status, phpinfo.php, info.php |
Internal server details | Medium |
phpmyadmin/, adminer.php |
A panel to log into the database | Medium |
wp-content/debug.log |
WordPress errors with internal paths | Medium |
.DS_Store |
A folder’s file list | Low |
Folders with their file list visible
We check common folders (/uploads/, /backup/, /files/, /wp-content/uploads/, /images/, /assets/, /static/). If the server shows an “Index of /…” page with every file, anyone can see and download what’s there, even if it isn’t linked on the site. Medium severity.
If your site is WordPress
- User list (
/wp-json/wp/v2/users): if it reveals usernames, a bot only has to guess the password. Low severity. - XML-RPC (
/xmlrpc.php): it lets an attacker try hundreds of passwords in one request, and almost no site needs it. Low severity.
What to do if something shows up
- Remove the file from the site’s public folder, or delete it.
- Block web access to dot-files and to
.sql,.bak,.zipand.envfiles. The audit gives you the exact rule for your server (Nginx, Apache or Cloudflare). - If it was critical, rotate every password and key it contained: assume someone already copied them.
- Click Audit again to confirm it’s gone.
security.txt
We also check whether you publish /.well-known/security.txt, a file that tells security researchers how to report a flaw to you. It’s optional and costs no points.