tessl install tessl/pypi-atheris@2.3.0A coverage-guided fuzzer for Python and Python extensions based on libFuzzer
Agent Success
Agent success rate when using this tile
91%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.28x
Baseline
Agent success rate without this tile
71%
A fuzzing test harness for an HTTP request parser that validates parsing of HTTP request lines and headers.
You need to create a fuzzing harness to test a simple HTTP request parser. The parser should accept raw HTTP request bytes and extract the method, path, and a single header. Your fuzzer should use structured input generation to create various HTTP request formats.
Implement a parse_http_request function that:
method, path, header_name, header_valueValueError for invalid inputExample valid input:
GET /index.html HTTP/1.1
Host: example.comYour fuzzer must:
Generate the following components:
@generates
import atheris
def TestOneInput(data: bytes) -> None:
"""
Fuzzing entry point that tests the HTTP request parser.
Args:
data: Raw fuzzing input bytes
"""
passProvides coverage-guided fuzzing capabilities and structured input generation.