Host header injection

From zakirkun/ice-tea · View interactive version

Host header injection is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects applications that use the HTTP Host header for URL generation, password reset links, or routing without validation.

How to use this skill

Skill file

Host Header Injection

Overview

Applications that trust the Host header for generating links (password reset emails, canonical URLs) are vulnerable to Host Header Injection. Attackers set a malicious Host: header, causing the app to generate links pointing to the attacker's domain. The victim clicks a password reset link containing an attacker-controlled URL.

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.