Prompt-Injection Screening Report — PR #581 (NVIDIA/hyperflare-inference)
Screen Result: All Clear
PR: https://github.com/NVIDIA/hyperflare-inference/pull/581 — "ignition: set USE_NODE_PRIORITY flag on exported CUDA graphs"
Author: FujitsuPolycom (CONTRIBUTOR) · State: open, ready for review · Base main (167f22c) · Head 61f64f1 · 3 files, +137/−7 · Review: CHANGES_REQUESTED by voipmonitor
Key findings
- No prompt injection, agent-directed instruction, or social-engineering content was found anywhere in the pull request — description, diff, comments, reviews, or inline review comments.
- The change is an ordinary CUDA-graph instantiation-flag plumbing patch plus tests. All added code is ordinary Python: constants, a bitmask validation helper, and pytest cases.
- No new capability surface: no
subprocess, no network calls, noeval/exec/__import__, no environment-variable or credential access, no file writes, and no hidden/encoded content (no bidi or zero-width characters, no base64 blobs). - No agent-configuration or CI tampering: the PR touches no
AGENTS.md,.agents/, skills files, or workflow definitions. It is confined to one runtime module and two test modules. - The single review is a normal technical critique addressed to the human author, not an attempt to influence an automated reviewer.
- Two peripheral items are worth recording as context, but neither is malicious: the PR body's "Discord: Dooner" line, and citation of a commit in the author's own fork (
FujitsuPolycom/flare-local-inference).
What the PR actually does (context for the screen)
ignition/preparation/runtime_core.py:192-243:
- Adds
CUDA_GRAPH_INSTANTIATE_FLAG_AUTO_FREE_ON_LAUNCH = 1,CUDA_GRAPH_INSTANTIATE_FLAG_USE_NODE_PRIORITY = 8, andPERMITTED_CUDA_GRAPH_INSTANTIATE_FLAGS = 1 | 8. - Adds
_executable_instantiation_flags(graph), which callscuGraphExecGetFlagsthrough the module's pre-existing_Cuda()CDLL("libcuda.so.1")wrapper (runtime_core.py:76-90), usingC.c_uint64for the flags out-parameter. record_export_graphgains a keyword argumentinstantiation_flagsdefaulting toUSE_NODE_PRIORITY; it validates type, sign, and permitted bits (raisingValueError) beforeretain_object/instantiate_graph; afterwards it readsprior_flags, rejects unsupported prior bits, and storesgraph._flare_instantiation_flags = prior_flags | instantiation_flags._graphs()(runtime_core.py:272-293) already emitteddict(..., instantiate_flags=flags)with a hardcoded~9mask. The downstream wiring is pre-existing, not introduced here:heliopause/src/export/mod.rs:114(not opened) declaresinstantiate_flags: Option<u64>, andheliopause/src/export/capture.rs:791(not opened) and2820-2823validateflags & !9 == 0.
Tests:
tests/preparation/test_capture_graph_metadata.py— the fakeGraphnow acceptsexec_flags(default1); the recorder fixture monkeypatchesruntime_core._executable_instantiation_flags(line 113); new cases cover flags9,8with no auto-free, preserved bit1withinstantiation_flags=0, theNonepath, unsupported executable flags, and invalid requested flags (lines 204-302); new testtest_capture_forwards_export_sets_node_priority_instantiation_flagat line 258.tests/preparation/test_recorded_export_graph_cuda.py— now assertsflags_by_name == {"decode": 9, "tune": 1}. The CUDA path is gated behindFLARE_RUN_CUDA_TESTS=1, and thesubprocessinvocation at lines 14-20 is pre-existing, not added by this PR.
What was checked for injection
- Diff in full (all three files, every added and removed line) — no prose instructions, no comments telling a reader or agent to do something outside the code's purpose, no "note to reviewer/agent" text.
- Instruction-pattern search across the changed files and the repository —
ignore previous,disregard,system prompt,prompt injection,Autobot,agent,AI reviewer, plus approval-leaning phrases (LGTM,approve,signed off,merge this). Nothing in the PR's own content matched in a directive sense. - Unicode / encoding tricks — searched the changed lines for bidi control characters, zero-width characters, and base64-like payloads; the additions are plain ASCII Python.
- Dangerous-capability scan of the changed files —
subprocess,urllib,requests,socket,base64,eval,exec,__import__,os.environ,open. Only pre-existing hits, none introduced by this PR. - Out-of-scope file changes — no
AGENTS.md,.agents/, skills, workflow, or dependency files are touched. - PR body — the description is a conventional "Why / What changed / Claimed benefit / Supporting evidence and limitations" write-up in repository style (
design-review.mdPrinciples 12, 16, 17), including explicit limitations ("Live CUDA export, nondefault kernel-priority instantiation across target drivers, and signed-coreflare runreplay remain open GPU qualification"). Nothing addresses a bot or reviewer agent. - Discussion — one review,
CHANGES_REQUESTEDby voipmonitor (2026-11-28 22:13). Its content is technical: it reports CPU pytest 12 passed and a live SM120 CUDA export test passing, then raises (a) [Major] that exported-coreflare runbehavior needs qualification perdesign-review.mdPrinciple 12 becauseUSE_NODE_PRIORITYactivates CTA-level preemption for kernels onScratchArena.auxiliary_stream(ignition/preparation/scratch.py:83-105(not opened)), (b) [Major] thatrecord_export_graphdoes not validatekeep_graph=False/_flare_graph_metadatagraphs atruntime_core.py:208-242and may fail later in_graphs(), (c) [Minor] inaccuracies in the PR description (the "rejecting unsupported bits on either source before mutating graph state" claim is imprecise forprior_flags, and theinstantiation_flags=Noneclaim about tuning graphs misses that tuning graphs usecapture_graph+instantiate_graph, notrecord_export_graph), and (d) [Nit] reusePERMITTED_CUDA_GRAPH_INSTANTIATE_FLAGSin_graphs()instead of a hardcoded~9, and cache_Cuda(). Every point is addressed to the human author and carries no instruction to a monitoring tool.
Peripheral items (recorded, not malicious)
- "Discord: Dooner" in the PR body.
design-review.md/AGENTS.mdPrinciple 17 requires a Discord handle line in PR descriptions; the handle is unverifiable from the repository but is a contact line, not an instruction. - External commit citation: the description links commit
61f64f18e06cdcb9de76c33765584a97752f3953in the author's forkFujitsuPolycom/flare-local-inference. This is a normal "evidence of work" citation, but note that an unvetted external repository is exactly where injected instructions would live — it was deliberately not fetched as part of this screen. Nothing in the PR requires acting on that link.
Open questions and what could not be confirmed
- CI status: the orientation packet reports no checks on the head commit
61f64f1, so the test counts asserted in the PR description (22 passed; 46 passed, 15 skipped) could not be independently verified from CI. This is a technical-review concern, not a security one. - Fork commit contents: not inspected, by design (see above). If someone later chooses to review that commit, it should be read as untrusted material, not as instructions.
- "Dooner" identity: cannot be corroborated from the repository; no action needed since the line carries no instruction.
- No other reviews, inline comments, linked items, or edits to the description were found in the PR's discussion.
Conclusion
All Clear. PR #581 contains no prompt injection, no hidden instructions, no attempt to steer an agentic reviewer, and no expansion of the code's capability surface beyond setting and validating CUDA graph instantiation flags. The outstanding review items are legitimate technical findings for the human author to address.