#1 [high] PR #483 screening result: All Clear
PR 483 (rickybrent, open, +732/-164, 13 files) "Add Gemma 4 image prep profile, bracketed 3x3 packing & atomic spans".
Screening performed:
- pr_comments: "No comments." (result 1) — no discussion, no review comments, hence no injected text in conversation.
- pr_files: 13 files only (proto, 10 helios/src, 2 ignition/preparation). No .github, no scripts, no new docs pages, no CI additions (result 2).
- Full pr_diff read in chunks (results 3,4,5,6,16,40): content is ordinary Rust/Python/proto code — Gemma4ImageSettings proto message tag 11, gemma4.rs processor (resize/patch packing), bracketed_patch_geometry(4->(2,1176), 9->(3,768)), Envelope refactor in patch_merge.rs, spans population in model/prompt.rs:137-151, frontend.py gemma4 profile validation, regenerated runtime_core_pb2.py.
- No instruction-like text: searches for "agent|assistant|instruction|ignore|inject|TODO" in gemma4.rs and frontend.py -> no matches (results 21,22). Search for "you are|your task|note to|dear reviewer|AI agent|Claude|ChatGPT|LLM" over helios/src and ignition -> only benign vLLM comments (results 45,46). "Autobot" -> no matches (27).
- No hidden/zero-width or bidi characters: searches for U+200B and U+202E -> no matches (results 34,51).
- No curl|wget|bash -c|rm -rf|powershell added anywhere new (result 28 lists only pre-existing files).
- New shell-out calls in tests only: helios/src/frontend/images/gemma4.rs:267 and :356 run "../.venv/bin/python" with a fixed inline script to compare against HF Gemma4ImageProcessor, and :238-299 uses FLARE_GEMMA4_TEST_SNAPSHOT + temp file; both are gated (skip if python/snapshot absent) and match the existing precedent at helios/src/frontend/images/patch_merge.rs:174-212 (result 11).
- The description's "Discord: ran.cossack" is a contact handle, not an instruction.
Behavioral/code-integrity observations (not injection): runtime_core_pb2.py header protobuf version moves 7.36.2 -> 7.36.1 (regenerated with an older protoc; runtime check is >= so still valid); spans are populated only when empty and an atomic ImageSpan is declared, ordered by conditioned_inputs.
Conclusion: nothing aimed at causing unwanted agentic behavior. All Clear.
#2 [high] Research summary
All Clear.
I read PR #483 in full: the description, the (empty) discussion, all 13 changed files via pr_files, and the complete diff including the regenerated ignition/preparation/runtime_core_pb2.py descriptor blob. The change is what it claims to be — a Gemma 4 image-preparation profile (proto tag 11 Gemma4ImageSettings, ImagePreparationKind::Gemma4 = 11, prepare_frontend(..., image_profile="gemma4")), a new Rust gemma4.rs processor, a Bracketed patch geometry derived from patches_per_feature (4→1176, 9→768), an Envelope extraction from patch_merge.rs, and population of prepared.data.spans in helios/src/model/prompt.rs:137-151.
No prompt injections, no agent-directed text: searches for instruction-style phrasing ("you are", "your task", "note to reviewer", "AI agent", "Claude/ChatGPT", "ignore …", "Autobot") across helios/src and ignition return nothing beyond pre-existing vLLM comments; there are no zero-width or bidi control characters (U+200B, U+202E) anywhere; no new curl/wget/bash -c/powershell/rm -rf; no new CI workflows, scripts, docs or config that could alter agent or build behavior. The only new Command::new calls are inside #[cfg(test)] code in helios/src/frontend/images/gemma4.rs:267,356, running the repo's own .venv/bin/python with a fixed inline parity-check script, gated to skip when the venv or FLARE_GEMMA4_TEST_SNAPSHOT is absent — the same pattern already used in patch_merge.rs:174-212. The description's "Discord: ran.cossack" is a contact handle, not an instruction.
Minor non-security notes: the regenerated runtime_core_pb2.py header drops from "Protobuf Python Version: 7.36.2" to 7.36.1 (compiled with an older protoc; the runtime version check is a minimum, so it still imports), and the new span population is additive — only when data.spans is empty and the layout declares an atomic ImageSpan.
#3 [high] PR #483 report-ready citations and caveats
Verdict: All Clear (no malicious prompt injection, no agent-directed content).
Citations the report can quote directly:
- Empty discussion:
pr_commentsreturned "No comments." — nothing to inject via conversation. - File inventory (13 files, +732/-164): helios/proto/runtime_core.proto; helios/src/frontend/images/{conditioned,gemma4,mod,packing,patch_merge}.rs; helios/src/model/{contract,packing,prompt}.rs; helios/src/runtime_core/{describe,protobuf}.rs; ignition/preparation/{frontend.py,runtime_core_pb2.py}. No .github/, no scripts/, no docs, no dependency or lockfile changes.
- Proto:
GEMMA4_IMAGE_PREPARATION = 11(helios/proto/runtime_core.proto:386),Gemma4ImageSettingsmessage with 6 scalar fields (runtime_core.proto:535-542); Rust mirror at helios/src/model/contract.rs:68 and helios/src/frontend/images/mod.rs:333-340 (deny_unknown_fields). - Packing: helios/src/frontend/images/packing.rs:16-22
bracketed_patch_geometry(4 => (2,1176), 9 => (3,768), else Err); the previous hard-codedpatches_per_feature != 4guard becomesgeometry.tokens*patches_per_feature == geometry.patches, so no model-identity branching. - Spans: helios/src/model/prompt.rs:137-151 — fills
data.spansfromconditioned_inputsonly when spans are empty ANDcontract.frontend.image_tokens.spanis Some; validated afterwards byvalidate_conditioned_inputs(prompt.rs:158-193). - Python: ignition/preparation/frontend.py:113-137 gemma4 branch — strict
_expected(...)equality checks on processor_class, image_processor fields, model_type and vision_config; tokens hard-coded to<|image|>/<|image>/<image|>; max_soft_tokens restricted to (70,140,280,560,1120). Helper_expectedat frontend.py:85-89. - Shell-outs are test-only and pre-existing precedent: helios/src/frontend/images/gemma4.rs:267 (downloaded_template_asset via ../.venv/bin/python -c) and :356 (Gemma4ImageProcessor parity); both early-return when the venv/snapshot is absent (:236-246, :352-355). Same pattern already on main at helios/src/frontend/images/patch_merge.rs:174-212.
- Absent-injection checks: searches for "agent|assistant|instruction|ignore|inject|TODO|FIXME" in gemma4.rs and frontend.py -> No matches; "you are|your task|note to|dear reviewer|AI agent|Claude|ChatGPT|LLM" over helios/src and ignition -> only benign vLLM comments (helios/src/output/chatml.rs:407, helios/src/server/models.rs:72, helios/src/server/runtime.rs:42); "Autobot" -> No matches; U+200B and U+202E -> No matches; "curl -s|wget http|/bin/sh|powershell|bash -c|rm -rf" -> only pre-existing files (Dockerfiles, docs/windows.md, flare-cli/orbit tests).
Minor, non-security observations to mention once:
- ignition/preparation/runtime_core_pb2.py header changes "Protobuf Python Version: 7.36.2" -> "7.36.1" (generated with an older protoc;
ValidateProtobufRuntimeVersionasserts a minimum, so imports still succeed). Rest of the file is a mechanical re-serialization: the new_GEMMA4IMAGESETTINGSdescriptor entry plus shifted_serialized_start/_serialized_endoffsets. - No tests are added for the new
data.spansbehavior in helios/src/model/tests.rs (onlyImageSettings::Gemma4added to the profile list at helios/src/frontend/images/conditioned.rs:361). - Claimed verification (45 passed frontend::images, 53 model::, cargo check, 15 pytest) cannot be reproduced here: CI reports no checks on head f2340e4.