entrovyx/hermes-agent-offsec/staging-subdomain-hunt
Claude Code and agent skill by entrovyx/hermes-agent-offsec
- community
Checking that the SKILL.md file is still in the repository.
Hunt staging via crt.sh when production is WAF-hardened.
Install
npx vskill@latest install entrovyx/hermes-agent-offsec/staging-subdomain-huntSKILL.md
The same SKILL.md was published earlier as entrovyx/hermes-agent-offsec/staging-subdomain-hunt.
Staging & Subdomain Hunt Skill
Discover staging, development, and internal subdomains through certificate transparency (crt.sh), DNS brute force, and web probing. Exploit the staging security gap — staging environments consistently have weaker security than production (no WAF, debug enabled, install pages accessible). Proven on 7 US targets where staging subdomains exposed phpinfo, WordPress install pages, and internal APIs not visible on production.
When to Use
- Running
deep-invadePhase 5 on a high-value target. - Production target is well-secured (WAF, no leaks) — pivot to staging.
- Target has a large attack surface (e-commerce, SaaS, franchise model).
- You need additional entry points when the main site is hardened.
- After
subdomain-enumerationproduces a list of subdomains.
Prerequisites
terminaltool with curl, httpx, jq.- Target domain (e.g.,
example.com). - For DNS brute force: wordlist at
/root/tools/subdomains.txt.
How to Run
Quick Reference
| Indicator | What It Means | Action | |
|---|---|---|---|
/wp-admin/install.php returns 200 | Fresh WordPress — no site configured | Install takeover | |
/wp-admin/upgrade.php returns 200 | WP needs DB upgrade | DB info disclosure | |
info.php / phpinfo.php on staging | Debug enabled | PHPInfo analysis (see phpinfo-to-rce) | |
| Staging has no Cloudflare/WAF | Direct origin access | Run full deep-invade on origin IP | |
| CORS on staging but not production | Staging has weaker CORS policy | CORS attack from staging context | |
.env on staging | Dev credentials exposed | Credential theft, pivot to production |
Procedure
Step 1 — Certificate Transparency Enumeration
Step 2 — Live Host Discovery
Step 3 — WordPress Install Page Check (Staging Takeover)
Staging sites frequently have WordPress installed but not configured:
Step 4 — Production vs Staging Security Gap Analysis
Step 5 — Franchise/Multi-Location Subdomain Enumeration
For franchise or multi-location businesses:
Pitfalls
- crt.sh rate limiting. crt.sh may return empty JSON if rate-limited. Use 2-3s delays between queries or query the PostgreSQL dump directly at
crt.sh/?d=. - Wildcard certs hide subdomains. If
*.example.comis the only cert, individual subdomains won't appear in crt.sh. Use subfinder DNS brute force as fallback. - Staging may require VPN. Some staging environments are IP-restricted. Try from the worker IP, then from a residential proxy.
- WordPress install.php on production. Some poorly maintained production sites also have this accessible. It's not always staging-specific. Check for "Welcome to WordPress" title text to confirm it's a fresh install.
- CORS on staging but not production is common. Wave9 discovered CORS on restonic.com and toolking.com that was MISSED in waves 6-8 because it was only tested on certain endpoints. Always test the full CORS matrix (10+ endpoints) on both production AND staging.
Wave9 Production Results — Massive Internal Subdomain Leaks
biglots.com — 20+ internal subdomains leaked via crt.sh
None of these were publicly known before crt.sh enumeration. Certificate transparency is the #1 source for internal infrastructure discovery.
realpro.com — Exchange + VPN + SSH surfaced via crt.sh
Verification
- Every staging subdomain MUST be probed with httpx to confirm it's live.
- WordPress install.php MUST return HTTP 200 with "WordPress" + "installation" in body (not a redirect or SPA).
- Staging weakness MUST be compared against production to confirm a security gap (e.g., production has WAF but staging doesn't).
- Internal subdomain leaks from crt.sh must be verified to be the target's infrastructure (not unrelated domains in the same cert).
- All discovered staging credentials/config MUST be tested for validity (don't assume staging creds work on production, but always test).
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/offsec/recon/staging-subdomain-hunt/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/entrovyx/hermes-agent-offsec/staging-subdomain-hunt)