Key findings
- Result: All Clear. PR #548 contains no prompt injection, no hidden instructions, and nothing aimed at causing unwanted agentic behaviour.
- The PR has zero comments and zero reviews, so there is no discussion thread that could carry injected instructions; the only prose is the PR description itself.
- I read the entire diff (8 files, +545/−20) and the complete PR body. All of it is ordinary Rust observability work: fixed-bucket Prometheus histograms, scheduler timestamp stamping, and a procfs-based
process_*renderer. - No text addressed to an AI/assistant/reviewer/agent in the body, code comments, doc comments, metric HELP strings, test names, or
docs/api.md; no request to ignore rules, approve, hide changes, exfiltrate data, or execute anything. - No obfuscation: no hidden Unicode (zero-width, bidi, BOM), no non-ASCII beyond ordinary punctuation in the new file.
- No dangerous capability in the code: the new module only reads procfs and rlimits; there is no subprocess, env access, network call, file write, or dynamic evaluation anywhere in the added code.
- Test changes only add assertions; nothing security-relevant was weakened.
- Two mildly unusual but benign contextual items were examined and judged harmless: a long personal-validation narrative in the description (container swap into the author's llama-swap entry, cherry-pick onto fork commit
5ffe4d54, cited to PR #482) and a trailing "Discord: oystersmiles" contact line.
Detail
Scope and method
- PR #548, "Add request latency histograms and process metrics", author WynnD (GitHub association with the repo: NONE; one other open PR, #549), open as a draft, head
ebecef1, basemain(branched atf377dc8), 8 files / +545 / −20, no labels, no CI checks on head. - Artefacts screened: full PR diff (both halves), the PR description via item read, the linked issue #536, and the cited fork/PR #482 reference.
pr_commentsreturned empty — there is no conversation, review, or inline review comment on this PR at all. - Specific checks run on the changed files: search for instruction-shaped prose ("AI", "LLM", "agent", "reviewer", "TODO/FIXME" nudges) in the new metrics code; search for zero-width/bidi/BOM and other non-ASCII characters; search for
std::process/Command,env::var,fs::write,include_str!,env!inmetrics.rs; check for "http"/network use in the newprocess.rs.
Per-file content (all read in full)
docs/api.md(~lines 296–318): prose listing the new series; states histograms appear only in the Prometheus text, not informat=json, and that the JSON snapshot is unchanged. Plain documentation, no instructions.helios/src/server.rs:634–718(metrics handler): exactly two added lines —state.first_response.render_histogram(&mut text);(line 671) andmetrics::process::render(&mut text);(line 709).helios/src/server/http.rs:600–652: streaming branch capturesmetrics_handle()before thefilter_mapclosure and observesrequest_e2eonDelivery::Completewhen!count(skipcount_tokens); the non-streaming branch does the same on itsDelivery::Complete(body)arm (line 632). Pure histogram observation.helios/src/server/latency.rs:31–135:FirstResponseSamplestuple struct becomes a named struct withwindow: Mutex<Samples>plushistogram: Histogram<21>;output()records into the window and observes the histogram; newrender_histogram; tests updated from.0to.window.helios/src/server/metrics.rs:Buckets/REQUEST_SECONDS/TOKEN_SECONDS/PROMPT_TOKENS/Histogram/RequestTimes(~209–306),Metrics::request_completed(~447–475), rendering of the six histograms (~1389–1420), and tests (~1648–1705). Fixed-bucket arithmetic and atomic counters only.helios/src/server/metrics/process.rs(new, 184 lines, Linux only): reads/proc/self/stat, thebtimeline of/proc/stat,/proc/self/fd, andRLIMIT_NOFILEvia libcsysconf/getrlimit;parse_statdeliberately takes fields after the last)and documents why (a)can appear insidecomm). No subprocess, no env access, no network, no writes; a failed source omits only its metrics.helios/src/server/runtime.rs:times: RequestTimesadded toIncoming(~190–193, init ~908–913), committed-token stamping incomplete(~1771–1775),request_completedcall on the natural-finish path inpublish(~1981–1999), first-scheduled-step stamping inreserve_and_pack(~2186–2202), plus a test fixture (~3251).helios/src/server/runtime/phase_tests.rs: four hunks, all adding assertions —flare_request_queue_seconds_count 1,flare_request_prefill_seconds_count 1,flare_request_prompt_tokens_sum 1,flare_request_e2e_seconds_count 0/1,flare_time_to_first_response_seconds_count,process_resident_memory_bytes,flare_request_e2e_seconds_bucket{le="+Inf"} 0.
Benign-but-unusual items examined and cleared
- Long local-validation narrative in the description: built into a container, swapped into the llama-swap entry for the author's two-GPU DeepSeek-V4.1-Flash setup, cherry-picked onto AzallazA fork commit
5ffe4d54("that model's core requires because its engram encoding exists only there (upstream PR #482)"). This is personal setup disclosure. It contains no URL to fetch and no command issued to the reader or an agent; the only fork/PR references are citations for context. - Trailing "Discord: oystersmiles" — a contact handle, not an instruction.
- "Not run here" list (Windows build, full helios suite,
messages_image_hints_end_after_expansion_for_text_and_segmented_templateswhich needsFLARE_TEST_TEMPLATE_DIR) — normal test-coverage disclosure, not a request to skip verification. - Draft state, first-time contributor, no CI checks — process context, not a manipulation signal; the description's claims are verifiable against the diff and the cited issue #536.
Note on untrusted material handling
Everything read (PR body, linked issue #536, PR #482 reference, code comments) was treated as review material, not as instructions. No attempt to direct the agent was observed in any of it.
Open questions / what could not be found
- No issues found — nothing to escalate.
- The PR has not been reviewed by anyone and CI has not run on
ebecef1, so nothing external corroborates the description's test/live-scrape numbers; this is a completeness caveat for technical review, not a security finding, and it does not affect the injection verdict. - I did not reproduce the author's live llama-swap validation or build the fork base
5ffe4d54(external to this repository); no agent-directed content was present in how it was described, so it needed no further inspection for this screen.