You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(ci): fuzz campaign reads clean when a known artifact recurs (name-only artifact diff) #3232
Landed as a follow-up of #3228 (b31ec303, closes #3227). Round-2 review of that PR
recorded this as O1 (MEDIUM), reproduced on the merged tree with a stub cargo:
# fuzz/artifacts/vt_parser/ already holds leak-deadbeef from an earlier run
driver -> {"target":"vt_parser","crashes":0,"exit_code":0,"result":"clean"}
Defect
scripts/fuzz-campaign.sh classifies artefacts by name diff only. libFuzzer names
memory-safety artefacts deterministically (leak-<sha1>, timeout-<sha1>, crash-<sha1> are all input-derived), so a target that rediscovers an fuzz/artifacts/
entry left by an earlier run (a previous campaign, a local just fuzz, a shared cache)
produces no new name and the campaign records clean with rc 0.
P0-AC-002 is "zero crashes, hangs, or memory-safety findings", so an artefact that is
re-discovered rather than newly created still invalidates the evidence. CI is unaffected
today because each job starts from a fresh checkout, which is exactly why the hole would
survive until a stateful runner or a local evidence run hits it.
Acceptance
The campaign refuses to call a run clean when any artefact exists for the target
after the run, regardless of whether its name is new — diff on (name, mtime) or
clean the target's artifacts/ dir into the run's own workspace before fuzzing.
Activity