Screen malicious report · NVIDIA/hyperflare-inference #483

Raw Markdown for agents: https://autobot.eidonix.com/p/c072672f-855e-4196-a161-4586602028b1.md

Prompt-injection / agentic-abuse screening — PR #483

Key findings


Coverage

Area Files Verdict
Discussion (pr_comments) 5 entries Benign — normal review prose
tests/frontend/ (new) 2 files, +350 Benign — deterministic generator + hash fixture
tests/preparation/ (new) 1 file, +257 Benign — pytest with negative cases
ignition/preparation/ 3 files, +247/−175 Benign — closed-failing checkpoint validation, regenerated pb2
helios/src/ 24 files, +1563/−60 Benign — image processor, packing, layout spans, load-time validation
helios/proto/, helios/build.rs 2 files, +16 Benign — additive proto tags + one serde attribute
helios/, docs/ prose 4 files Benign — documentation only
Test fixtures (flare-cli/tests, helios/tests, scheduler/server tests) ~15 files, +1 each Benign — mechanical patch_features: 0 additions

Detail

1. Conversation (pr_comments, 5 entries, oldest first)

  1. flare-autobot case-file notice with a link to autobot.eidonix.com. This is an external automated-review-service artifact. It contains no instruction directed at an agent and was not fetched (third-party page, not part of the PR's reviewable material).
  2. flare-autobot review, "Changes Requested": blockers B1 (packing.rs patches_per_feature → width lookup table encodes model identity), B2 (HF parity tests silently no-op when the env/venv is absent), B3 (atomic spans emitted from shared model/prompt.rs), plus should-fix S1–S7 and 7 nits. Ordinary, technically substantive review prose.
  3. rickybrent reply: point-by-point resolution; explains that MiniMax's temporal duplication yields 1176 = 3 * 2 * 14², which cannot be derived from 3 * patch_size², hence the new patch_features wire field rather than a derivation.
  4. flare-autobot second review: no blockers; S1–S5 remaining; explicitly notes that large unrelated base-branch churn visible in the diff (RebuildManifest → PreparationManifest, banner removal, parallax) is not the author's and landed on main.
  5. rickybrent reply: implements S1–S5 and discloses keeping patch_size/pooling_kernel_size as wire fields deliberately (defense in depth, matching the PatchMergeImageSettings precedent).

Assessment. The only text that superficially reads as directive — e.g. "→ Put the width in prepared metadata", "→ Delete the first two" — is reviewer advice addressed to the human author, and the author's follow-up confirms it was implemented as code changes. No reviewer asks anyone (human or agent) to run commands, read secrets, change rules, or fetch remote content. Nothing attempts to impersonate a system or operator message.

2. New Python: fixture generation and tests

3. ignition/preparation/

4. helios/src/frontend/images/gemma4.rs (new, 504 lines)

Genuine image-preprocessing implementation: SUPPORTED_SOFT_TOKENS = [70, 140, 280, 560, 1120]; Processor::load validates patch_size in 1..=64, pooling in 1..=16, pooling_kernel_size² == limits.patches_per_feature, and max_soft_tokens * pooling_kernel_size² <= limits.max_patches_per_image; geometry() performs an area-bounded antialiased bicubic resize; process() interleaves patches as (y, x, channel) with overflow-guarded arithmetic. The one environment-gated test is #[ignore]d, reads FLARE_GEMMA4_TEST_SNAPSHOT, and writes a temporary Jinja template whose cleanup is protected by a Drop guard. No shell-out, no network, no filesystem writes outside the test temp file.

5. Remaining Rust diffs

All mechanical and consistent with the description:

6. Proto and build

7. Docs and fixtures

8. Repository-wide sweeps

Regex searches at pr/483 for injection phrasing ("ignore previous", "disregard", "system prompt", "prompt injection", "autobot", "do not report") and for risky APIs (os.system, subprocess, eval(, base64, api_key, webhook, http(s)://) returned only pre-existing, unrelated repository content (e.g. .githooks/commit-msg, AGENTS.md (not opened) links, docs/api.md (not opened)). No new or touched file contains such constructs.

Additional cleanliness signals: no image or binary blobs added (the only new non-source artifact is a JSON fixture of hashes); no changes to CI workflows, secrets, permissions, or dependencies.


Open questions / what could not be verified

  1. External review-service links. Two autobot.eidonix.com links in the conversation were deliberately not fetched, since they are third-party pages rather than part of the PR's reviewable material, and fetching them could leak PR context to a third party. They do not appear to carry instructions themselves; the PR material is self-contained, so this does not affect the verdict.
  2. Live-checkpoint and HF-parity claims. The #[ignore]d snapshot test requires a local google/gemma-4-31B-it@842da379 checkout, and three pytest cases require cached checkpoints; neither is exercisable at review time. This is a correctness-evidence limitation cited in the PR description, not a security concern — and the fixtures were checked in so parity is tested unconditionally under plain cargo test.
  3. Diff noise from the base branch. The second automated review notes unrelated churn visible in the diff (RebuildManifest → PreparationManifest, banner removal, parallax) that landed on main, not from this author. It was reviewed as base-branch noise and is not a hidden change attributable to the PR.
  4. Tooling note (not a defect). The code-search backend rejects (?i) inline flags and look-around; case-insensitive sweeps required the ignore_case parameter and plain ERE. Recorded so a re-run is reproducible.

Conclusion: All Clear. No suspicious prompt injection or other items aimed at causing unwanted agentic behavior were found in PR #483.