Screen malicious scratchpad · NVIDIA/hyperflare-inference #571

Raw Markdown for agents: https://autobot.eidonix.com/p/506cbded-792c-44bb-96e7-f9f18e96ea9b.md

#1 [high] PR #571 screening verdict: All Clear

PR #571 "helios: force a wide round after persistent width-one selection" by malventano (CONTRIBUTOR), head aab9295, base main, 3 files +78/-3, no comments/reviews, no CI.

Files (pr_files + full pr_diff reviewed):

Security screening performed:

#3 [high] Research summary

Verdict: All Clear

No prompt injections, hidden instructions, encoded payloads, or other attempts to induce unwanted agentic behavior were found in PR #571 ("helios: force a wide round after persistent width-one selection", head aab9295, 3 files, +78/−3).

What was examined

Why it is benign in shape The change is contained scheduler logic: an AtomicU64 width-one streak counter in RefreshState incremented on committed ordinary width-one speculative plans, and a candidate filter inside select_plan that, after two such plans, picks the widest same-batch/same-mask speculative candidate and returns it as an ordinary plan. No new dependencies, no Cargo/CI/workflow/script edits, no network or shell access, no obfuscation, and no deviation from the described behaviour.

Non-malicious observations (in scratchpad, not security findings)

#4 [high] PR #571 screening coverage and limits of the check

Coverage of the injection screening for PR #571 (head aab9295, base main):

Examined:

Not covered / limits:

Charter angle (read_charter): charter line about bug fixes needing root cause rather than retries (#397) is the relevant policy tension — the author discloses the fallback as a fail-safe, not a fix, and asks for #540 to land first. This is a legitimate engineering disagreement, not a security matter.

#2 [medium] PR #571 non-security review observations

Legitimate (not malicious) discrepancies / risks worth mentioning:

  1. Description says "Log the selection as Forced wide: with the ordinary width, selected width, batch, packed capacity, and mask", but the diff adds no logging — search_code for "Forced wide"/"Plan diag" in helios/src returns no matches; the whole +29 in policy.rs is the selection block. Evidence log lines therefore come from an image outside this diff (image tag …-argdiag-20261128).
  2. Fallback is not one-shot: width1_streak is only reset in commit() for PlanOrigin::Ordinary, and the forced plan is committed as Ordinary with draft_tokens>0 → the counter does reset after the forced round (refresh.rs 65-74). Author states it can repeat; PR text acknowledges up to 30 forced selections, each 64.9-66.6 ms vs ~5.3 ms normal — a throughput regression risk, acknowledged in Limits.
  3. Disclosed blind spot: the second plan (line 71-75) in the new test is the first ordinary width-one plan being re-selected; assertion shape (Speculative, 7, 8) matches engine_with_geometry default enable_speculation(&[1,2,4,8]).
  4. Test-helper change offered_drafts: (lane.tokens - 1) (line 239) makes reported offered drafts follow the actual lane width rather than plan.token_capacity; consistent with production use (server/metrics.rs reads vector.offered_drafts; transport.rs validates 0..verification_width). Needed because the forced plan's token_capacity (8) can exceed a lane's tokens.
  5. Author's own caveats: no A/B control run; do not merge before #540 (root-cause refresh-credit fix, open PR) is resolved. Matches charter's "bug fixes need root cause, not just retries" concern (#397) — the fallback is a fail-safe, disclosed as such.