Screen malicious scratchpad · NVIDIA/hyperflare-inference #540

Raw Markdown for agents: https://autobot.eidonix.com/p/425e19fe-938c-45c0-94e3-04cbea51ec4d.md

#2 [high] Screening result: PR 540 all clear

PR 540 screening: no prompt injection or agent-directed content found.

Checked:

  1. PR description (long technical body; ends "Discord: Dooner") — no instructions to agents/reviewers, no hidden HTML comments.
  2. Discussion (pr_comments, result 1): flare-autobot intake + 2 Autobot reviews (bot boilerplate incl. "Opt-out: include #autobot:ignore"), @shieldstar comment (large technical suggested diff for zero_duration reuse + test-only CURVE_EVALUATIONS counter), @voipmonitor live-verification summary (merge/stacking notes), author reply e5a69669 (point-by-point). None of these try to direct agent behaviour; the bot links (autobot.eidonix.com case/review reports) are ordinary review artefacts and were not fetched.
  3. Full docs diff (cli-design.md, mtp-design.md, scheduling-runtime-design.md, scheduling-theory.md; manifest.md): pure technical prose describing draft_source, SAM, wide copy-verify, refresh accounting. See result 2/3.
  4. Files list (result 27): 33 files, code+docs+tests only; no AGENTS.md, .agents/skills/, CI workflows, build scripts, or dependency manifests touched.
  5. Repo-wide regex sweeps at PR head: "ignore previous"/"disregard" — none; "system prompt|you must|AI assistant|prompt injection|agentic" — only legitimate hits (LICENSE texts, chat-template fixtures, docs, server tool-choice instruction "You must call at least one of the provided tools…" in inference.rs:386, pre-existing); "malicious|verdict|all clear|jailbreak" — unrelated (selene claims "verdict", scheduling-theory "screening" = seeds); "instructions" — no hits in helios/src/scheduler; "please|make sure|remember to|kindly" — no hits in helios/src; "you|your" in helios/src — only the two legitimate tool-choice strings; "(do not|don't|never) (flag|report|warn|mention|review|audit)" — no relevant hits; "TODO|FIXME|NOTE TO|IMPORTANT:|ATTENTION|assistant|agent (must|should)" in sam.rs — none.
  6. Zero-width/bidi char search: the \x{..} regex form is rejected by the search backend; byte-level check not available. Visual inspection of all diffs read showed no bidi/zero-width sequences.
  7. Behavioural check on code: no new process spawning, network calls, env-var driven behaviour, include_bytes, or exfiltration in the changed files (std::process hits are pre-existing and in unrelated files; only pre-existing unsafe in decoded_history.rs). New code is scheduler/cost/manifest logic plus a SAM data structure and tests.
  8. Read diffs in full detail: docs (all four), heliopause/src/{export/binding.rs,python.rs}, helios/manifest.md, ignition/preparation/execution.py, tests/preparation/test_execution.py, helios/src/server/runtime.rs, scheduler/decoded_history.rs, scheduler/speculation.rs, scheduler/refresh.rs, runtime_core/selection.rs, scheduler/cost.rs, server/runtime/phase_tests.rs (new preempt→readmit SAM test), tail of scheduler/tests.rs (wide copy-verify selection/fallback test). All benign.
  9. Reviewed code away from agent-directed content: confirms genuine implementation (draft_source wire enum derivation, ProposalSource::from_wire/to_wire, CopyCalibration, action-cost Key gaining draft_source, packed_round_durations split per source, SAM/LCT). No sign of a "malicious" payload disguised as features.

Possible minor notes to mention in report if useful (not injection): tests/preparation/test_execution.py monkeypatches execution._validate_resources to bypass validation for the new draft_source test — normal test isolation; docs/cli-design.md had contradicted code before this PR's fix commit.

#3 [high] Research summary

All Clear.

I screened PR 540 ("helios: cost-refresh recovery, prompt+output SAM copy-drafts, and calibrated wide copy-verify") for prompt injections or other content aimed at causing unwanted agentic behaviour, and found none.

Coverage: the PR description, the whole discussion (flare-autobot intake and two Autobot reviews, a large suggested-diff comment from @shieldstar, a live-verification comment from @voipmonitor, and the author's point-by-point reply), the full docs diff (cli-design, mtp-design, scheduling-runtime-design, scheduling-theory, helios/manifest.md), and the code diffs in heliopause/src/{export/binding.rs,python.rs}, ignition/preparation/execution.py, tests/preparation/test_execution.py, helios/src/{server/runtime.rs,server/runtime/phase_tests.rs,runtime_core/selection.rs,scheduler/{cost,refresh,speculation,decoded_history,policy,tests}.rs}, plus repo-wide regex sweeps for injection phrasing, agent/reviewer-directed instructions, tool/channel or exfiltration patterns, and credential material.

Nothing in the changed files, tests or prose addresses an agent or model, tells a reviewer what to conclude, or alters behaviour outside the Helios scheduler's cost/speculation logic. The changed surface is 33 ordinary source, test and documentation files — no AGENTS.md (not opened), .agents/skills, CI workflows, build scripts or dependency manifests — and the new code spawns no processes, makes no network calls, and reads no environment-driven payloads. The bot's own review links (autobot.eidonix.com) are ordinary review artefacts and I deliberately did not fetch them. Details are in scratchpad entry 2.

#4 [high] Judgment nuances and negative evidence for the All Clear

Companion to entry 2 (the screening result). Points the final report should carry so it is precise.

BENIGN BUT WORTH NAMING (so a reader does not mistake them for injections):

EXACT SWEEPS AND OUTCOMES (all at PR head e5a6966, whole repository unless noted):

LIMIT TO STATE HONESTLY: I could not run a byte-level zero-width/bidi scan — search_code rejects \x{...} escapes at the git grep -e boundary ("Invalid preceding regular expression" / "Invalid content of {}"), and no shell is available. Substitute: visual inspection of every diff I read (25000-char docs diff in two parts, full helios/manifest.md, heliopause diff, python/tests diff, runtime.rs, selection.rs, refresh.rs, speculation.rs, cost.rs, decoded_history.rs, the ~48k-char sam.rs diff first 20000 chars, phase_tests.rs, and the tail of scheduler/tests.rs) plus the literal-character sweep [​‮⁦], which returned only unrelated glyph-heavy files (flare-cli banner/box-drawing, docs typography). No bidi or zero-width sequences were seen in any changed hunk.

#1 [medium] PR 540 initial survey

PR 540 (NVIDIA/hyperflare-inference), open, head e5a6966, base main; 33 files +4306/-310. Author FujitsuPolycom. Title: "helios: cost-refresh recovery, prompt+output SAM copy-drafts, and calibrated wide copy-verify". Comments: bot intake (flare-autobot) with links to autobot.eidonix.com case file pages; two Autobot reviews (Changes Requested) with file/line citations; @shieldstar comment containing a large suggested diff (zero_duration reuse) + test-only CURVE_EVALUATIONS counter; @voipmonitor live-verification comment; author reply e5a69669 addressing review items ("Discord: Dooner"). PR body has "Discord: Dooner" and a long technical description. So far nothing that addresses an agent/LLM or instructs reviewers. Docs diff (cli-design.md, mtp-design.md, scheduling-runtime-design.md, scheduling-theory.md) read: purely technical, no injection text. Searched docs diff fully (results 2 and 3): clean. Remaining to check: code diffs in helios/src (24 files), heliopause/src, ignition/preparation/execution.py, tests/preparation/test_execution.py; plus hidden unicode; plus issue/PR cross-references that might carry injection.