"ExposureScanner/1.0 (internal-security-audit)": A .env File Hunter
Published
A user agent that calls itself an internal security audit but is sent to servers it does not own. On our server it ran through a wordlist of over two hundred paths, .env files first, the files that hold an application's passwords and API keys.
What it looks like
ExposureScanner/1.0 (internal-security-audit)
The User-Agent header as an access log records it — in nginx's and Apache's combined format, the last quoted field.
On our own server, the 30 days to 23 November 2026
454
requests · about 15 a day
9
source addresses
| Most requested paths | Requests |
|---|---|
| / | 2 |
| /.env.backup | 2 |
| /.env.save | 2 |
| /.env.old | 2 |
| /.env | 2 |
| /.env.production | 2 |
| /.env.development | 2 |
| /.env.staging | 2 |
LogTriage's production API server (Hetzner, Germany): port 22 open to the internet, key-only since 6 October 2026 (password and keyboard-interactive authentication off); nginx in front of the API on ports 80 and 443. Requests nobody asked for (API traffic and our own monitoring left out); paths as requested, query strings dropped and identifiers redacted; counted weekly from the nginx access log. Linked paths are scanner probes explained on their own pages. More in the monthly attack report, and you can check the addresses in your own log against free blocklists.
What it is
ExposureScanner/1.0 (internal-security-audit) is a user agent no operator documents. The header carries no company name, URL or contact, and its “internal-security-audit” label does not fit where it was sent: our server, which it has no business auditing. What it did there shows its purpose.
In the last 30 days it sent a few hundred requests from fewer than ten addresses (counts above). Its most requested paths were .env files, the root /.env and the backup, staging and per-environment variants an editor or a deployment leaves behind: .env.backup, .env.save, .env.old, .env.production, .env.development, .env.staging. Each was requested twice and no path more often, so the requests covered more than two hundred different paths, a wordlist run twice over. Its last request came in early November.
Who sends it
Unknown. The pattern, hundreds of different secret-file paths from a handful of addresses, is the pattern of a credential-harvesting script, the same family as WebSiphon, only with a more reassuring label. There is no published address range or opt-out to check it against.
Is it a threat?
Only if one of its requests succeeds. A .env file holds an application’s database passwords, cloud keys and API tokens (MITRE ATT&CK T1552.001, credentials in files), and a script that runs this wordlist is collecting them. On a server that does not serve dot-files every request ends in a 404 or 403 and nothing is lost. If any of them got a 200, the secrets in that file are compromised whatever the header said.
How to handle it
- Check its requests’ statuses; anything but 404 or 403 on a secret file needs the rotation above.
- Deny dot-files and application directories in the web server, so the next scanner with a different header gets nothing either.
- Block the user agent if you like; it is cheap but narrow.
Find its requests and what they got:
grep -F 'ExposureScanner/' /var/log/nginx/access.log | awk '{print $9, $7}' | sort | uniq -c | sort -rn | head -30
Deny hidden files to everyone (keep .well-known reachable), and refuse this client outright:
location ~ /\.(?!well-known/) {
deny all;
}
if ($http_user_agent ~* "^ExposureScanner/") {
return 403;
}
The other secret files these wordlists include, from Git configuration to AWS credentials, have their own pages in the web probe reference.
Probes it sends
- GET /.env Requests in Your Logs: Scanners Hunting for App Secrets An automated scan for application .env files, which hold database passwords, API keys and other secrets in plain text whenever the web server hands one back.
- GET /.git/config Requests in Your Logs: Scanners Hunting Exposed Repos An automated check for a .git directory left inside the web root, which hands a scanner the repository's configuration, its history and ultimately the application's source code and committed secrets.
- GET /.aws/credentials Requests in Your Logs: Scanners Hunting AWS Keys An automated scan for the AWS shared credentials and config files, which hold long-lived access keys and profile settings in plain text whenever a web server hands one back.
Other user agents in the same logs
- "WebSiphon/next-0.1" in Your Access Log: A Secret-File Hunter A user agent with no public documentation behind it which, on our server, went through hundreds of different paths, the most requested of them .env files and a coding assistant's configuration file, the kind of files that hold credentials.
- Go-http-client/1.1 in Your Access Log: Go's Default HTTP User Agent The header a program written in Go sends when it uses the standard library's HTTP client and never sets a User-Agent of its own, so it names a library rather than an operator — on our server it arrived with both ordinary requests and probes for secrets, DNS-over-HTTPS endpoints and admin APIs.
Detect it
Frequently Asked Questions
- Is ExposureScanner a legitimate security audit?
- Not of your server. An internal audit runs against systems its operator owns, and this one came to ours from outside with no operator name, URL or contact in the header. No company or project documents the user agent, so the label in brackets is only a label; what identifies it is what it asks for.
- What did ExposureScanner look for?
- On our server its most requested paths were .env files in every common variant, .env itself and .env.backup, .env.save, .env.old, .env.production, .env.development and .env.staging. Each of them was requested twice, and no path more often, so its few hundred requests covered more than two hundred different paths.
- One of its requests got a 200. What now?
- Treat every secret in the file it fetched as stolen. Rotate the database passwords, API keys and cloud credentials it held, look in your providers' logs for use of the old keys, and move the file out of the web root so the server cannot serve it again. A 404 or 403 means the probe found nothing.
- Should I block it by user agent?
- You can, and it costs nothing, but the rule only stops this header. The same wordlist is run under other names and browser strings, so the protection that lasts is a server that never serves dot-files or files from the application directory, whoever asks.
See which scanners are hitting your server
Drop an nginx or Apache access log into the free browser analyzer: scanners and probes are grouped by source with the evidence lines, any probe that got a 200 back is flagged, and known user agents and probes link back here. Nothing is uploaded.
Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing
How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The counts come from the logs of our own internet-facing server, refreshed weekly. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]