Prompt-Injection / Unwanted-Agentic-Behaviour Screen — PR #332
PR: NVIDIA/hyperflare-inference #332 — "Report unresolved kernel argument address candidates during export"
Author: mark-yong (CONTRIBUTOR association)
State: open, ready for review; head 1ac7073d, base main (c993588); 4 files, +599/−37; no CI checks on head
Review state: changes requested by yatesdr (delivered through the repo's review bot comment, 2026-11-25)
Key findings
- No prompt injection. Nothing in the PR description, the comment thread, the diff of the four changed files, or the surrounding source attempts to steer an agent or reviewer: no "ignore previous instructions"-style text, no instructions addressed to automated reviewers, no requests to run commands, fetch URLs, or grant permissions, and no attempt to pre-empt or dictate a review verdict.
- No hidden or obfuscated payload. No invisible text, bidi or zero-width characters (a non-ASCII scan found only the "…" ellipsis in a format string and ASCII quote characters), no embedded blobs, no encoded/encrypted fragments in the diff.
- The code does what the description says. The change is a read-only diagnostic in the export reachability scan: it classifies candidate kernel-argument values, counts them, and prints a bounded per-rank stderr summary. It does not alter retention, does not write files, and adds no process spawning, network access or environment-variable reads.
- One low-severity, non-injection hygiene note. The new stderr lines interpolate CUDA kernel symbol and module names — which come from the exported model's cubins — without escaping control characters or newlines, unlike the Debug-quoted graph name. A hostile model could in principle forge export-log lines. This is a log-hygiene nit in the operator's own output, not an injection. Details below.
- The two bot comments are benign. They come from the repository's own review bot and use ordinary markdown headings and a recommendation block; they contain no directives to me and were treated purely as review material.
Screen result: All Clear.
What was inspected and why nothing malicious was found
PR description and discussion
The body is ordinary engineering prose: a summary of the change, a per-rank validation table for a two-GPU SM120 export, an explicit "Limitations" section admitting that the Vision-Exp export does not establish W4A8 MoE kernel behaviour, does not reproduce issue #266's four-GPU DeepSeek V4.1 failure, and that the author only has three RTX PRO 6000 GPUs. It ends with a Discord handle. There is no second-person instruction to a reader or an agent, no claim of authority ("maintainer says merge"), no request to suppress checks, and no text that would change an agent's behaviour if followed. The stated scope — a non-blocking diagnostic, explicitly not proof that every graph argument has a live owner — is accurately and, if anything, conservatively described.
The conversation is a normal review exchange: a review-bot comment requesting changes, author replies with clarification and additional verification output (an aligned rerun quoting verbatim stderr), and a rebase. Reviewer disagreement is technical (alignment filter, retention semantics, example counts), not procedural.
Changed code
heliopause/src/export/reachability.rs(+579/−34). NewUnresolvedCandidate/UnresolvedEntry/Sitestructs andUNRESOLVED_EXAMPLES = 10(lines 45-76); the oldpointer()predicate renamed tocandidate()and returning false for gap/inactive values without retaining storage (lines 153-170); a memoised allocation-contentblob()scan feeding an ordered address→first-site/count map (lines 172-213); report formatting with a summary line, up to ten examples and a "not shown" tail (lines 226-281); an alignment filter(base + offset).is_multiple_of(8)insidescan()while the byte-by-byte retention loop is left un-narrowed (lines 283-306); graph/node/argument threading ingraph()(lines 308-394); and new unit tests with an unaligned-straddling case and freed-interval boundary cases. All of this is local computation over data the exporter already holds.heliopause/src/export/capture.rs(+6/−1). Threads the graph name intoreach.graph(&graph.name, ...)(line 3184) and emits the report to stderr per rank (lines 3219-3223).request.inactiveis passed raw toReachability::newat line 3164 — the diagnostic does not take ownership of inactive storage, as claimed.docs/runtime-core-design.md(+8/−2, lines 151-160 and 336-344) anddocs/TODO.txt(+6, lines 349-354). Prose documenting the new diagnostic and the outstanding four-GPU / eight-GPU measurements. No instructions, no links requiring action.
I confirmed the report-formatting and stderr-emit lines directly in the head tree: the summary and example formatting at reachability.rs:226-281, including the Debug-quoted graph {:?} at line 254 and the unquoted kernel {} ({}) at lines 257-258; and the emit block at capture.rs:3219-3223.
Capability scan of the changed code
Searches across heliopause/src/export for Command::new, std::process, curl, wget, http://, env::var, unsafe additions and similar returned nothing new — only pre-existing test-only std::process::id() and HuggingFace URL literals used by pre-existing download paths. No new dependencies, no build-script changes, no new file writes, no privilege or network escalation. A content scan for ignore, disregard, autobot, agent, assistant, prompt, instruction in reachability.rs returned no matches. Commit history for the file shows a single, normally titled commit, 1ac7073d "fix: report aligned unresolved kernel argument addresses during export".
Low-severity observations (not injections, not blockers)
- Unsanitised kernel symbols in a diagnostic log.
reachability.rs:253-262formatsgraph {:?} node {} kernel {} ({}), argument {}, offset {}andcapture.rs:3219-3223prefixesexport: rank {rank}:. The graph name is Debug-quoted and therefore escaped, but the kernel symbol and module names are interpolated raw. Those strings originate in the exported model's cubins — i.e. untrusted model content — so a crafted symbol containing newlines or ANSI escapes could forge additional lines in the operator's export log. Impact is confined to the operator's own stderr during an export of a model they chose to load, and the same class of concern already exists in other export logging. Worth a nit, nothing more. - Unverified claims are honestly labelled, not overstated. The description states plainly that the printed examples do not establish W4A8 MoE behaviour and do not identify stale pointers. The scratchpad record of the author's later comment cites a rerun reporting 221 passed / 0 failed / 5 ignored (the original description quotes 205 passed, 4 ignored); either way this is a normal test-count drift across a rebase, not a discrepancy worth flagging as deceptive.
Open questions / what could not be found
- Substantive correctness is out of scope here and remains contested: yatesdr has requested changes, and there are no CI checks on head
1ac7073d. Whether the alignment filter and non-retention semantics are right is a reviewer judgement, not a security finding. - No independent reproduction exists of the issue #266 failure on the required four-GPU DeepSeek V4.1 layout, and no W4A8 MoE export was validated — both stated by the author. Neither affects the injection assessment.
- Nothing else was looked for and not found: there were no hidden directives, no encoded content, no instructions in the docs diffs, no attempts to direct the reviewing agent, and no requests to exfiltrate repository or environment data. The PR contains no material that instructs me to do anything, so nothing here needed to be reported as an attempted instruction.