fuzz: add 7 fuzz targets for dynamic pipelines#92
Merged
Conversation
Cover the untrusted input surfaces introduced by dynamic pipelines:
- fuzz_pipeline_sources_yaml: pipeline YAML with sources section
- fuzz_extract_jq: arbitrary jq expressions against arbitrary JSON
- fuzz_extract_jsonpath: arbitrary JSONPath expressions against JSON
- fuzz_extract_cel: arbitrary CEL expressions against JSON
- fuzz_template_expand: ${source.*} template strings with resolved data
- fuzz_include_parse: YAML/JSON claiming to be transformation lists
- fuzz_http_response: response bodies parsed as JSON/YAML/lines/CSV
Each target has handcrafted seed corpus files covering valid inputs,
edge cases, and adversarial patterns. All targets added to the weekly
CI fuzz workflow matrix.
60-second smoke run across all 7 targets: zero crashes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cargo-fuzztargets covering the untrusted input surfaces introduced by dynamic pipelines: pipeline YAML sources parsing, jq/JSONPath/CEL extract expressions,${source.*}template expansion, include transformation parsing, and HTTP response body parsing (JSON/YAML/lines/CSV).max_lenvalues.Targets
max_lenfuzz_pipeline_sources_yamlsourcessectionfuzz_extract_jqfuzz_extract_jsonpathfuzz_extract_celfuzz_template_expand${source.*}templates + resolved JSONfuzz_include_parsefuzz_http_responseTest plan
cargo +nightly checkinfuzz/passes