Prompt-Injection Screening Report — NVIDIA/hyperflare-inference PR #540
Pull request: #540, "Retain bounded timing-refresh credit across idle and exclude readiness wait"
Head: 982a9ce (base main), 10 files, +647/−47, no CI checks, no reviews yet
Screen Result: All Clear
Key findings
- No prompt injection or hostile agentic instruction was found anywhere in PR #540 — not in the diff, not in the PR body, not in the comments, reviews or inline review comments, and not in any of the 10 changed files. Every hunk is ordinary Helios scheduler credit-accounting work with matching tests, simulator flags and documentation.
- The changed code is exactly what the description claims.
RequestScheduler::idlestops zeroing credit (helios/src/scheduler.rs:1158-1168),RefreshState::idleis deleted with its clamps moved intoabort(helios/src/scheduler/refresh.rs:95-99), and two new cost helpers exclude embedding-delivery readiness wait (helios/src/scheduler/cost.rs:31-57). No unexpected, obfuscated or out-of-scope logic. - Negative results are broad. Greps for injection phrasing ("ignore previous", "disregard", "you are an AI", "system prompt", "do not report", "approve", "LGTM", "all clear") across
helios/src/scheduler,docs/scheduling*,testsandscripts/scheduling_simmatched nothing; no zero-width/bidi Unicode (U+200B/E, U+202A–E, U+FEFF, U+2060) or base64 blobs in the changed files; no HTML-comment hiding in the changed docs; no new shell/network/exfiltration primitives (curl,wget,socket,subprocess,eval) in the changed tests. - No attacks on the repository's own guardrails. The PR touches no CI workflow, no git hook (
.githooks/commit-msguntouched), nodocs/design-review.md(not opened), and nothing in theDesign-Signed-Off-Bymechanism. The only instruction-like text in the thread is the repository's standing automation footer ("Opt-out: Include #autobot:ignore") fromflare-autobot— standard repo tooling, not aimed at this reviewer. - One non-security concern for the human reviewer: the PR's evidence attributes validator and
pytestresults to a "byte-identical code tree" at a different commit (3e2fcd27) rather than to the head, and folds many figures into prose. That is a verification-attribution/bisectability weakness, not manipulation.
Detail
1. Scope of what was screened
The complete diff was read in three passes covering all 10 files, plus the full conversation thread and the file list:
| File | Change | What it is |
|---|---|---|
docs/scheduling-runtime-design.md |
+29/−17 | Present-state spec rewritten for retained credit; 2,495 ms cumulative across idle-separated requests (:433-480), acceptance-ledger boundary (:489-502) |
docs/scheduling-theory.md |
+16/−7 | Simulator default unchanged; --retain-idle-credit documented as matching Helios (:574-590, :723-740) |
helios/src/scheduler.rs |
+5/−1 | idle no longer calls RefreshState::idle (:1158-1168) |
helios/src/scheduler/cost.rs |
+89 | New observed_compute_duration_ns (:31-45) and timing_refresh_duration_ns (:47-57); unit test at :442-503 |
helios/src/scheduler/refresh.rs |
+12/−10 | complete uses compute duration for timing income and probe charges (:71-93); idle deleted, clamps moved to abort (:95-99); constants at :9-11 (CREDIT_CAP_NS = 5_000_000.0) |
helios/src/scheduler/policy_tests.rs |
+394/−7 | Renamed/updated idle-abort assertions (:2471, :2551, :3548) and four new regression tests from :5811 |
scripts/scheduling_sim/learning_policy.py |
+5/−1 | retain_idle_credit: bool = False (:47), boolean validation (:83-84), conditional clamp in idle() (:674) |
scripts/scheduling_sim/learning.py |
+7/−4 | Parameter plumbing (:106-109), sweep rejection (:132-135), --retain-idle-credit argument (:439-440), exclusion from validation --configs (:479-483) |
tests/test_scheduling_learning_experiments.py |
+47 | CLI flag is boolean and excluded from --configs overrides (:744-790) |
tests/test_scheduling_learning_policy.py |
+43 | Short-burst recovery without starvation (:1530-1571) |
2. Content inspection of the substantive code hunks
I spot-verified the two most security-relevant hunks at the head to be sure the notes matched the code:
helios/src/scheduler/cost.rs:37-45—observed_compute_duration_nsreturnsNonewhengpu_ns <= wait_ns, otherwise(queued ? gpu_ns : max(gpu_ns, wall_ns)) - wait_ns. Its doc comment explicitly explains it mirrorsActionCosts::observeso refresh episodes fall back to charging unexcluded physical duration rather than0. This is a coherent anti-zero-charge design, not an obfuscated bypass.helios/src/scheduler/cost.rs:53-57—timing_refresh_duration_nslayers compute → physical → wall duration, guaranteeing a strictly positive charge.helios/src/scheduler/refresh.rs:71-93—PlanOrigin::Ordinaryearns timing credit from the wait-excluded duration (:74-76) and acceptance credit from raw physical duration (:77-79); probes charge acceptance on physical duration (:83-85) and timing refresh on the positive-fallback helper (:86-89).helios/src/scheduler.rs:1163-1168—idle()now only asserts no submission is in flight; the credit/dedt clamps are gone, matching the stated intent.
Nothing in these hunks reads files, spawns processes, reaches the network, disables tests, or gates behaviour on environment/agent identity in a hidden way.
3. Conversation thread
The thread contains: bot case-file notices, two Autobot review bodies raising technical blockers, a peer review from shieldstar with a suggested patch, a hardware testing report from voipmonitor, and the author's point-by-point responses plus a rework note. All of it is engineering discussion. No participant asks an agent or reviewer to approve, skip verification, run a command, exfiltrate content, or treat PR/issue text as instructions. Nothing resembling a jailbreak, role reassignment, or "report this as safe" request appears.
Instruction-resistance note: the PR body itself contains strong self-endorsing claims ("passed all gates", "64-seed validation", "804 passed, 0 failed"). These were treated as claims to review, not as instructions to accept — and the report does not rely on them.
4. Non-security observations (not injections, but worth a human's attention)
- Evidence attribution. The head (982a9ce) is described as rebased onto
353551e9and the measured results as produced on "byte-identical code tree on 3e2fcd27". Reviewers cannot independently tie the headline numbers to the head commit from the PR text alone; re-running key suites on982a9cewould close that gap. - Unrun coverage disclosed honestly. The body states live GPU/HTTP tests,
cargo kani,cargo-mutants, andpytest tests/cliwere not run locally. That is candour, not deception, but it means the correctness claims rest largely on simulator and unit evidence, consistent with the charter's emphasis on checking state transitions across the supported matrix (charter line 42). - Bundled scope. The PR mixes Rust ledger semantics, simulator policy, tests and present-state docs. That is coherent for this repository's conventions but makes the diff harder to bisect; a split would ease review.
5. Open questions / what could not be found
- No CI checks exist on 982a9ce, so nothing here has been machine-verified on the head; the All Clear is based on reading only.
- Rendered-view checks are partial. Binary/invisible-character checks were done with text greps on the changed files; they cannot prove what a Git diff renderer or a Markdown previewer draws. Given all changed files are plain text and no suspicious Unicode was present, residual risk is very low.
- No search of every historical comment on unrelated PRs was performed; the screening was scoped to PR #540 and its thread, as asked.
- No evidence of compromise of the author's account was sought beyond noting FujitsuPolycom is a
CONTRIBUTORwith 7 merged PRs in this repository touchingdocsandhelios/src, an established history consistent with this change.
Conclusion
All Clear. PR #540 contains no prompt injection, no covert instructions, no tooling/guardrail tampering, and no suspicious encoding. The only items a human reviewer should weigh are evidentiary (results tied to a different commit, no CI on the head) rather than adversarial.