Misconfigured reverse proxies often expose environment files, Git metadata, or backup descriptors. Because Single-Page Applications return HTTP 200 with index.html for unknown routes, naive scanners trigger constant false alarms.
Instead of flagging every HTTP 200 response, the exposure module checks content signatures and rejects HTML shells:
| Path probed | Rule ID | Verification method |
|---|---|---|
/.git/HEAD, /.git/config | EXP-GIT-EXPOSED, EXP-GIT-CONFIG | Matches Git ref prefixes (ref: refs/) or [core] INI sections. |
/.env and variants | EXP-ENV-* | Requires key=value dotenv assignments and rejects HTML/SPA shells. |
/docker-compose.yml, /.DS_Store | EXP-DOCKER-COMPOSE, EXP-DS-STORE | Matches YAML service keys or binary Bud1 file signatures. |
/package.json, /composer.json | EXP-PACKAGE-JSON, EXP-COMPOSER-JSON | Validates JSON manifest keys instead of trusting content type alone. |
/phpinfo.php, /server-status | EXP-PHPINFO, EXP-SERVER-STATUS | Looks for PHP configuration tables and Apache scoreboard output. |
/swagger-ui, OpenAPI, listings | EXP-SWAGGER-UI, EXP-OPENAPI-PUBLIC, EXP-DIR-LISTING-* | Checks directory index headings and public API documentation routes. |
/.well-known/security.txt, /robots.txt | EXP-SECURITY-TXT-OK, EXP-NO-SECURITY-TXT, EXP-ROBOTS-SENSITIVE-HINTS | Audits security contact files and flags sensitive admin path hints inside robots.txt. |
web-vuln-scanner https://example.com --fix-config nginx
# Nginx rule printed when exposed dotfiles are detected
location ~ /\. { deny all; return 404; }
Pass --skip-paths on the CLI to omit /.git, /.env, and backup path probes and run headers, TLS, and HTML checks faster.
Yes. Define custom path_signature rules with ignore_html: true in a JSON file and pass --rules rules.example.json.
Generate deny rules for dotfiles alongside header hardening.
Write custom path_signature rules in JSON without rebuilding.
Catch credentials that leak directly inside HTML or JS payloads.