Fuzzing
Krate now has a first Phase 2 fuzz harness set in:
fuzz/
Current targets:
manifest_parseforManifest::parselogical_path_parsefor shared path normalization and operation intent checkspolicy_matchfor capability parse and session-policy matching behavior
Install
cargo install cargo-fuzz --locked
rustup toolchain install nightly --profile minimal
Run a short smoke
From repo root:
scripts/run-phase2-fuzz-smoke.sh
This runs each target for a short window to catch immediate crashes.
Run longer sessions
cargo fuzz run manifest_parse -- -max_total_time=300
cargo fuzz run logical_path_parse -- -max_total_time=300
cargo fuzz run policy_match -- -max_total_time=300
For full Phase 2 exit work, we still need nightly multi-hour runs and trend tracking. This page covers the first harness setup only.