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%
Build a fuzzing test harness that validates inputs against multiple magic numbers and secret strings. The system should efficiently discover the correct values using data flow tracing.
Your task is to implement a fuzzer that tests a validation function with complex comparison logic:
Create a validation function validate_input(data: bytes) -> str that:
0x41424344Implement a fuzzing harness using the target package that:
validate_input return "SUCCESS" @test0x41424344 followed by "SECRET_KEY\x00" @test@generates
def validate_input(data: bytes) -> str:
"""
Validates input data against magic number and secret key.
Args:
data: Input bytes containing magic number and secret string
Returns:
"SUCCESS" if validation passes, otherwise an error message
"""
pass
def fuzz_target(data: bytes) -> None:
"""
Fuzzing entry point that tests the validation function.
Args:
data: Raw fuzzing input bytes
"""
passProvides coverage-guided fuzzing with data flow tracing capabilities to help discover magic numbers and strings through comparison tracking.
@satisfied-by