TRAILER-AUTH

Test IDSMUG-TRAILER-AUTH
CategorySmuggling
RFCRFC 9110 §6.5.1
RequirementUnscored
Expected400 or 2xx

What it sends

A chunked request that places Authorization in the trailer section.

POST / HTTP/1.1\r\n
Host: localhost:8080\r\n
Transfer-Encoding: chunked\r\n
\r\n
5\r\n
hello\r\n
0\r\n
Authorization: Bearer evil\r\n
\r\n

Why this test is unscored

Authorization in trailers is prohibited for senders, but recipients can either reject or ignore/discard it. Status code alone cannot prove whether downstream components consumed it.

Sources