#1 [high] PR #548 prompt-injection screening: All Clear
PR #548 "Add request latency histograms and process metrics" by WynnD (author association NONE, second PR after #549), open draft, head ebecef1, 8 files +545/-20.
Screening performed:
- pr_comments: empty (no conversation, no review comments) — nothing to treat as instruction.
- Full pr_diff read (both halves): docs/api.md (+25/-3), helios/src/server.rs (+2), server/http.rs (+6/-1), server/latency.rs (+27/-8), server/metrics.rs (+228), new server/metrics/process.rs (184 lines), server/runtime.rs (+38/-8), runtime/phase_tests.rs (+35).
- read_item 548 confirms the description is the same as the task preamble (build/test evidence, llama-swap/Docker local validation, mentions fork commit 5ffe4d54 / PR #482, Discord handle "oystersmiles"). Nothing addressed to an AI/agent, no instructions to ignore policy, no external links to fetch, no requests to run commands.
- Code review of added code: only reads /proc/self/stat, /proc/stat btime, /proc/self/fd, RLIMIT_NOFILE via libc sysconf/getrlimit; no Command/env/network/file writes (searched: no matches for std::process, Command, env::var, fs::write, include_str, env! in metrics.rs; no "http" in process.rs).
- Searched changed files for hidden Unicode (zero-width/bidi/BOM): none. No non-ASCII except SPDX/backtick chars in process.rs — ASCII only.
- No TODO/FIXME/"reviewer"/"AI"/"LLM" nudges in the new metrics code.
- Test additions only tighten assertions (new histogram/process metric checks); no security test weakened.
Conclusion: no prompt injection, no hidden instructions, no agent-targeted content, no exfiltration or dangerous side effects. Verdict: All Clear.
#2 [high] Research summary
Screened PR #548 ("Add request latency histograms and process metrics", draft, head ebecef1, 8 files +545/-20) for prompt injections or anything aimed at steering an agent: All Clear.
The PR has no comments or reviews. I read the entire diff (docs/api.md, helios/src/server.rs, http.rs, latency.rs, metrics.rs, new metrics/process.rs, runtime.rs, runtime/phase_tests.rs) plus the full PR body. Everything is ordinary Rust metrics work: fixed-bucket histograms, timestamps stamped in the scheduler, a procfs-based process-metric renderer reading /proc/self/stat, /proc/stat btime, /proc/self/fd and RLIMIT_NOFILE. There is no subprocess/Command use, no env access, no network fetch, no file write, no eval-like dynamic behavior, no hidden Unicode (zero-width/bidi/BOM), and no instruction-shaped text in comments, docs, test names or the description. The added tests only add assertions rather than touching anything security-relevant. Notes saved to the scratchpad.
#3 [medium] PR #548 screening: per-file coverage, benign-but-unusual context, judgement
Supporting detail for PR #548 screening (head ebecef1, base main, case f377dc8; 0 comments; no CI checks; labels none; author WynnD, GitHub association NONE, opened 2026-11-26 as a draft).
Per-file content (all read in full via pr_diff + read_file):
- docs/api.md lines 296-318: prose listing the new histogram/process series; states histograms appear in Prometheus text only, not format=json. Plain documentation.
- helios/src/server.rs:634-718 (metrics handler): 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 captures
metrics_handle()before thefilter_mapclosure and observesrequest_e2eonDelivery::Completewhen!count; non-streaming branch same on itsDelivery::Complete(body)arm (line 632). Just histogram observation. - helios/src/server/latency.rs:31-135:
FirstResponseSamplestuple struct turned into named struct withwindow: Mutex<Samples>+histogram: Histogram<21>;output()records into the window and observes the histogram; newrender_histogram; test bodies updated.0->.window. - helios/src/server/metrics.rs:209-306 (Buckets/REQUEST_SECONDS/TOKEN_SECONDS/PROMPT_TOKENS/Histogram/RequestTimes), 447-475 (
Metrics::request_completed), 1389-1420 (render of the six histograms), tests 1648-1705. - helios/src/server/metrics/process.rs:1-184 new file — procfs + libc sysconf/getrlimit only;
parse_stattakes fields after the last ')'; docs rationale about)in comm. - helios/src/server/runtime.rs:190-193 (
times: RequestTimeson Incoming), 908-913 (init), 1771-1775 (complete stamps tokens), 1981-1999 (publish path calls request_completed), 2186-2202 (reserve_and_pack stamps first scheduled step), 3251 test fixture. - helios/src/server/runtime/phase_tests.rs: 4 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).
Mildly unusual but benign context items (checked, no action requested of a reader/agent):
- Body describes the author's local validation: building into a container, swapping into a llama-swap entry, cherry-picking onto AzallazA fork commit 5ffe4d54 (cited to PR #482) — personal setup narrative, no links to fetch, no commands for a reviewer to run.
- Trailing line "Discord: oystersmiles" — a contact handle, not an instruction.
- The body's "Not run here" list (Windows build, full helios suite, template-dependent test) is normal disclosure.
Verdict reasoning: no text addressed to an AI/assistant/reviewer agent; no request to ignore rules, hide things, approve, or run anything; no external URLs to visit; no hidden instructions in code comments, doc strings, metric HELP strings, test names or docs; no obfuscation. Final answer for the report: All Clear.