Repository navigation
Description
This was generated by AI during triage.
Summary
Add a third organisation-wide publisher, fuzz-sarif-publish.yaml, beside the zizmor and aislop ones. Once a day it finds every in-scope repository that carries a fuzz harness, runs each harness for a bounded time, and publishes what fails to that repository's code scanning under the tool name fuzz.
Part of #372, which records the decisions and the local tests behind them. This issue needs edits under .github/workflows/.
What already exists
repo-discovery.yamland.github/scan-scope.json: the shared repository selection..github/scripts/sarif_fingerprint.py, the category stamp and the two upload guards in the existing publishers. A prototype fuzz SARIF passed all of them unchanged.aislop-sarif-publish.yaml: the closest model for the discover, matrix, upload, wait-for-processing and summary steps, and for the Slack alert on a failed scheduled run.
How it must differ from those publishers
- The token never shares a job with fuzzed code. zizmor and aislop read a repository; a fuzzer executes it and everything it depends on. The existing publish jobs hold their token in the job that checks out and scans. Here, fuzzing runs in a job with no secret, and a separate job publishes.
- Known failures are replayed on every run. Code scanning closes an alert when the latest upload in its category no longer reports it, and a fuzzer does not find the same failure twice on demand. The job keeps each failing input and runs it again first, so an alert closes only when its input passes.
Jobs
| Job | Trust | Holds | Does |
|---|---|---|---|
| Discover | Trusted | The discovery token | Applies the shared scope, then keeps the repositories that carry at least one harness at their default-branch head. Records that commit and the harness paths |
| Fuzz, one per repository | Untrusted | Nothing | Installs, replays saved failures, fuzzes, hands over logs and failing inputs |
| Publish, one per repository | Trusted | FUZZ_SARIF_PAT |
Builds SARIF from what was handed over, fingerprints, stamps, uploads, waits |
| Summarise | Trusted | Nothing beyond the Slack alert's token | Renders the organisation table; alerts on a failed scheduled run |
Rules for the boundary:
- The fuzz job references no secret, uses no environment and holds
contents: readalone. It checks the target out at the recorded commit and persists no credential. - Everything the fuzz job hands over is hostile data. No job that holds a secret executes, imports or sources a file from the target checkout or from what was handed over.
- A fuzz job holds the run's Actions runtime token, so it can upload an artifact under any name. Publish for a repository must take that repository's results by an identifier its own fuzz job reported, such as the artifact ID in that job's outputs, never by name or pattern. Calling a per-repository reusable workflow from the matrix gives each repository its own
needsoutputs; a plain matrix job does not. - When a repository's results are missing, incomplete or fail validation, nothing is uploaded for it and its publish job fails. Absence is never read as clean.
- A harness finding a failure is data, not a job failure. The fuzz job fails only when it could not do its work.
- Discovery decides from the files at the recorded commit, not from a search index, and executes nothing from the repositories it reads.
Harness contract, version 1 (Python)
-
Discovery. A harness is a tracked
.pyfile with a line containingimport atheris. OpenSSF Scorecard and the central job both find harnesses by that text, so it appears in harness files and in no other.pyfile, comments and strings included. -
Invocation. The central job runs a harness from the repository root, on Linux x86_64 with CPython 3.13:
python <harness> [libFuzzer options] [directory ...]fuzzes. libFuzzer writes the inputs it keeps to the first directory.python <harness> [libFuzzer options] <file> [<file> ...]runs each named input once and exits.
The harness puts whatever it imports on
sys.pathitself. -
Seeds. Unless an argument names an existing file, the harness appends a directory holding its seed inputs after any directories it was given. Run with no arguments, it fuzzes from its seeds.
-
Verdict. An input that breaks the contract under test raises out of the fuzzed function, and the process exits non-zero. A run in which every input held exits 0. The verdict depends on the input alone: no clock, randomness, network, credential or environment variable, and no file outside a temporary directory.
-
Limits. Each input finishes within 10 seconds and 2 GiB of memory. libFuzzer sizes the inputs it generates from the largest seed, so a target that needs long inputs carries a seed that long.
-
Imports. The standard library, the repository's own code, the packages
uv sync --frozeninstalls from the repository'suv.lock, andatheris. A repository withoutuv.lockgets the first two andatheris. -
Without Atheris.
import atherissits inside the function that starts fuzzing, so the module imports on any platform. The check being fuzzed is a plain function, and the repository's unit suite runs every seed through it. -
Nothing else. The repository carries no fuzz workflow, no Atheris pin and no Dependabot entry for one. The central job brings its own pinned Atheris.
Document this contract in the README, word for word; harness issues across the organisation already quote it.
What the fuzz job does for one repository
- Environment. CPython 3.13. Where
uv.lockexists at the root,uv sync --frozenon that interpreter; otherwise an empty environment. Then Atheris, hash-pinned in this repository, into the same environment. - State. Restore the repository's saved state: per harness, a corpus directory and the saved failing inputs.
actions/cacherestore and save fit, with a key naming the organisation, the repository and the run ID, and a restore key without the run ID. Bound what was restored, by file count and bytes, before using it. Record whether anything was restored. - For each harness, in path order:
- Replay every saved failing input:
python <harness> -timeout=10 -rss_limit_mb=2048 <file>. Exit 0 means fixed: drop the input and count it. Otherwise keep it and record the failure. - Fuzz:
python <harness> -max_total_time=<seconds> -timeout=10 -rss_limit_mb=2048 -print_final_stats=1 -artifact_prefix=<dir>/ <saved corpus dir>. Acrash-,timeout-oroom-file under the prefix is a new failing input: save it, unless a saved input already fails the same way. - Put a wall-clock limit around each process. One that overruns it counts as a harness that did not run.
- Replay every saved failing input:
- Budget.
fuzz_secondsper harness, 300 by default, divided evenly when a repository's harnesses would otherwise fuzz for more than 45 minutes in total. - Caps. At most 20 saved failing inputs per harness, 1 MiB each. Keep the saved corpus bounded: minimise it with libFuzzer's merge, or start afresh, when it passes the bound.
- Hand over, as one artifact: for each process run, its log and exit code; the failing inputs; the number of inputs executed; and a run record naming the commit, the harnesses found, the seconds each was given, whether state was restored, and the Python and Atheris versions. Then save the state, except on a dry run.
What the publish job uploads
One SARIF run per repository: tool name fuzz, category fuzz/, against the default branch at the recorded commit, as the aislop publisher uploads.
| Failure | Rule ID | Message | Location |
|---|---|---|---|
| Uncaught exception | fuzz/uncaught-exception |
Uncaught <ExceptionType> in <function>, reached from fuzz harness <path> |
The deepest frame inside the repository that is not the harness |
| Input over the time limit | fuzz/timeout |
Input exceeds the time limit in <function>, reached from fuzz harness <path> |
The most recent such frame |
| Input over the memory limit | fuzz/out-of-memory |
Input exceeds the memory limit, reached from fuzz harness <path> |
The harness file |
| Harness did not run | fuzz/harness-error |
Fuzz harness <path> did not run |
The harness file |
- Level
errorfor every result. - Stable messages. The fingerprint script hashes the message, so it holds the fixed wording above and those three fields, and nothing else from the fuzz run. An exception's own message often quotes the input.
- Validated fields. A file must be a tracked file inside the checkout and the line must exist in it; otherwise the result points at the harness file. An exception type or function name that is not a plain dotted identifier, or one of Python's bracketed names such as
<module>, becomes a fixed placeholder. - One result per defect: unique on rule, harness, file, function and exception type, however many inputs reach it.
- Properties on each result: the harness path, the exception type and the SHA-1 of the failing input.
- A clean repository still gets an upload, with no results, so that "fuzzed and clean" differs from "not fuzzed".
github-security-report-actionreads the presence of the tool's analysis as enabled. - No closing without evidence. When the run restored no state and the repository has open
fuzzalerts, upload nothing for it and warn: the saved inputs that would have kept those alerts open are gone. dry_runuploads nothing and attaches the SARIF to the run instead.
Schedule, inputs and settings
- Daily at 08:00 UTC, after the aislop publisher, plus
workflow_dispatchwith the other publishers'org,repoandtokeninputs and two more:fuzz_secondsanddry_run. - Secret
FUZZ_SARIF_PAT. VariablesFUZZ_SCAN_INCLUDEandFUZZ_SCAN_EXCLUDE, as the other publishers have theirs. - Its own concurrency group, never cancelling a run in progress.
- Block-mode egress with the organisation allow-list in every job.
pypi.organdfiles.pythonhosted.orgare on it. - Artifact names must survive repository names that start with a dot; the aislop publisher's comments explain the trap.
- On a failed or cancelled scheduled run, alert as the aislop publisher does.
Pins
-
actions/cacheis not yet pinned in this repository: v6.1.0 is commit55cc8345863c7cc4c66a329aec7e433d2d1c52a9, and hasrestoreandsavesub-actions. The other actions needed are already pinned in the workflows here. -
actions/upload-artifactat the pinned v7.0.2 outputsartifact-idandartifact-digest;actions/download-artifactat the pinned v8.0.2 takesartifact-ids. -
Pin Atheris by hash in a form Dependabot bumps. A known-good pin, installed with
--require-hashes --only-binary=:all::atheris==3.1.0 \ --hash=sha256:315a0b5c819852b1ffe1ca72efc389c7724881f2c33e4aacb8c6bcec49bd5011 \ --hash=sha256:ec5e11f21a4c197fe91f7aea2b2de88e623c73a21fc07b105ac6329a1588457b \ --hash=sha256:f8a9f51ce8369026e8eb7b7174835e8c4c85a1a6db5d9add36c15100779d2a39Atheris 3.1.0 ships wheels for Linux x86_64 on CPython 3.12 to 3.14 alone, and no source distribution.
Observed tool behaviour
From Atheris 3.1.0 on CPython 3.13, Linux x86_64:
| Event | Exit code | In the log |
|---|---|---|
| Uncaught exception | 77 | === Uncaught Python exception: ===, then ExceptionType: message, then a traceback, outermost first, with frames as File "<absolute path>", line N, in <function>, then ERROR: libFuzzer: fuzz target exited |
| Input over the time limit | 70 | === Timeout: Ns elapsed, timeout=Ms ===, then a stack, most recent call first, with frames as File "<absolute path>", line N in <function>, then ERROR: libFuzzer: timeout after N seconds |
| Harness cannot start, for example an import error | 1 | An ordinary Python traceback and no libFuzzer line |
| Named input passes | 0 | Running: <file> |
- While fuzzing, libFuzzer writes the failing input as
<artifact_prefix>crash-<sha1>ortimeout-<sha1>. When a named input file fails, it writes nothing: the input is the file. - A saved corpus directory given first accumulates inputs across runs, and the harness's seeds still load beside it.
uv sync --frozensucceeds from a depth-1 checkout without tags ingithub2gerrit-action,dependamerge,gha-workflow-linterandsource-clone-action, which derive their versions from git, and each package then imports.- I did not exercise the out-of-memory path; libFuzzer reports it as
ERROR: libFuzzer: out-of-memory.
Acceptance criteria
-
fuzz-sarif-publish.yamlexists with the schedule, inputs, secret and variables above, and the zizmor and aislop publishers behave as before. - actionlint, yamllint,
zizmor --persona auditorwith zero findings, and the repository's hooks pass on every changed file. - A test reads the workflow files and pins the boundary: the job that runs harnesses references no secret and no environment, and no step in a job that references
FUZZ_SARIF_PATruns a file from the target checkout or from the handed-over data. - A test pins rule 3: publish takes its results by an identifier from its own fuzz job's outputs.
- Unit tests cover the fuzz-side logic: budget division, a replayed input kept or dropped, the caps, and the "already fails the same way" check.
- Unit tests cover the SARIF builder: each rule; one result for two inputs that reach one defect; a clean run; and hostile input, at least a path outside the checkout, a line past the end of the file, a name that is not an identifier, a log too large to read whole, binary noise, and a run record that omits a harness. Each hostile case ends in a refusal or the documented fallback, never in an upload of unvalidated text.
- The builder's output for a fixture passes
sarif_fingerprint.pyand both upload guards. - An end-to-end test runs the fuzz-side logic and the builder over a fixture repository holding a harness and a planted defect, under Atheris. It may skip where Atheris is not installed; the pull request body shows its output from a run where it did not skip.
- The workflow that runs
.github/scripts/testsruns the new tests. - The README documents the publisher, its token, variables and inputs, the harness contract, and the limits of the saved state.
Out of scope
Each is listed in #372 for later:
- Go fuzz functions.
- Opening an issue for each new failure.
- A pull-request gate.
- Repositories that have dependencies but no
uv.lock, and private repositories.
After merge
A maintainer creates FUZZ_SARIF_PAT (a fine-grained token needs Code scanning alerts: read and write, Contents: read and Metadata: read), then dispatches a dry_run on grype-scan-action before the first scheduled run.
Activity
lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 An AI agent has proposed a change for this issue: pull request #374 (head 8080c2f). The Copilot review of it has findings (6 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.
lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 1: an AI agent revised pull request #374 (head e94d847). Round 1. The branch stays on
base_sha, with no rebase: no maintainer asked for one and the PR is mergeable. Each fix went into the commit it belongs to. Fixed: - A new failure the state cannot save now fails the fuzz job (fuzz_runner.py). - A replay with no verdict now makes the publish job refuse the handover (fuzz_sarif.py). - Cache loss: the state lineage now carriessince, and the evidence step skips the upload while an open alert older thansincegoes unreported (fuzz-sarif-repository.yaml). - The end-to-end test's Atheris import marker now comes from a placeholder. - The README saysFUZZ_SARIF_PATis a repository secret. Disputed: the claim that$/is an invaliduses:prefix. It is this repository's adopted self-repository syntax (c6aa547). zizmor's self-repository audit flags./, and the repository's actionlint and other workflows use$/. The thread stays open for a human. Checks: prek, pytest (63 passed, 1 skipped), the Atheris end-to-end test, the aislop gate and gitlint all passed.. The Copilot review of it has findings (5 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 2: an AI agent revised pull request #374 (head caf58bf). Round 2 of #374. Fixed (4): - Results with no input: the builder now refuses a reproducible defect that no handed-over input reproduces. - Discarded harness state now starts a new
sincelineage. - Fingerprint: the builder writes its ownlfrelengContentHash/v1from the rule, file and message, so editing the line keeps the alert. - Fixed alerts:evidence.jsonlets a passing replay name the alert it fixes. The summary'sfixedlist counts as proven in the evidence check. Disputed (1): the$/prefix stays. The repository adopted it for zizmor's self-repository audit, and its other publishers use it too. Also:fuzz_record.pywas split out offuzz_sarif.pyfor the aislop size gate. No rebase: the PR is mergeable and no maintainer asked for one, so the branch stays on9628371b. Checks: pytest (242 passed, including e2e), basedpyright, prek, aislop, zizmor and gitlint all pass. Remaining: if another unproven alert blocks the upload, a fixed alert's evidence is lost and that alert stays open. This errs on the safe side.. The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 3: an AI agent revised pull request #374 (head 2455ffa). Round 3 of #374: both open Copilot findings are fixed. No rebase: the PR is mergeable and no maintainer asked for one, so the chain stays on 9628371. - Evidence overwritten by a replay that fails another way (fixed):
evidence.jsonnow keeps every way a saved input has failed, up to 4. A failing replay holds the earlier ways it no longer reproduces, and the builder keeps reporting each one with the replay's input. A passing replay names every way as fixed. If an input has failed more than 4 ways, the fuzz side refuses. - Failed cache save is silent (fixed): the fuzz job looks up the saved key (lookup-only,fail-on-cache-miss) and fails on a miss. The publish job's evidence check is now strict: an open alert that the run neither reports nor lists as fixed blocks the upload. A harness-error alert is exempt only when state was restored. This check covers stale restores, evictions and discarded inputs, so thesincelineage is gone. The README is updated to match. Remaining: a human review of the stricter upload rule.. The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 4: an AI agent revised pull request #374 (head fa7bb1d). Round 4 of #374. I fixed both Copilot findings, each in the commit it belongs to. No rebase: the PR is mergeable and no maintainer asked for one, so the branch stays on
9628371b. - PAT in the dispatch payload (fixed): I removed thetokendispatch input, because the fuzz jobs can read the event payload. The workflow now usessecrets.FUZZ_SARIF_PATonly. README and tests are updated. - Fixed evidence lost on a failed or withheld upload (fixed): a passing input now stays in the state underfixed/and counts against the cap of 20. Each run lists it as fixed again. It is dropped only when the next fuzz job finds thefuzz-published/record. The publish job saves that record after code scanning has processed the upload. Checks: pytest (246 passed), the Atheris end-to-end test, basedpyright, prek, zizmor (auditor) and the aislop gate all passed, and gitlint passed on every commit. Still open: a human should review the publication-record design. This PR also differs from the issue in keeping a passing input until a publication is recorded.. The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 5: an AI agent revised pull request #374 (head d9f04b4). Round 5 of #374. Both Copilot findings are fixed, each in the commit it belongs to. No rebase: the PR is mergeable and no maintainer asked for one, so the chain stays on
9628371b. - Evidence location rules (fixed): the fuzz side now validates failure locations with the builder'sCheckout, against a data-only second checkout of the commit (--source-root). Saved evidence and published alerts now agree, so a generated or oversized module can no longer make a passing replay name the wrong alert fixed. - Unescaped SARIF paths (fixed): the builder URI-encodesartifactLocation.uri. The summary's new decodedreportedlist feeds the evidence check, so alert paths and fixed identities still match. Checks: pytest (250 passed, Atheris end-to-end included), basedpyright, prek, zizmor (auditor), the aislop gate and gitlint all passed. Still open: a human review of the publication-record design.. The Copilot review of it has findings (1 unresolved review thread; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 6: an AI agent revised pull request #374 (head 8ffec9c). Round 6: fixed the one open Copilot finding, on
fuzz-sarif-repository.yaml. Through the shared Actions cache, a fuzz job could forge another repository's evidence and close its alerts with a harmless input. Fix: the publish job now signs a binding with HMAC under the newFUZZ_EVIDENCE_KEYsecret after each processed upload. The binding ties each reported alert to its input's SHA-1 and to the upload's SARIF ID. The fuzz job hands the binding over unread, and the publish job verifies it against the latest analysis. A fixed claim counts only with the bound input; otherwise the upload is withheld. No rebase: base_sha equals rebase_sha and the PR is mergeable. No checks were failing. Ran pytest (including the Atheris e2e test), basedpyright, prek, the aislop gate, zizmor, actionlint and gitlint; all passed. Remaining: a maintainer must create theFUZZ_EVIDENCE_KEYrepository secret before merge. The analyses API ordering and thesarif_idmatch are unverified assumptions; if either is wrong, the publisher fails closed.. The Copilot review of it has findings (1 unresolved review thread; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 7: an AI agent revised pull request #374 (head 49be69e). Round 7 of #374: fixed the one open Copilot finding (
fuzz_sarif.py:258). Each change went into the commit it belongs to. No rebase: base_sha equals rebase_sha, the PR is mergeable and no maintainer asked for one. - Held failure signed against the wrong input (fixed): a held way comes from the restored state, which any fuzz job can write. A poisoned cache could mark alert A as held by an input that fails only as B. The builder then gave A that input's SHA-1, andbindsigned it, so a later fix for B could close A. Now the summary keeps observed input associations underreportedand held ones under a newheldlist, and a result prefers an observed input.bindtakes--handoverand--previous-sarif-id, the analysis the evidence step read and now outputs. It signs a held association only when the previous binding, verified for that analysis, already holds it. README updated. No checks were failing. Ran pytest (257 passed; the Atheris end-to-end test passed under Atheris 3.1.0), basedpyright, prek, zizmor (auditor), the aislop gate and gitlint; all passed. Remaining: a maintainer must still createFUZZ_EVIDENCE_KEY. The analyses API ordering and thesarif_idmatch are still unverified assumptions; if either is wrong, the publisher fails closed.. The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 8: an AI agent revised pull request #374 (head ae81e2c). Round 8: I fixed both Copilot findings. There was no rebase, because the branch already sits on the default branch head and is mergeable. - SHA-1 identities (
fuzz_sarif.py): fixed. Bindings and the fixed, reported and held entries now use SHA-256. The binding tag is now v2, so older SHA-1 bindings no longer verify.inputSha1stays in the SARIF because the issue asks for it, andinputSha256sits next to it. - Cache extraction (fuzz-sarif-repository.yaml): fixed. A newrestorejob, with no secrets and no run steps, extracts both cache archives and hands them over as an artifact. The fuzz job downloads it by a validated ID and extracts no cache itself. Each fix was amended into the commit it belongs to. Tests (259 passed), the e2e test, prek, zizmor, basedpyright, aislop and gitlint all pass.. The Copilot review of it has findings (1 unresolved review thread; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 9: an AI agent revised pull request #374 (head 607b12c). Round 9 of #374: fixed the one open Copilot finding (
fuzz_runner.py:208) and amended the fix into the runner commit. - Handover input overwritten on a SHA-1 collision (fixed).hand_overnamed each handed-over input by its SHA-1. With a collision pair in a poisoned cache, a passing replay could overwrite a failing replay's input, and the publisher would then sign the passing bytes as that failure's reproducer. Each input now takes its process's unique log name. A new regression test fails on the old code. No rebase: base_sha equals rebase_sha, the PR is mergeable and no maintainer asked for one. No checks were failing. Ran pytest (260 passed; the Atheris end-to-end test passed separately under Atheris 3.1.0), prek, basedpyright, the aislop gate and gitlint; all pass. Remaining: a maintainer must createFUZZ_SARIF_PATandFUZZ_EVIDENCE_KEY. The analyses API ordering and thesarif_idmatch are still unverified; if either is wrong, the publisher fails closed.. The Copilot review of it has findings (1 unresolved review thread; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 19, 2026
🐒 Round 10: an AI agent revised pull request #374 (head 0713325). Round 10 of #374. I fixed the one open Copilot finding (
fuzz_runner.py:308) and amended the fix into the runner commit. The README note went into the docs commit. - A colliding new failure overwrote a saved reproducer (fixed).fuzz()saved each new failing input asfailures/<SHA-1>and replaced its evidence entry. An input that collided with a saved one replaced that input's bytes and evidence. Later runs then lost its reproducer. Now the fuzzer writes no name that a saved input already holds infailures/orpending/or in the evidence. The failure counts as unretained, so the fuzz side hands nothing over and fails, as it does at the cap. A new regression test fails on the old code. No rebase: base_sha equals rebase_sha, the PR is mergeable and no maintainer asked for one. No checks failed. I ran pytest (261 passed, plus the Atheris 3.1.0 end-to-end test), prek, basedpyright, the aislop gate and gitlint, and all passed. This is round 10, the last of the cap. If Copilot finds more, the PR goes back to a maintainer. A maintainer must still createFUZZ_SARIF_PATandFUZZ_EVIDENCE_KEY. Two assumptions are still unverified: the ordering of the analyses API and thesarif_idmatch. If either is wrong, the publisher fails closed.. The Copilot review of it is clean. An antagonistic review was requested from the review bot.lf-releng-code-monkey-bot commentedon Nov 20, 2026
🐒 Round 11: an AI agent revised pull request #374 (head 5a55db3). Round 11 of #374, answering the antagonistic review. No rebase: base_sha equals rebase_sha, the PR is mergeable and no maintainer asked for one. - Restored-artifact layout (
fuzz-sarif-repository.yaml:318): hardened, and the thread is resolved. The download now setsmerge-multiple: true, and a new test intest_fuzz_workflow.pypins the layout. The test fails without the flag. The fix is amended into the CI commit. ### Antagonistic review The review body adds no finding beyond its one inline thread (the restored-artifact layout). I checked that claim against the pinned actions and it does not hold. In download-artifact v8.0.2, a download whose IDs match exactly one artifact goes straight intopath(artifacts.length === 1). upload-artifact roots a two-path upload at the paths' common parent, so the artifact holdsfuzz-state/andfuzz-evidence/, which is where the fuzz job reads them. I still addedmerge-multiple: trueand a layout test, so the layout no longer depends on that count rule. No checks were failing. pytest (262 passed), prek, the aislop gate, zizmor (auditor) and gitlint all passed. Still open: a maintainer must createFUZZ_SARIF_PATandFUZZ_EVIDENCE_KEY. The analyses API ordering and thesarif_idmatch are still unverified; if either is wrong, the publisher fails closed. It answers antagonistic review round 1 (#374 (review)). The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 20, 2026
🐒 Round 12: an AI agent revised pull request #374 (head a155b76). Round 12 of #374. No rebase: base_sha equals rebase_sha, the PR is mergeable and no maintainer asked for one. - Withheld upload left the job green (
fuzz-sarif-repository.yaml:659): fixed, and the thread is resolved. A new last step fails the publish job on a non-dry-run upload that the evidence check withheld. It runs after the summary, so a scheduled run's Slack alert now reports a lost state. A new test pins it, and the README is updated. The fix is amended into the CI and Docs commits. - Replay input isolation (fuzz_runner.py:235): disputed, and the thread stays open for a human. The harness is the repository's own code and decides its own verdict, so it can exit 0 without changing its input. The runner reads the input bytes before the run. Isolating the input would add no protection, and it would need containers, which this runner does not have. The reasoning is recorded in the Feat commit body. No checks were failing. pytest (263 passed), basedpyright, prek, zizmor (auditor), the aislop gate and gitlint all passed. Still open: a maintainer must create theFUZZ_SARIF_PATandFUZZ_EVIDENCE_KEYsecrets.. The Copilot review of it has findings (1 unresolved review thread; assessment: needs a closer look). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.lf-releng-code-monkey-bot commentedon Nov 20, 2026
🐒 Round 13: an AI agent handed pull request #374 back to a maintainer. It disputes every remaining finding and changed nothing: The one remaining finding (replay input isolation, fuzz_runner.py:235) is the one disputed in round 12, raised again unchanged; it needs a maintainer's judgement on the trust model, not another code change. Round 13 of #374: no code change, handed back to a maintainer. The only open finding is the one on replay input isolation (
fuzz_runner.py:235). Copilot raised it again without change after I disputed it in round 12. I still dispute it: - The harness is the repository's own code, run with its locked dependencies, and it decides its own verdict. A harness that wants a saved input to pass can exit 0 without touching the file, so making the input immutable protects nothing. - The fuzz job is untrusted as a whole. The publish job's signed binding checks the handed-over bytes against the input that reproduced each alert. That binding stops one repository's poisoned cache from closing another repository's alerts. It cannot, and is not meant to, stop a repository from fixing or bypassing its own harness. - The runner reads the input bytes before the run, so a swap cannot change what is handed over. - Filesystem isolation would need containers or sudo. This runner has neither; a maintainer can enable both by adding.enable-sudo-and-containersat the root of the default branch. The thread stays open for a maintainer. If you want isolation anyway, say so on the PR and a later round will add it. No rebase: base_sha equals rebase_sha and the PR is mergeable. No checks were failing.uv run pytest -qpassed (263 passed; the Atheris end-to-end test skipped because Atheris is not installed here, and it passed in earlier rounds). Still open: a maintainer must create theFUZZ_SARIF_PATandFUZZ_EVIDENCE_KEYsecrets. Its replies are on the threads, which stay open; the workflow revises this pull request again once a maintainer comments.