Screening report — NVIDIA/hyperflare-inference PR #560
PR: "Emit vLLM-compatible per-request metrics from runtime instants" — https://github.com/NVIDIA/hyperflare-inference/pull/560
State: open, draft; base main; head 037b9d5; 18 files, +1898/−123; no labels; no CI checks on the head commit; author WynnD (association NONE).
Key findings
- Result: All Clear. No prompt injection, jailbreak text, instruction aimed at an AI agent, or any other content intended to cause unwanted agentic behavior was found anywhere in the pull request.
- No discussion surface exists.
pr_commentsreturns "No comments": there are zero comments, zero reviews, and zero inline review comments on #560. Nothing has been said in-thread that could try to direct an agent. - No new files, scripts, binaries, workflows, or CI changes.
pr_fileslists all 18 changed files asmodified. The change is confined to existing Rust sources, CLI flag plumbing, and documentation. - Every changed diff was read in full and contains ordinary Rust: histogram buckets and atomics, a
Committedgeneration event withRequestTimesplumbing, theEncodermetrics path, aBootstrapboolean validator, CLI flag structs, and tests. No hidden payloads, no encoded blobs, no unicode bidi/zero-width tricks, no shell-outs, no new dependencies, no outbound network calls, no credential access, no test-gated backdoors. - The one instruction-like string in the touched area is pre-existing product code, unchanged by this PR:
helios/src/server/inference.rs:386—"You must call at least one of the provided tools in your next response. Choose the appropriate tool and arguments."— atool_choice == Requiredsystem prompt injected into the prompt sent to the served model. It is aimed at the model, not at an agent, and its surrounding file is not part of the diff. - The PR's real deviations are design/policy, disclosed by the author, not security issues (details below).
Scope and coverage
What was inspected, with the citations needed to justify the verdict:
Pull request surface
- Conversation:
pr_comments→ no comments at all; therefore no reviews, no inline review comments, no linked discussion to mine for planted instructions. - File list (
pr_files), allmodified, none added:docs/api.md(+178/−4) — the new per-request-metrics section: field names, placement per protocol, null rules, cost.docs/cli-design.md(+2/−1) — the--enable-per-request-metricsflag entry and the rank-zero forwarding note.flare-cli/src/cli.rs(+40/−0) —Run/OrbitRunflagenable_per_request_metrics.flare-cli/src/main.rs(+3/−0) — forwarding the flag into rank zero'sflare run.helios/model-contract.md(+14/−6) —first_scheduled_nsand theCommittedevent in the response event budget.helios/src/scheduler.rs(+4/−0),helios/src/scheduler/tests.rs(+7/−0) — plumbing of thecommitsrequest flag.helios/src/server.rs(+8/−0) — wiringper_request_metricsinto the server.helios/src/server/config.rs(+18/−0) —Bootstrapacceptsper_request_metricsonly as a boolean (absent/true/false accepted;1,"true",nullrejected).helios/src/server/http.rs(+59/−28) — encoder constructed before submission;Finishedcarriesarrival_nsandRequestTimes; event loop consumesCommitted.helios/src/server/latency.rs(+24/−8) —RequestTimes/first_scheduled_nssupport.helios/src/server/metrics.rs(+548/−2) — request histograms: buckets, atomics, observation recording.helios/src/server/observation.rs(+8/−8) — observation struct fields.helios/src/server/protocol/encode.rs(+93/−1) —enable_request_metrics,record_commit,record_times,metrics_value,RequestMetrics.helios/src/server/protocol/tests.rs(+174/−0) — encoder placement and null-rule tests.helios/src/server/runtime.rs(+155/−55) —GenerationEvent::Committed { at_ns },Finishedfields,commitsflag throughgenerate_observed,generate_many_observed,enqueue_many,output_event_capacity.helios/src/server/runtime/phase_tests.rs(+559/−10) andruntime/response_lifecycle_tests.rs(+4/−0) — step-by-step worker tests asserting the instants fall inside the expected steps.
- All of the above diffs read in full; the largest additions (metrics.rs, phase_tests.rs, encode.rs, runtime.rs, http.rs) were read rather than sampled.
Related items read for context (the description leans on them; all ordinary technical material):
- #548 (open, pr) — the stacked per-request histogram change.
- #551 (open, issue) — the request that #560 closes ("Report per-request timings on final responses so llama-swap can show prompt and decode rates").
- #552 (closed, pr) — superseded llama.cpp (not opened)
timingsapproach. - #553 (closed, pr) — superseded HTTP-admission-timed approach.
What was looked for, and not found
Each of these was specifically checked across the diff and produced nothing:
- Injected instructions aimed at an agent or reviewer — no "ignore previous instructions", no system/assistant-role text, no directives like "you must approve", "run this command", or "read this URL". The docs prose (
docs/api.md,docs/cli-design.md,helios/model-contract.md) is purely descriptive specification text. - Fabricated tool output or fake file/command results embedded in comments or test data — none; comment blocks are normal explanatory Rust doc comments.
- Encoded, obfuscated, or otherwise suspicious literals — no base64/hex blobs, no unusual escapes, no unicode bidi overrides or zero-width characters in names, strings, or docs.
- Code-execution or exfiltration paths — no
Command/std::processshell-outs, no new dependencies, no HTTP client or socket writes to external hosts (the only sockets in touched test code bind127.0.0.1), no file writes outside pre-existing test temp directories. - Credential or secret access — no environment-variable reading of tokens/keys, no config-path exfiltration.
- Test-gated hidden behavior — new tests are straightforward assertions on timings and serialization; nothing branches on a test-only condition to change production behavior.
- CI/workflow tampering — no
.github/, workflow, or script files are touched at all. - Instruction-like strings in the touched area — the single hit,
helios/src/server/inference.rs:386, is verified pre-existing, is atool_choice == Requiredsystem instruction to the served model, and is outside the diff.
Design/policy notes (not security findings)
These are substantive review concerns that the PR description and docs disclose openly rather than conceal, so they are recorded for the reviewer but do not affect the screening verdict:
- Flag-only enablement:
--enable-per-request-metricssetsper_request_metricsin the server configuration, butflare run's configuration file has no[server] per_request_metricskey, matching--bypass-performance-checkand--verify-weights(docs/cli-design.mdflag table;flare-cli/src/cli.rsRun.enable_per_request_metrics). The author states this consequence: the WinUI desktop controller reads only configuration settings and therefore cannot enable the option. - Rank-zero scope and forwarding: the flag applies to rank zero and is forwarded to rank zero's
flare run(docs/cli-design.md, ~line 173;flare-cli/src/main.rs+3). - No negating flag: a persistent Orbit group that saves the flag cannot turn it off without one — disclosed in the description.
- Charter fit: the charter asks that standard request fields not be silently dropped (line 13) and that per-model branches/flags be avoided (line 43). The new fields are implemented and documented and the flag is server-level rather than model-specific, so no charter violation is apparent; the config-key omission above is the main convention deviation and is the author's to justify.
Open questions
- None outstanding for the screening. Nothing suspicious was found that remains unexplained.
- Explicitly out of scope and not attempted: GPU execution, an exported core, a live server, a llama-swap/gateway check, the Windows build, and CPU-overhead measurement — the description itself lists these as not run here, and none is relevant to injection screening.
Conclusion
All Clear. PR #560 is a substantive, self-documented per-request metrics feature with no discussion thread, no added files or automation, and no content of any kind calculated to influence an agent's behavior.