mukul975/anthropic-cybersecurity-skills/testing-for-host-header-injection
Claude Code and agent skill by mukul975/anthropic-cybersecurity-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Test web applications for HTTP Host header injection vulnerabilities
Install
npx vskill@latest install mukul975/anthropic-cybersecurity-skills/testing-for-host-header-injectionSKILL.md
The same SKILL.md was published earlier as mukul975/anthropic-cybersecurity-skills/testing-for-host-header-injection.
Testing for Host Header Injection
When to Use
- When testing password reset functionality for token theft via host manipulation
- During assessment of web caching behavior influenced by Host header values
- When testing virtual host routing and server-side request processing
- During penetration testing of applications behind reverse proxies or load balancers
- When evaluating SSRF potential through Host header manipulation
Prerequisites
- Burp Suite for intercepting and modifying Host headers
- Understanding of HTTP Host header role in virtual hosting and routing
- Knowledge of alternative host headers (X-Forwarded-Host, X-Host, X-Original-URL)
- Access to an attacker-controlled domain for receiving poisoned requests
- Burp Collaborator or interact.sh for out-of-band detection
- Multiple test accounts for password reset testing
Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.
Workflow
Step 1 — Test Basic Host Header Injection
Step 2 — Test Password Reset Poisoning
Step 3 — Test Web Cache Poisoning via Host Header
Step 4 — Test SSRF via Host Header
Step 5 — Test Virtual Host Enumeration
Step 6 — Test Connection-State Attacks
Key Concepts
| Concept | Description | |
|---|---|---|
| Host Header | HTTP header specifying the target virtual host for the request | |
| Password Reset Poisoning | Injecting Host to make reset emails contain attacker-controlled URLs | |
| Cache Poisoning via Host | Poisoning CDN cache with responses containing attacker-controlled host | |
| Virtual Host Routing | Web server using Host header to route requests to different applications | |
| X-Forwarded-Host | Alternative header used by proxies that may override Host header | |
| Connection State Attack | Exploiting persistent connections to send requests with different Host values | |
| Server-Side Host Resolution | Backend code using Host header for URL generation and redirects |
Tools & Systems
| Tool | Purpose | |
|---|---|---|
| Burp Suite | HTTP proxy for Host header manipulation and analysis | |
| Burp Collaborator | Out-of-band detection for Host header SSRF | |
| ffuf | Virtual host brute-forcing with custom Host headers | |
| gobuster vhost | Virtual host enumeration mode | |
| Nuclei | Template-based scanning for Host header injection | |
| param-miner | Burp extension for discovering unkeyed Host-related headers |
Common Scenarios
- Password Reset Token Theft — Poison Host header during password reset to make victim click a link pointing to attacker server, leaking reset token
- Web Cache Poisoning — Inject Host header to cache responses with attacker-controlled JavaScript URLs, achieving stored XSS for all users
- Internal Panel Access — Enumerate and access internal admin panels through virtual host manipulation
- SSRF to Cloud Metadata — Use Host header to redirect server-side requests to cloud metadata endpoints
- Routing Bypass — Bypass access controls by manipulating Host to route requests to unprotected backend instances
Output Format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testing-for-host-header-injection/SKILL.md
Popularity
- Repository stars
- 33,533
- Repository forks
- 4,067
- 7-day trend score
- 52
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
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/mukul975/anthropic-cybersecurity-skills/testing-for-host-header-injection)