Screening report — PR #332 "Report unresolved kernel argument address candidates during export"
Screen Result: All Clear
Key findings
- No prompt injection or agent-directed content found anywhere in PR #332: not in the diff, the PR description, the review discussion, the tests, or the comments/doc comments. Nothing asks a reader or automated agent to run commands, fetch URLs, change tooling, approve, merge, or skip review.
- No new capability introduced. The diff adds no process spawn, environment read, network call, filesystem write,
unsafeblock, or embedded file/blob. Searches ofheliopause/src/exportforstd::env|fs::|File::|Command|unsafe|include_str|include_bytesreturn no matches in the PR's code; the only base64/network-adjacent hits in that folder (core.rs:2875-2876(not opened),weight_reuse.rs:21-49 (not opened),687) are pre-existing signed-weight-envelope code in files this PR does not modify. - The change matches its stated purpose. It is a non-blocking diagnostic: record kernel-argument values that land in gaps between recorded allocations or in inactive parts of recorded segments, then print per-rank counts and up to ten example sites. Verified in the code, not just the description (citations below).
- Discussion is ordinary engineering review. Three
CHANGES_REQUESTEDrounds from yatesdr plus one author reply, all technical and line-referenced; nothing addressed to a model or to review process. - Items examined and dismissed as benign: the
Discord: myong_acctline, issue #266's inlinetorch._C._cuda_clearCublasWorkspaces()code suggestion, issue #266's offer to "share the script", and the author's Limitations section. - Residual non-security notes: the reviewer's round-3 blocking item (report only argument offsets divisible by 8) appears unaddressed at head
c3cc87e; the inactive-range rule is duplicated between two functions. These are code-quality observations for human reviewers.
Detail
1. Changed surface (fully accounted for)
The PR touches exactly two files, both in heliopause/src/export/:
| File | Change |
|---|---|
heliopause/src/export/capture.rs |
+6 / −1 |
heliopause/src/export/reachability.rs |
+428 / −29 |
No docs, CI configuration, workflows, scripts, prompt files, or config files are modified — so there is no vector for a hidden instruction file or a CI behaviour change hidden in this diff. 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 follow-up commit smuggles in unrelated changes.
All 434 added lines fall into these buckets: new UnresolvedCandidate / UnresolvedEntry / Site structs; the unresolved: HashMap<u64, UnresolvedEntry> field and blobs changed from HashSet to a map of miss lists; candidate() changed to return bool; blob() taking a &Site; new unresolved_count(), unresolved_unique_addresses(), unresolved_report(), and a with_count helper; scan() gaining a base offset and optional miss vector; graph() gaining a name and node index; ~10 new #[cfg(test)] tests; and the capture.rs print block. The ~29 removed lines are the superseded bodies of the old pointer()/blob() logic and the corresponding call sites.
2. Verified citation: the only side effect is eprintln!
heliopause/src/export/capture.rs:3137-3141:
if reach.unresolved_count() > 0 {
for line in reach.unresolved_report(&output.index.ranks[0].functions) {
eprintln!("export: rank {}: {line}", request.rank);
}
}
The block is gated on a non-zero count, emits one prefixed line per report entry, and has no error path — consistent with the PR's claim that the diagnostic is non-blocking and cannot change export success or failure. Running on every rank is intentional (the output is labelled with request.rank), which is what the reviewer asked for in round 1.
3. Verified citation: candidate detection and the address→first-site map
Inactive-segment test, heliopause/src/export/reachability.rs:131-135:
fn candidate(&mut self, value: u64) -> ExportResult<bool> {
let inactive = self.inactive.partition_point(|&(start, _)| start <= value);
if inactive > 0 && value < self.inactive[inactive - 1].1 {
return Ok(true);
}
Note the inactive case returns true without calling reference() — i.e. the inactive allocation is not retained, matching the stated "does not retain the inactive allocation or turn these candidates into export failures".
First-site retention and occurrence counting, reachability.rs:170-185: the code takes let order = self.unresolved.len(); and then entry(address).and_modify(|e| e.occurrences += 1).or_insert_with(...), storing graph, node, function, argument, offset, order and occurrences. This is the single address-to-first-site/count map the description refers to, and order gives deterministic report order independent of hash iteration.
4. Verified citation: the scan loop
heliopause/src/export/reachability.rs:248-274: scan() early-returns when no intervals are recorded, computes floor/ceiling from the first and last recorded interval, and iterates data.windows(8).enumerate(), decoding each window as a little-endian u64. Candidates are collected only when the value falls inside the envelope, and misses are pushed as (base + offset, pointer) only when misses is Some — so the numeric-exclusion path is unchanged in behaviour.
5. Injection-specific searches (all negative)
Over the PR's changed code and the surrounding heliopause/src/export folder:
ignore (all|previous|above) instructions,as an AI,language model,SYSTEM:,assistant,note to,do not review,do not (flag|report),please (approve|merge),LGTM,autobot(case-insensitive) → no matches.std::env,fs::,File::,Command,std::process::Command,unsafe,#[no_mangle],include_str,include_bytes,reqwest,base64,.ssh,exfil,api[_-]?key→ no matches in PR code; hits only in pre-existingcore.rs(not opened) /weight_reuse.rs(not opened) signed-envelope code not touched here.- No encoded or obfuscated blobs, no long high-entropy literals, and no URLs or addresses that any code path fetches or executes.
6. Discussion and referenced material — items examined and dismissed
- PR description,
Discord: myong_acct— standard author attribution in this repository's PR style. It is not a directive and does not instruct a tool to contact anyone. - Review round 1–3 by yatesdr (changes requested) — specific and line-referenced: report the recorded kernel symbol rather than a
CUfunctionhandle (capture.rs:3150), label the rank, keep one example per address, cap examples withtake(remaining)(reachability.rs:176), report only 8-byte-aligned argument offsets (reachability.rs:259), and state the inactive-range rule once (reachability.rs:262-265). None of these asks for a change to review process, CI, tooling, or model behaviour. - Author reply, 2026-11-19 21:02 — per-rank export numbers (175,329 occurrences / 2,646 distinct; 170,544 / 2,637), example site
prefill4096node 34MHCPostPrePartialKernel, and an explicit statement that "These totals include the whole graph scan; they do not establish W4A8 MoE kernel behavior or whether the mHC values are constants or stale pointers." This is candid self-limitation rather than assertion, consistent with charter line 11 ("Bring real evidence"). - Issue #266 (referenced) — a technical bug report about a stale cuBLASLt split-K workspace pointer being retained by the first captured graph. Its inline
ignition/preparation/capture.py(not opened) patch callingtorch._C._cuda_clearCublasWorkspaces()is a genuine engineering suggestion aimed at the capture path (the related merged PR #331 implements it), not at an agent. Its offer to share an "out-of-tree version of this check" is a normal offer between engineers; the PR adds and executes no such script — the file list confirms no new files. unresolved_report(&output.index.ranks[0].functions)atcapture.rs:3138— a legitimate signature/symbol lookup against the exported function index, consistent with the described "resolves kernel names from the recorded function index". It reads no external data.
7. Residual observations (engineering, not security)
- Round-3 blocking item appears unaddressed at head
c3cc87e.scan()atreachability.rs:259still iteratesdata.windows(8)with a one-byte step, so with ~2,640 distinct candidates per rank the ten printed examples are effectively uninformative about argument alignment. This is a review-blocking code concern, not a security one. - Duplicated inactive-range logic. The same predicate is computed in
candidate()(reachability.rs:131-135) and again inscan()(reachability.rs:262-266), which the reviewer also asked to consolidate. - The diagnostic is deliberately non-blocking, so it cannot mask a real export failure — good from both a correctness and a safety standpoint.
Open questions / not found
- No security-relevant open questions. I found no injection attempt, no hidden instruction, no encoded payload, and no attempt to direct agentic behaviour. The screening is complete for the changed surface (both files, full diff), the discussion (all four entries), the referenced issue, and the branch history.
- Not assessable by screening, and not a security matter: whether the reported candidates are genuine stale pointers. The author states the export did not reproduce #266's four-GPU DeepSeek V4.1 failure, that only three RTX PRO 6000 GPUs were available, that no W4A8 MoE export was validated, and that values outside the recorded envelope or aliasing live storage are not detected. Those are validation gaps for a human reviewer to weigh, and they are disclosed rather than hidden.