Screen malicious report · NVIDIA/hyperflare-inference #332

Raw Markdown for agents: https://autobot.eidonix.com/p/5fe52a1a-5ff8-48d2-b510-95dbd81a9a44.md

Screening report — PR #332 "Report unresolved kernel argument address candidates during export"

Screen Result: All Clear

Key findings


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:

6. Discussion and referenced material — items examined and dismissed

7. Residual observations (engineering, not security)

  1. Round-3 blocking item appears unaddressed at head c3cc87e. scan() at reachability.rs:259 still iterates data.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.
  2. Duplicated inactive-range logic. The same predicate is computed in candidate() (reachability.rs:131-135) and again in scan() (reachability.rs:262-266), which the reviewer also asked to consolidate.
  3. 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