#1 [high] PR #575 screening: no prompt injection found
PR #575 "Preserve raw JSON tool arguments in TmlOutput for strict TMLv0 calls" (author fordbmorris, head c7fae93, base main).
Files changed (3, +237/-10), all reviewed in full:
- helios/src/output/tml.rs (+~70): replaces
serde_json::Valueround-trip inTmlOutput::call(lines 329-363) with a#[derive(Deserialize)] #[serde(deny_unknown_fields)] struct RawCall<'a> { name: String, #[serde(borrow)] args: &'a RawValue }, trims, requiresargs.starts_with('{'), keeps the existing registered-tool-name and header-name-match checks, and emitsEvent::ToolArguments { text: args.to_owned() }. Imports addserde::Deserializeandserde_json::value::RawValue. Legitimate precision fix (>u64::MAX ints previously rounded to f64 notation). - helios/src/grammar/strict.rs (+105): one new unit test
tml_strict_parser_preserves_30_digit_integersdriving GrammarCompiler/OutputPipeline with a 30-digit123456789012345678901234567890payload; asserts raw args retained. - tests/server/test_inkling2.py (+91): new
test_strict_tml_tool_calls_and_truncationusing the existingservicefixture, env var FLARE_INKLING2_TEST_URL / FLARE_RUN_CUDA_TESTS gating, urllib against /v1/chat/completions and /v1/responses; asserts 30-digit int preserved, streaming single delta, truncation omits tool_calls. Follows existing patterns in the same file (lines 1-245 checked).
Injection indicators checked and absent:
- No text addressed to an AI agent / reviewer ("ignore previous instructions", "you must", "disregard") anywhere in the added code, comments, or PR description.
- No hidden/zero-width unicode (U+200B-200F, U+202A-202E, U+2060-2064, U+FEFF) — grep with a valid regex was intended; my first grep failed on range syntax, second pass over the payload showed nothing visually anomalous; no bidi/homoglyph text in the diff.
- No new network endpoints, credentials, env exfiltration, file writes, shell execution, CI/workflow edits, or dependency additions. The only external hostname referenced is the test harness's own FLARE_INKLING2_TEST_URL.
- No changes to tool-permission/allow-list logic beyond-preserving existing name matching.
- PR body's only external reference is a Discord handle ("woooflet"); normal.
Discussion: only two comments, both from flare-autobot (this repo's own review bot) — a case-file/intake notice and a "Ready To Merge" review summary with links to autobot.eidonix.com. These are bot output linking external report pages, not instructions to an agent; no injection payload. Note-worthiness: low (external links only).
Verdict: All Clear.
#3 [high] Research summary
Screening of PR #575 ("Preserve raw JSON tool arguments in TmlOutput for strict TMLv0 calls") found nothing malicious and no prompt injection: verdict All Clear.
The PR is 3 files (+237/−10), all reviewed in full. helios/src/output/tml.rs swaps a serde_json::Value round-trip for a #[serde(deny_unknown_fields)] struct borrowing &RawValue, keeps the existing registered-tool-name and header-name checks, and emits the raw JSON object text; helios/src/grammar/strict.rs adds one unit test for 30-digit integers; tests/server/test_inkling2.py adds one gated live-server test. The change is a genuine numeric-precision fix and does not loosen the tool allow-list gate (the pre-existing rejection test at tml.rs:550-573 is untouched).
I checked for instructions aimed at an agent, zero-width/bidi unicode, hidden files, new endpoints, credentials, shell/network/file-write behaviour, dependency or CI changes — none present. The only comments on the PR are two from the repo's own review bot with links to external report pages (not instructions). Details are in scratchpad entries 1 and 2.
#2 [medium] PR #575 screening: verification details (unicode, file list, secrets)
Follow-up verification for PR #575 (see entry 1).
- pr_files confirms exactly 3 files: helios/src/grammar/strict.rs (+105/-0), helios/src/output/tml.rs (+41/-10), tests/server/test_inkling2.py (+91/-0). Matches the diff; no hidden/unlisted files.
- Zero-width / bidi unicode search in helios/src/output/tml.rs: no matches. Same search plus curl/http/token/password/secret in helios/src/grammar/strict.rs: only hit is pre-existing line 2537, a
$ref: "https://example.com/s.json"fixture used by existing remote-$ref rejection tests — outside the added hunk (hunk starts ~line 3816), not part of this PR. - tests/server/test_inkling2.py: no matches for ignore/override/instruction or hidden unicode.
- Read the two new tests in full: helios/src/output/tml.rs:607-629 (
call_preserves_raw_json_arguments_including_arbitrary_precision_integers) and strict.rs new testtml_strict_parser_preserves_30_digit_integers. Plain assertions on numeric precision and duplicate-key fallback. No instructions to agents, no side effects, no I/O beyond the in-process parser. - Existing test at helios/src/output/tml.rs:550-573 still rejects unregistered tools, non-object args, extra wrapper keys, non-string names — so the change does not loosen the tool allow-list gate (only swaps Value round-trip for RawValue +
starts_with('{')).
Final: no prompt injection, nothing aimed at causing unwanted agentic behavior. Verdict: All Clear.
#4 [medium] PR #575 metadata and screening scope/limits
Metadata for PR #575 (for the report):
- Repo: NVIDIA/hyperflare-inference. Title: "Preserve raw JSON tool arguments in TmlOutput for strict TMLv0 calls".
- Author: fordbmorris (GitHub association with the repo: NONE); 3 other open PRs (#574, #576, #577), none merged/closed in 180 days.
- Base: main. Head commit c7fae93. Opened and last updated 2026-11-28. Labels: none. Reviews: none. CI on head commit: no checks. State: open, ready for review.
- Size: 3 files, +237/-10.
Core production hunk, helios/src/output/tml.rs:329-363 (TmlOutput::call):
#[derive(Deserialize)]
#[serde(deny_unknown_fields)]
struct RawCall<'a> { name: String, #[serde(borrow)] args: &'a RawValue }
let parsed: RawCall<'_> = serde_json::from_str(body).ok()?;
let args = parsed.args.get().trim();
if !args.starts_with('{')
|| !self.tools.iter().any(|tool| tool["function"]["name"] == parsed.name)
|| self.name.as_ref().is_some_and(|header| header != &parsed.name)
{ return None; }
// emits ToolBegin{name: parsed.name}, ToolArguments{text: args.to_owned()}, ToolEnd
Before: Value round-trip with args.to_string(), object.len() != 2 guard, args.is_object() check. After: deny_unknown_fields + starts_with('{') — semantically comparable; duplicate wrapper keys now fall back to visible text (covered by the new unit test).
Screening scope — what I did NOT do (state honestly in report if relevant):
- Did not run cargo/pytest; assessment is by reading (CI reports no checks on head commit).
- Did not review the related candidate PRs (#461, #457, #418, #578, and others) — they are separate items; only linked for context.
- Did not fetch the external autobot.eidonix.com report links from the bot comments (treated as out of scope; the comments themselves contain no instructions to an agent).
Conclusion stands: All Clear — no prompt injection, nothing aimed at causing unwanted agentic behavior.