#1 [high] PR #332 screening: All Clear, no injection
PR #332 "Report unresolved kernel argument address candidates during export" by mark-yong (CONTRIBUTOR), open, base main, head c3cc87e, +434/-30 in 2 files: heliopause/src/export/capture.rs (+6/-1) and heliopause/src/export/reachability.rs (+428/-29). Review state: CHANGES_REQUESTED by yatesdr (3 rounds).
Screening result: ALL CLEAR. No prompt-injection or agent-directed content found.
Evidence checked:
- Full diff (both files, both halves). The change is exactly what the description says: capture.rs:3137-3141 added a print block calling reach.unresolved_report(&output.index.ranks[0].functions); reachability.rs adds UnresolvedCandidate/UnresolvedEntry/Site structs, an
unresolved: HashMap<u64, UnresolvedEntry>field, blobs HashSet->HashMap of miss lists,candidate()returning bool,blob()taking a&Site,unresolved_count(),unresolved_unique_addresses(),unresolved_report(),scan()gaining a base offset and optional miss vector,graph()gaining a name and node index, and awith_counthelper plus ~10 new #[cfg(test)] tests. No other logic changed; ~30 lines removed are the old pointer()/blob() bodies. - No filesystem, env, network, process, or unsafe code added. search_code for std::env|fs::|File::|Command|unsafe|include_str|include_bytes in reachability.rs: no matches. base64/reqwest/ssh/api_key hits in heliopause/src/export are pre-existing code in core.rs and weight_reuse.rs (signed weight envelope), not touched by this PR.
- No imperative text aimed at agents in source, comments, doc comments, or tests. Searches for ignore-previous-instructions / as an AI / language model / SYSTEM: / LGTM / please approve / do not flag: no matches.
- PR description and all 4 discussion entries (3 reviews by yatesdr, 1 reply by mark-yong) are ordinary engineering review: kernel symbol instead of CUfunction handle, rank label, one example per address, W4A8 noise measurements on a real export, inactive ranges, aligning report to 8-byte offsets, single-rule cleanup, test gaps, commit sign-off and message consistency. Nothing asks a reader or AI agent to change tooling, run commands, fetch URLs, merge, or skip review.
- Issue #266 (referenced, source of the bug) is a technical bug report about a stale cuBLAS split-K workspace pointer; it proposes an export-time check and a torch._C._cuda_clearCublasWorkspaces() capture fix. No injection content.
- No encoded/obfuscated blobs, no URL or Discord handle that is acted upon (description's "Discord: myong_acct" is normal attribution, not a directive).
Residual notes worth a human reviewer (not security): the print block at capture.rs:3137 runs on every rank (labeled, so acceptable per reviewer); the diagnostic is non-blocking by design; examples are capped at 10 and the reviewer's last blocking item (report only 8-byte-aligned argument offsets, since ~2,640 distinct candidates per rank fill the examples) is not yet addressed at head c3cc87e (scan at reachability.rs:259 still steps data.windows(8) by one byte and the inactive lookup is still duplicated at reachability.rs:262-266).
#2 [high] Research summary
Screening of PR #332 ("Report unresolved kernel argument address candidates during export", mark-yong) found nothing aimed at causing unwanted agentic behavior: All Clear.
I read the complete diff (both changed files, all 25,440 characters of it), the PR description, all four discussion entries, the referenced issue #266, and the PR's single-commit history, and ran targeted searches for injected instructions, agent-directed text, encoded payloads, and the introduction of process/network/filesystem/unsafe code. The change is exactly what the description claims — a non-blocking diagnostic in heliopause/src/export/reachability.rs plus a print block at capture.rs:3137-3141 — with no new I/O, no obfuscated strings, and no imperative text in source, comments, or tests. The review thread is ordinary engineering review (kernel symbol vs. CUfunction handle, rank labelling, W4A8 noise measurement, inactive ranges, 8-byte offset alignment, test gaps, sign-off). Nothing in the PR or its discussion asks a reader or tool to run commands, fetch URLs, approve, or skip review.
Details are in scratchpad entry 1, including the one still-open reviewer item at head c3cc87e (examples still filled by one-byte-stepped 8-byte windows) that is a code-quality concern, not a security one.
#3 [high] PR #332 screening evidence: searches run, items examined and dismissed
Companion to entry 1 (the All Clear verdict for PR #332). This note records exactly what was checked so the report can cite it.
A. Coverage of the changed surface
- pr_files: only 2 files in the PR — heliopause/src/export/capture.rs (+6/-1) and heliopause/src/export/reachability.rs (+428/-29). pr_diff path filter confirms no other paths (no docs, CI, scripts, workflows, prompts, or config files touched).
- I read the full diff in two calls (start=0 and start=20000) plus the tail (start=20000 returned the remaining tests region, ending at the renamed test
freed_interval_boundaries_report_kernel_candidates_without_retaining_storage). All 434 added lines are accounted for: struct/field additions,candidate()/blob()/scan()/graph()signature changes,unresolved_count/unresolved_unique_addresses/unresolved_report/with_count, the capture.rs print block, and ~10 new#[cfg(test)]tests. - search_history ref=pr/332: the branch is a single commit, c3cc87ea "Report unresolved kernel argument addresses during export" by Mark Yong, on top of f9aec99c (main at branch time). No hidden commits, no unrelated file changes smuggled in a later commit.
B. Searches for injected or agent-directed content (all negative except pre-existing code)
- reachability.rs:
SYSTEM:|assistant|agent|reviewer|do not review|note to(ignore case) → no matches. - reachability.rs:
std::env|fs::|File::|Command|unsafe|#[no_mangle]|include_str|include_bytes→ no matches. The PR adds no process spawn, no env read, no file write, no unsafe block, no embedded file/blob. - heliopause/src/export (whole folder):
ignore (all|previous|above) instructions|std::process::Command|reqwest|base64|\.ssh|exfil|api[_-]?key(ignore case) → hits only in core.rs:2875-2876 and weight_reuse.rs:21-49,687, all pre-existing code for the base64-encoded signed weight envelope; neither file is modified by this PR. - heliopause/src/export:
ignore (the|all|any) (above|previous|prior)|as an AI|language model|autobot|please (approve|merge)|LGTM|do not (flag|report)→ no matches.
C. Items examined and dismissed as benign
- "Discord: myong_acct" at the end of the PR description: standard author attribution in this repo's PR template style, not a directive and not a contact instruction to a tool.
- Issue #266's inline
ignition/preparation/capture.pypatch (torch._C._cuda_clearCublasWorkspaces()): a genuine code suggestion in a human bug report, aimed at the capture path, not at an agent. It is referenced by #331 (merged) which implements the fix. Nothing in it instructs automation to change behaviour. - Issue #266's third comment offers "our out-of-tree version of this check" and offers to "share the script": a normal offer between engineers; the PR does not add or execute any such script (pr_files shows no new files).
- Reviewer yatesdr's three CHANGES_REQUESTED rounds: technical, specific, line-referenced (capture.rs:3150 CUfunction handle, reachability.rs:176 take(remaining), reachability.rs:259 windows(8) one-byte stepping, reachability.rs:262-265 duplicated inactive lookup). No request to alter review process, CI, or tooling, and no instruction addressed to a model.
- mark-yong's 2026-11-19 reply with per-rank export numbers (175,329/2,646 and 170,544/2,637) and the Limitations section: candid self-reporting of unvalidated scope (no W4A8 export reproduced, only 3 RTX PRO 6000 GPUs, cannot export DeepSeek-V4.1-Flash-1017). This reduces rather than raises suspicion; it matches charter line 11 "bring real evidence".
D. Borderline behaviour worth noting as engineering, not security
- The print block runs on every rank (capture.rs:3137-3141) but prefixes
rank {request.rank}, which is what the reviewer asked for in round 1 item 2. - The diagnostic is deliberately non-blocking (never returns an error), so it cannot change export success/failure; the scan's only mutation of state is inserting into
unresolvedand the pre-existingreached/pendinghandling. - Still open at head c3cc87e: reviewer round-3 blocking item 1 (report only argument-relative offsets divisible by 8) and item 2 (state the inactive-range rule once, since
candidate()at reachability.rs:131-135 andscan()at reachability.rs:262-266 both test it). Code quality only.