How It Works
Evolutionary Exploiter is built around a single idea: find the unexpected, not the OWASP payload classes. You point it at a repository, it decides what to fuzz and how hard, and you get back a short list of high-confidence faults. Each one is tied to a line of code and a reproduction recipe. The flow is what you configure, what it does, what you get.
flowchart TD
Enable["You set RUN_MODE=fuzzing<br/>(+ optional FUZZER_* limits)"] --> Pick["Exploiter picks input-handling<br/>functions to fuzz"]
Pick --> Harness["Wraps each one in a<br/>small test program"]
Harness --> Fuzz["Fuzzes it with evolving,<br/>structure-aware inputs"]
Fuzz --> Triage["Keeps only faults that are a<br/>real, reachable security risk"]
Triage --> Fix{"FUZZER_FIX ≠ 0?"}
Fix -->|yes| Patch["Patches, rebuilds,<br/>and re-validates the fix"]
Fix -->|no| Report
Patch --> Report["Reports each finding in the PR:<br/>file:line + severity +<br/>reproduction recipe"]
What you configure
You set RUN_MODE=fuzzing and, optionally, a few FUZZER_* limits (budget, timeouts, how many targets). That is the whole interface. There is no CLI flag or config file. See the configuration reference.
What it does
Exploiter decides what to fuzz. It finds the reachable, input-handling functions in your code and favors the risky ones: native bindings, raw pointer work, and anything that leaves a language's safe subset, where memory-safety bugs are most likely. It then wraps each function in a small test program (a harness) that feeds it one input and reports back whether the function broke, and it verifies that the harness is sound before trusting it. Where the language supports it, the harness is built with memory-safety sanitizers so corruption surfaces as a clean crash.
With the harnesses ready, Exploiter fuzzes each one. It evolves a stream of malformed but structurally valid inputs and judges a fault purely from how the process behaves: a crash, a hang past the timeout, memory past the ceiling, or a sanitizer error. It never relies on the code reporting on itself, which is what makes it language-agnostic. Resource findings (a memory or CPU spike) are re-checked in isolation, so a reported spike is attributable to one specific input and not to the warmed-up process.
Triage
Most faults a fuzzer turns up are benign, so Exploiter is deliberately aggressive about dropping them. The bar is a real security risk, not a code smell. A fault is kept only when all three hold:
- Reachable from an external, untrusted entry point: an HTTP route, CLI, file reader, queue consumer, or public library API.
- Concrete security impact: memory corruption, a real denial of service, and the like, judged by the nature of the crash rather than a severity label.
- Escapes the function: a fault that a named recovery path contains is dropped, and one that ends or escapes the process is kept. Library code can't assume containment, since it doesn't control its callers.
Faults the harness manufactured itself, such as a buffer passed without its length or a mock that breaks a guarantee the real dependency provides, are dropped and the harness is rebuilt, not reported. Wrong-exception-type mismatches and plain input rejection are treated as noise. This is why a run returns few, high-confidence findings and not a pile of crashes.
What you get
The fix loop
Unless you turn the fix loop off (FUZZER_FIX=0), Exploiter patches each kept finding, rebuilds, replays the exact crashing input to confirm the patch holds, and runs a short follow-up fuzz for sibling faults. It repeats this for up to five fix passes before committing the fix to the PR.
Findings
Findings appear in the PR summary and the run log of your CI job. Each has a code location (file:line plus the function), a severity with its rationale, and a byte-exact reproduction command. See Findings and FAQ.
Under the hoodFor readers who want the internals: the engine is a standalone, coverage-guided, evolutionary mutation fuzzer written in Crystal. It is a separate, licensed binary, not part of Bright Agent (STAR) itself. It steers the search with edge-coverage signal from the harness (AFL-style hit-count bucketing), which is why Exploiter requires fuzzer ≥ 0.24.0: older builds can't read the coverage tokens the harnesses emit and would fuzz blind. It is structure-aware through a parser library (MultiParse) that understands many formats (JSON, XML, form, query, multipart, GraphQL, protobuf/gRPC, and ~17 magic-byte-recognized binary families like PNG/GIF/ZIP/HEIF). It mutates individual fields while keeping each input structurally valid, so inputs land past the parse and validation gates. It drives each harness over a small framed IPC protocol and streams one JSON finding per line (NDJSON). Resource findings are confirmed by bisect-replay in fresh processes. This is function/binary fuzzing of parsers, decoders, and transformers, not web-app payload fuzzing.
Updated about 7 hours ago