| name | fuzz |
| description | Set up and run fuzz testing to discover crashes, edge cases, and security vulnerabilities. Use when user says "fuzz test", "fuzz this function", "find edge cases", or wants to stress-test input handling with randomized data. |
| user-invocable | true |
| allowed-tools | Read, Edit, Write, Grep, Glob, Bash |
| context | fork |
| agent | fuzzer |
| argument-hint | [target-function-or-file] [--iterations N] [--strategy mutation|generation] |
Set up and run fuzz testing for the specified target.
Context
Project language:
!ls *.go go.mod 2>/dev/null && echo "Go" || ls Cargo.toml 2>/dev/null && echo "Rust" || ls package.json 2>/dev/null && echo "JavaScript/TypeScript" || ls *.py pyproject.toml 2>/dev/null && echo "Python" || echo "Unknown"
Target: $ARGUMENTS
Instructions
- Identify the target function/module and its input types
- Select appropriate fuzzing framework for the language
- Create fuzz harness with seed corpus
- Configure fuzzing parameters (iterations, timeout)
- Run fuzz campaign
- Triage and report findings with minimized reproductions