Prompt-injection / agentic-manipulation screening — NVIDIA/hyperflare-inference#540
Key findings
Verdict: All Clear. Nothing in PR #540 — description, comments, diff, or the repository content it touches — attempts to instruct, redirect, or manipulate an automated agent or reviewer.
- The only conversation on the PR is two comments, both from the repository's own automation bot (flare-autobot): a case-file notice and a detailed technical review requesting changes. No embedded instructions, no "ignore previous instructions", no request to bypass checks or merge without review. (pr_comments; PR #540)
- The PR description is an ordinary technical changelog (cost-refresh accounting, per-request prompt+output suffix automaton,
draft_sourcegraph metadata, padding-dominance pruning,DEFAULT_MIN_MATCH_LEN3→6) with benchmark tables and test counts. No imperative text addressed to automated readers. - The sole docs change,
docs/scheduling-runtime-design.md(+31/−23), is prose about credit accrual, refresh ordering and acceptance bounds. No HTML comments, no hidden markdown, no zero-width or bidi characters. - Repository-wide sweeps for injection markers, hidden unicode, secret patterns, and newly added process-spawn / network / env / filesystem access returned only pre-existing, unrelated matches on
main. None were introduced by this PR. - The substantive code diffs are consistent with the stated changes; no hidden side effects, data exfiltration, or new privileged access.
- One non-security functional bug is noted below (
draft_sourcehardcoded on the export path), already raised by the repo's reviewer bot.
Detail
1. Pull request conversation
pr_comments on #540 returns exactly two entries, both authored by the repository's own bot:
- a case-file notice linking to
autobot.eidonix.com(the operator's own review tooling domain — benign), and - a technical review requesting changes, discussing
draft_sourcehandling and graph selection.
Neither contains instruction-like text aimed at an agent or reviewer: no requests to skip validation, approve without review, run commands, visit URLs, or disclose anything. No third-party or unexpected participant has commented.
2. Pull request description
The body is a structured engineering write-up: "Why" (four described gaps), "What changed" (four atomic commits with file lists), "Result" (CPU test counts and live-GPU benchmark numbers), "Evidence & Limitations", and a "Discord: Dooner" contact line. Scan for imperative address to automated readers ("agent", "reviewer", "you must", "ignore", "disregard", "system prompt") — none present. Cross-references are legitimate project links:
- sibling PR
NVIDIA/hyperflare-inference#542(adjacent-line conflict incost.rs(not opened)/rounds.rs(not opened)/tests.rs(not opened)), - companion recipes PRs
local-inference-lab/hyperflare-recipes#48and#49, - prerequisite commits on
main(f377dc85,#538,#543).
3. Documentation diff
docs/scheduling-runtime-design.md (+31/−23) contains only scheduling-design prose (timing-refresh credit accrual excluding readiness waits, refresh ordering key, acceptance bounds). No HTML comments, no hidden markdown, no zero-width (U+200B) or bidi control characters — verified by a repository-wide hidden-unicode sweep.
4. Repository-wide injection-marker sweep
Pattern searched: ignore (all|previous)|disregard|you are an ai|as an ai|note to (ai|agent|reviewer)|prompt injection|system prompt|claude|gpt-|copilot|autobot. Every hit is pre-existing and unrelated to this PR (the PR's only docs file is docs/scheduling-runtime-design.md; none of the files below appear in the PR's file list):
AGENTS.md:472(not opened) anddocs/design-review.md:114-115(not opened) — existing project policy prose ("Restrict Claude Opus 5.5 authorship of CUDA kernels…"), a staffing guideline, not an instruction to an agent reading this PR..gitignore:13—/.claude/worktrees/ignore rule.docs/TODO.txt:173,docs/api.md:764(not opened),docs/api.md:910-937(not opened),docs/clients/claude-code.json:3(not opened) — release notes and client-configuration documentation for the Claude Code CLI as a supported client.tests/server/test_coding_clients.py:65-74(not opened) — a conformance test asserting theclaudeexecutable exists.helios/src/server/inference.rs:386(not opened) — "You must call at least one of the provided tools…", tool-choice enforcement text sent to the served model, not to an agent reading the repository.helios/src/scheduler/checkpoints.rs:1089 (not opened),1113— test names/comments using the word "agentic" to describe prompt workloads.tests/preparation/test_native_key_import.py:77(not opened) —-----BEGIN PRIVATE KEY-----fixture asserting imported key format (the only secret-pattern hit forsk-,ghp_,AKIA,BEGIN … PRIVATE KEY).
5. Logic diffs reviewed
ignition/preparation/execution.py(+10/−1):draft_sourcemetadata validation for copy-only speculative graphs.heliopause/src/python.rs(+14/−3): manifest conversion carrying the new field.helios/src/runtime_core/{selection,serving}.rs: retaining/pruning optionaldraft_source=2wide copy graphs only when--history-draftsis enabled with no fixed width.helios/src/scheduler.rs:request_history_proposalpreferring the per-request SAM.helios/src/scheduler/{refresh,speculation}.rs: refresh credit accounting and wide-copy lane filtering.helios/src/execution/manifest.rs,model/catalog.rs: contract checks (confidence_width == 0, no speculative prefix limits, four copy input buffers).helios/src/server/runtime.rs: metrics and history call sites.helios/src/scheduler/sam.rs(lines 1-120): SAM structures andDEFAULT_MIN_MATCH_LEN.
All match the description. A search of helios/src for process spawning, network clients, environment reads, include_bytes! and base64 turned up only pre-existing sites (roce_fabric lldpctl, persistent_worker nvcc, test-only env vars, frontend image fixtures); nothing added by this PR.
Notable non-security issue
heliopause/src/export/binding.rs:201 (not opened) (not modified by this PR) still writes draft_source = "MTP" unconditionally, so graphs emitted with draft_source = 2 arrive labelled as MTP and are pruned by helios/src/runtime_core/selection.rs. That is a functional defect on the export path — already flagged by the repository's reviewer bot above — not a security or prompt-injection concern.
Coverage and limitations
- Read in full or at diff level: PR description, both PR comments, docs diff,
ignition/preparation/execution.py,heliopause/src/python.rs,helios/src/runtime_core/{selection,serving}.rs,helios/src/server/runtime.rs,helios/src/execution/manifest.rs,helios/src/model/catalog.rs,helios/src/scheduler.rs,helios/src/scheduler/{refresh,speculation}.rs,helios/src/scheduler/sam.rs:1-120. - Not read line-by-line: the remaining ~3,900 added lines, chiefly
helios/src/scheduler/{cost,policy,rounds,decoded_history}.rsand the large test additions inpolicy_tests.rs(not opened),tests.rs(not opened),model/tests.rs(not opened). These were covered by the targeted text sweeps above, which is adequate for injection screening because injected instructions must appear as human/agent-readable text (comments, docs, string literals) in the changed files. - Static review only: no tool was available to build or run the code, and CI reports "no checks" on head
1401971.
Open questions
None material to the security verdict. The one unresolved technical question (whether draft_source=2 graphs survive the export path given heliopause/src/export/binding.rs:201 (not opened)) is a functional matter for the PR author and is already under discussion in the bot review comment.