● sample-audit: staging-shop.example · 2,588 URLs inspected · 3 exposures
[CRITICAL] Stripe Live Secret Key + DB URI https://staging-shop.example/.env.backup
Provider check: Confirmed LIVE credential · Immediate rotation required
[CRITICAL] Exposed Database Dump Archive https://staging-shop.example/backups/shop_2026.sql.gz
HTTP 200 · application/gzip (18.4 MB reachable without authentication)
[HIGH] Vulnerable WordPress Plugin https://staging-shop.example/wp-content/plugins/wpcf7-redirect/
Installed: 3.1.10 · Advisory: Unauthenticated PHP Object Injection (update >= 3.2.5)# 1. Revoke exposed credentials BEFORE deleting files (assume already scraped):
# - Stripe Dashboard -> Developers -> API keys -> Roll live secret key
# - Rotate MariaDB/Postgres user password & invalidate active user sessions
# 2. Remove stray artefacts from webroot:
rm -f /var/www/html/.env.backup /var/www/html/backups/shop_2026.sql.gz
# 3. Block sensitive dotfiles, backups & SQL dumps at the edge (Nginx):
location ~* "(^|/)\.(?!well-known/)|(\.(bak|old|orig|save|sql|env|ini)(\.gz)?$)" {
deny all;
return 404;
}[x] Purge CDN / Cloudflare edge cache for /.env.backup and /backups/*
(Cached 200 responses can keep serving leaked secrets after origin deletion!)
[x] Update wpcf7-redirect plugin to latest patched release in wp-admin -> Updates
[x] Click "Verify My Fixes (1 Free Re-scan)" in SelfScan Dashboard -> Confirm 0/2,588 hits