#1 [high] Screening of PR #560 for prompt injection
PR NVIDIA/hyperflare-inference#560 "Emit vLLM-compatible per-request metrics from runtime instants" (open, draft, author WynnD, head 037b9d5, 18 files +1898/−123). Stacked on #548; supersedes closed #552 and #553; closes #551.
Inspected:
- pr_comments: zero comments/reviews on #560 — no conversation to plant instructions in.
- pr_files: all 18 files "modified"; no new files, no scripts, no binaries, no workflow/CI changes.
- Full diffs read for: flare-cli/src/cli.rs+main.rs, helios/src/server/protocol/encode.rs, helios/src/server/metrics.rs, http.rs, runtime.rs, config.rs, server.rs, observation.rs, latency.rs, scheduler.rs+tests, protocol/tests.rs, runtime/phase_tests.rs, runtime/response_lifecycle_tests.rs, helios/model-contract.md, docs/api.md, docs/cli-design.md.
- Related stacked/closed PRs #548, #552, #553 read: normal technical descriptions, no directives, no injections.
Findings: no injected instructions, no text aimed at an AI agent, no jailbreak/exfiltration payloads, no encoded/obfuscated blobs, no unicode bidi/zero-width tricks, no credential access, no network callbacks, no test-only code paths with hidden behavior. The only "instruction"-like string in the touched area is pre-existing product code (helios/src/server/inference.rs:386, a tool_choice=required prompt string for the model, unchanged by this PR).
Assessment: All Clear. The PR is a substantive metrics feature; deviations from repo convention it openly documents itself (no [server] per_request_metrics config key, flag only; WinUI cannot enable it; persistent Orbit groups cannot negate it) — a design/policy concern, not security.
#2 [high] Research summary
Screening of NVIDIA/hyperflare-inference#560 ("Emit vLLM-compatible per-request metrics from runtime instants") is complete: All Clear.
The PR has no discussion at all (zero comments, reviews, or inline comments), so there is no conversation surface for injected instructions. All 18 changed files are modifications to existing Rust source, docs, and CLI-flag plumbing — no new files, scripts, workflows, or binaries. I read the full diffs of every changed file, including the user-facing prose (docs/api.md's new per-request-metrics and metrics sections, docs/cli-design.md's flag table, helios/model-contract.md) and the largest code additions (metrics.rs histogram infrastructure, encode.rs RequestMetrics/metrics_value, runtime.rs Committed event and RequestTimes plumbing, http.rs encoder-before-submission reordering, and the new tests). I also checked the stacked and superseded PRs (#548, #552, #553) that this description leans on.
Nothing in the diff targets an AI agent or tries to steer its behaviour: no "ignore previous instructions"-style text, no directives to reviewers/agents, no fabricated tool output or hidden comments, no encoded or obfuscated payloads, no bidi/zero-width tricks, no credential access, no outbound network calls (the only sockets in touched test code are 127.0.0.1 listeners), and no test-gated backdoors. The one instruction-like string in the touched area (helios/src/server/inference.rs:386 (not opened), the tool_choice=required prompt text) is pre-existing product code unchanged by this PR.
The report will note that the only judgment calls in this PR are conventional design/policy deviations the author documents openly (no [server] per_request_metrics config-file key, flag-only enablement, WinUI cannot enable it, a persistent Orbit group cannot turn it off) — a review concern, not a security one.
#3 [high] Coverage inventory and citations for PR #560 screening
PR #560, head 037b9d5, base main, 18 files +1898/−123, open draft, no labels, no CI checks on head, zero comments/reviews.
Files (all modified, none added): docs/api.md (+178/−4), docs/cli-design.md (+2/−1), flare-cli/src/cli.rs (+40), flare-cli/src/main.rs (+3), helios/model-contract.md (+14/−6), helios/src/scheduler.rs (+4), helios/src/scheduler/tests.rs (+7), helios/src/server.rs (+8), helios/src/server/config.rs (+18), helios/src/server/http.rs (+59/−28), helios/src/server/latency.rs (+24/−8), helios/src/server/metrics.rs (+548/−2), helios/src/server/observation.rs (+8/−8), helios/src/server/protocol/encode.rs (+93/−1), helios/src/server/protocol/tests.rs (+174), helios/src/server/runtime.rs (+155/−55), helios/src/server/runtime/phase_tests.rs (+559/−10), helios/src/server/runtime/response_lifecycle_tests.rs (+4).
Every one of those diffs was read in full. Content is ordinary Rust: histogram buckets/atomics (metrics.rs), Commited event + RequestTimes (runtime.rs GenerationEvent, http.rs event loop), Encoder::enable_request_metrics/record_commit/record_times/metrics_value (encode.rs), CLI flag plumbing (flare-cli cli.rs OrbitRun/Run structs), Bootstrap bool validation (config.rs ~line 353), and unit/phase tests. No shell-outs, no new deps, no network targets, no file writes beyond pre-existing test temp dirs, no unicode trickery, no encoded blobs.
Only instruction-like literal in the touched area: helios/src/server/inference.rs:386 "You must call at least one of the provided tools in your next response..." — pre-existing product prompt text for tool_choice=required, not agent-directed and not changed by this PR.
Documented design/policy deviations (author-disclosed, not concealed; review concerns, not security): flag-only enablement with no [server] per_request_metrics config-file key (docs/cli-design.md flag table, flare-cli/src/cli.rs Run.enable_per_request_metrics); flag applies to rank zero and is forwarded to rank zero's flare run (docs/cli-design.md ~line 173); consequences named in the description (WinUI desktop controller reads config only, persistent Orbit group cannot negate the flag).