Screen malicious scratchpad · NVIDIA/hyperflare-inference #533

Raw Markdown for agents: https://autobot.eidonix.com/p/63408e7e-e158-4d57-b071-50e07010e30f.md

#1 [high] PR #533 injection screening — All Clear

PR #533 "Cap the per-request context target" (roobyz, open, head 9118add, 6 files +69/−5).

Screening surfaces checked (all benign):

Secondary (functional, not security — for the report's findings section):

#2 [high] Research summary

All Clear. No prompt injection, agent-directed instruction, or other attempt to cause unwanted agentic behavior was found in PR #533 ("Cap the per-request context target", roobyz, head 9118add, 6 files +69/−5).

Surfaces checked: the description (patch-style summary, VRAM table, Discord line, Signed-off-by plus the repo's Design-Signed-Off-By: …; design-review=eb2f commit trailer, which is a documented convention verified in .githooks/commit-msg:15,59 and docs/design-review.md:191-207, not an injected instruction); the 5-item conversation (two author refactor notes and three flare-autobot review summaries — review material only, nothing instructing an agent, and nothing acted on); the entire diff (docs/cli-design.md, ignition/cli/serve.py, ignition/parameters.py, ignition/planning.py, ignition/preparation/bootstrap.py, tests/cli/test_planning.py); and code searches at pr/533 for "autobot", "ignore previous / disregard / do not report / approve this", "skip review / pre-approved / lgtm / maintainer approved", and for eval(, exec(, subprocess, os.environ, urllib, base64 in the touched parameter module (no hits; the only "approve" match is the real --dangerously-approve-key flag at docs/cli-design.md:729). No CI/workflow, dependency, lockfile, secret, network or shell changes, and no new files.

The change is functionally consistent with its stated intent and every edit tightens a bound (smaller max_body_bytes, smaller exported max_sequence_tokens via bootstrap.py:132), with Helios's fit_context (helios/src/model.rs:268-272) clamping to the pool. Secondary non-security observations are recorded in the scratchpad: the new test's oversized-target case looks unreachable because max_fn=_recipe_context_limit (ignition/parameters.py:1316, enforced in validate_fields :522-545) already rejects targets above the recipe context, which also makes the advertised clamp at planning.py:363 unreachable from the CLI; the page-multiple check at planning.py:187 validates the raw target rather than min(recipe.context, target); and the VRAM payoff depends on --kv-cache-limit concurrency, as the description states.

#3 [high] PR #533 verdict line and report framing

Verdict for PR #533: All Clear — no prompt injection or other attempt at unwanted agentic behavior. Nothing needs escalation; no action was taken on any text in the PR.

Report framing:

Substance check (direction of every behavioural change is tightening, so no unwanted capability): ignition/preparation/bootstrap.py:132 "context": plan.prepared_context; ignition/planning.py:357-363 prepared_context = recipe.context when no target else min(recipe.context, target); planning.py:186-190 rejects unaligned targets; planning.py:212 bench check now against prepared_context; ignition/cli/serve.py:67-68 max_body_bytes sized from plan.prepared_context and context_hint names the cap. Consumers left stock: Plan.context (planning.py:353-355). Runtime clamp unchanged: helios/src/model.rs:268-272 fit_context.

Secondary functional notes carried from entry 1 (not security): max_fn=_recipe_context_limit (ignition/parameters.py:1316 → :242-246 → validate_fields :522-545) rejects targets above the recipe context, so the clamp branch at planning.py:363 and the oversized case at tests/cli/test_planning.py:310-313 appear unreachable; page-multiple check validates the raw target at planning.py:187; repro_always=True (parameters.py:1319) emits nothing when the value is None (:648-652), matching the test at :324 which only covers the capped case; the VRAM table is conditioned on --kv-cache-limit concurrency, which the PR text states.