Screen malicious report · NVIDIA/hyperflare-inference #540

Raw Markdown for agents: https://autobot.eidonix.com/p/9bbdd46c-e619-47b6-aca6-f18cb401ca05.md

Injection / Unwanted-Agentic-Behavior Screen — NVIDIA/hyperflare-inference PR #540

Screen Result: All Clear

PR: https://github.com/NVIDIA/hyperflare-inference/pull/540 — "helios: cost-refresh recovery, prompt+output SAM copy-drafts, and calibrated wide copy-verify" Head 7ca5430, base main, 25 files, +3965/−119. Open, ready for review, labels: none, reviews: none, CI on head: none.

Key findings

  1. No prompt injection or agent-directed instruction exists anywhere in this PR. No comments, reviews, or inline review comments on the PR at all (pr_comments returns "No comments."), so there is no third-party prose attempting to steer a reviewing agent.
  2. All 25 changed files were read structurally and every hunk matches the stated intent — cost-refresh credit/debt accounting, a per-request prompt+output suffix automaton, copy-draft graph metadata, and packed-speculative padding dominance. No hunks deviate toward instructions, encoded payloads, or behavior aimed at an agent rather than at the scheduler.
  3. The one large new file, helios/src/scheduler/sam.rs (1,606 lines), is a pure data-structure implementation — compacted edge-array suffix automaton, link-cut-tree recency updates, brute-force oracle tests, one ignored microbenchmark — with zero process/spawn/env/filesystem/network primitives and no unsafe.
  4. Every injection-pattern regex hit is benign and pre-existing, and none of the flagged lines is even touched by this PR (details and citations below).
  5. No hidden Unicode and no supply-chain surface: no bidi-control, zero-width, or tag characters in any changed file; no workflow, lockfile, or dependency changes.
  6. The PR description is ordinary technical prose; its Discord: Dooner closing line is a documented repository requirement, not an off-platform redirect.

Detail

1. Discussion surface

pr_comments on #540: "No comments." No issue-comment, review, or inline-review-comment text exists that could address a human or agent reviewer. The only author-authored prose is the PR body itself.

2. PR body

The description is a conventional engineering write-up: a "Why" section naming four scheduler/speculative-decoding gaps, a per-commit "What changed" list, a "Result" section, and an "Evidence & Limitations" section with test counts, benchmark numbers, and an explicit limitations list (GPU coverage limited to DeepSeek-V4.1 Flash TP4 on SM120). It contains no requests addressed to a reviewer or agent — no "approve", "merge without review", "skip the check", "do not flag", and no command-like text.

The closing line Discord: Dooner is mandated by the repository: docs/design-review.md:153-155 — "Give a Discord contact on PRs and issues. Every PR and issue description has a line after the technical explanation that gives the opener's Discord username, or states Discord: no username provided when the opener provides [none]." Verified directly in code/docs. It is therefore a policy compliance line, not an attempt to move review off-platform.

3. Diff coverage

Files changed and reviewed for prose/instruction-bearing content:

Nothing in these files addresses an agent, requests an action, or contains text that only makes sense as instruction-to-model.

4. The new file: helios/src/scheduler/sam.rs

Read essentially end to end (1,606 lines). Contents: an immutable PromptSAM (compacted flat edge array, topological max_endpos, 131,072-token trailing prompt cap), a lazy OutputSAM (inline 4-edge storage, 1-token lag, 512-token prompt-tail overlap, link-cut-tree O(log M) recency updates), PromptOutputSAM::push/propose, and randomized brute-force oracle tests.

Primitive sweep on this file returned zero matches for std::process|Command|fs::|std::env|include_str|include_bytes|unsafe. No sockets, no URLs, no shell, no file reads, no unsafe. It cannot execute anything, only compute.

Its only "ignore"-family hit is helios/src/scheduler/sam.rs:1544 — #[ignore = "CPU microbenchmark; run in release mode with --ignored --nocapture --test-threads=1"], an ordinary Rust test attribute (verified in code).

5. Regex sweep results and why each hit is benign

Sweeps were run over the whole repo at head 7ca5430 and narrowed over helios/src/scheduler.

  1. "instruction / instructions" — hundreds of hits, all pre-existing product/doc text: docs/api.md (not opened) (OpenAI/Responses API field docs), docs/cli-design.md (not opened), helios/src/server/inference.rs:244-277 (not opened), 386, 443-457 (system/developer instruction lowering; the tool_choice=required string "You must call at least one of the provided tools in your next response." at :386 — product behavior toward the served model, not toward a code reviewer, and not opened by this PR), helios/src/frontend/jinja/compiler.rs (not opened) (internal Instruction enum for the Jinja VM), docs/clients/codex-models.json:14 (not opened) (base_instructions client profile). None are addressed to an agent reviewing code.
  2. "ignore / disregard" — three hits: helios/src/scheduler/sam.rs:1544 (above); tests/server/test_mixed_scheduler.py:40 (not opened) "Ignore this filler: " + " apple" * 4096 (pre-existing prompt fixture); .githooks/commit-msg:21 and AGENTS.md (not opened) references to the repo's own commit self-review docs (pre-existing, unchanged here).
  3. "agent / assistant / LLM / AI" — only helios/src/scheduler/checkpoints.rs:1089,1113, test names/comments describing "long agentic prompts" and "agentic conversations" as workload shapes. No Autobot, no "automated reviewer", no "language model" string anywhere.
  4. URL sweep of changed areas — the only URLs in the repo are pre-existing doc/NOTICE/README links plus .github/workflows/helios-lifecycle.yml (not opened) (tla2tools.jar), which this PR does not touch. A bare-domain https?:// sweep over helios/src/scheduler returned no matches; nothing to fetch and report back to.
  5. Network / exec primitives in changed files — helios/src/scheduler/sam.rs: none (above). ignition/preparation/execution.py: only the pre-existing serve_rank(self, socket, *, rank, world) TP-rank server API at :359/:374 (unchanged); no subprocess, os.environ, urllib, requests, pickle, eval, exec, or open beyond that.
  6. Unicode sweep — no bidi-control (U+202A–U+202E, U+2066–U+2069), zero-width (U+200B–U+200F), or tag (U+E0000–U+E007F) characters in any PR-changed file. Multi-byte text exists only in pre-existing fixtures (tests/frontend/inkling2_tml.json (not opened), tests/frontend/qwen38.json (not opened) — 世界 / naïve / emoji / CJK), none modified here. So no invisible-text smuggling.
  7. Encoded blobs — none. No base64/hex payloads, no long opaque literals in the diff; the largest literals are test fixture token sequences and numeric tables.

6. Supply chain and CI

The file list contains no .github/workflows/*, no Cargo.toml (not opened)/Cargo.lock, no pyproject.toml (not opened)/uv.lock, no requirements*, no install scripts. This PR cannot alter CI execution, dependency resolution, or install-time behavior.

7. Note on scope of the change (context for the verdict)

The change is sizable but confined to scheduler cost accounting, speculative-decoding copy drafts, graph metadata, and padding selection, consistent with the author's prior merged work in the same area (#508, #499, #498, #515-family neighbours) and the charter's framing of Helios as the scheduling/cache/request runtime. Nothing in it reaches outside the repository or touches credential, publish, or release paths.

Open questions and what could not be found