Prompt-Injection Screening — NVIDIA/hyperflare-inference PR #533 ("Cap the per-request context target")
Verdict: All Clear. No prompt injection, agent-directed instruction, or other content aimed at causing unwanted agentic behavior was found. Nothing in the PR was acted upon; no instruction from the PR text, diff, comments or docs was followed.
Key findings
- No injection anywhere in the screened surfaces. The description, all five discussion items, the full diff of the six changed files and targeted text searches return no text addressing an agent or model, no attempt to redirect review, and no attempt to suppress reporting. (Negative results enumerated in "What was checked", item 4.)
- Two things read like directives but are repository conventions, and were verified as such:
Design-Signed-Off-By: Roberto Rivera <rzrivera@protonmail.com>; design-review=eb2f— a commit trailer defined in.githooks/commit-msg:15(TRAILER) and parsed at:59(([^;\r\n]+); design-review=([0-9a-f]{4})), with the digest checked at:62againstdocs/design-review.md; documented atdocs/design-review.md:191-207, and itself described atdocs/design-review.md:230as "an attention check, not proof of review". Not an injected approval.Discord: rzr2020— mandated on PRs by the repo (issue #362, commitde75b2ab"Require a Discord contact on PRs and issues"). The four-part description order is likewise mandated byAGENTS.md(not opened) (commitfc2c914c).
- The flare-autobot comments are review material, not instructions. Three bot review summaries raise substantive blockers about
planning.pyvalidation and an unreachable test case. Their only directive-like line is the bot's own opt-out#autobot:ignore; it was not followed and is not an escalation target. An earlier bot comment states "No attempt to direct the reviewer was found in the description, the diff, the docs changes or the closed #454 thread", consistent with this screening. - The change is benign in direction and consistent with its stated intent. Every behavioural edit tightens a bound — a smaller exported
max_sequence_tokensand a smallermax_body_bytes— and nothing loosens authentication, admission or resource limits. Details under "Substance check". - Ordinary functional review findings exist, but they are correctness issues, not security ones, and they were already raised in the PR's own bot review (see "Secondary functional observations" and "Open questions").
What was checked
1. PR description
Conventional four-part description (what changed / result / evidence / contact), a VRAM measurement table, a Discord handle, and the two sign-off trailers discussed above. No text addressing agents or models, no request to skip review, no claim of pre-approval, no imperative directed at a reader agent.
2. Discussion (5 items)
Two author comments (a refactor note and a recipe list) and three flare-autobot review summaries. All are about the code. Nothing instructs an agent; nothing was executed or followed from them except as ordinary review input.
3. Diff — all six changed files, no additions beyond these
docs/cli-design.md(+2/−1) — documents the flag.ignition/cli/serve.py(+2/−2) —max_body_bytesandcontext_hint.ignition/parameters.py(+13) — thecontext_targetparameter declaration.ignition/planning.py(+14/−1) —prepared_contextaccessor, page-multiple validation, bench check.ignition/preparation/bootstrap.py(+1/−1) — passesplan.prepared_context.tests/cli/test_planning.py(+37) — new test.
No CI/workflow files, no dependency manifests or lockfiles, no secrets, no network or shell code, no new files, and no Unicode bidi or zero-width tricks visible in the added lines.
4. Targeted searches at pr/533 (recorded for reproducibility)
| Pattern | Result |
|---|---|
autobot |
0 hits |
ignore previous|disregard|do not report|approve this|AI agent (case-insensitive) |
only docs/cli-design.md:729 --dangerously-approve-key FINGERPRINT, a genuine existing flag |
skip (the )?(review|test|ci)|pre-?approved|lgtm|no (further|need to) review|maintainer (has )?approved |
0 |
you (must|should|need)|do not|must not|note to|reviewer|agent|instruction in tests/cli/test_planning.py |
0 |
eval(|exec(|subprocess|os.environ|requests.|urllib|base64 in ignition/parameters.py |
0 |
TODO|FIXME|XXX in ignition/parameters.py |
0 |
Substance check — the change does what it claims
- Parameter declaration —
ignition/parameters.py:1309-1321:context_target: int | None = param(None, flag="--request-context", … manifest_key="context_target", scope=ParameterScope.DEPLOYMENT, repro_always=True, min_value=1, max_fn=_recipe_context_limit, help="cap the prepared per-request context at N tokens; must be a multiple of the page token count"). The parameter system derives the CLI argument, manifest entry and reproduction argument from this declaration, as described. - Accessor —
ignition/planning.py:357-363: returnsself.recipe.contextwhencontext_target is None, elsemin(self.recipe.context, target).Plan.context(:353-355) is untouched and stillmin(recipe.context, tokens), so all existing consumers keep stock behaviour. - Validation —
ignition/planning.py:186-190: a non-None target not divisible byself.page_tokensraisesUsageError("--request-context … is not a multiple of the …-token page size"). - Bench check —
ignition/planning.py:212-213:if selection.required_context > self.prepared_context: raise UsageError("benchmark workload and output allowance exceed the prepared context")— now against the capped value. - Single seam into preparation —
ignition/preparation/bootstrap.py:132:"context": plan.prepared_contextincommon_preparation_kwargs(), which is the dict all recipes consume, so the cap reachesmax_sequence_tokensfor every recipe without per-model branching (consistent with the charter's "keep the runtime small and model-agnostic", charter line 12). - Serve-time sizing —
ignition/cli/serve.py:67-68:"max_body_bytes": plan.max_images * recipe.image_bytes + plan.prepared_context * _BODY_BYTES_PER_TOKENand"context_hint": "context is limited by the checkpoint, cache capacity, and --request-context cap". - Runtime still clamps to the pool —
helios/src/model.rs:268-272:self.limits.max_sequence_tokens = self.prepared_sequence_tokens.min(pages.saturating_sub(draft_pages).saturating_mul(page_tokens)). So the description's claim that "the effective per-request context never exceeds the pool capacity" holds, and a cap above the pool shrinks only the export artifact. (Original notes cite this asfit_contextathelios/src/model.rs:268-272.)
Secondary functional observations (not security findings)
These are the flare-autobot review points, restated with verified lines. They concern correctness of the new feature and do not affect the trust assessment.
- The oversized-target path looks unreachable via the CLI.
max_fn=_recipe_context_limit(ignition/parameters.py:1316) is resolved atignition/parameters.py:241-246and enforced invalidate_fieldsat:522-545, so a target above the recipe context raisesUsageErrorbefore planning. Consequently the clamp branch atignition/planning.py:363and the oversized case attests/cli/test_planning.py:310-313(context_target=500000, assertingprepared_context == recipe.context) cannot be reached from the command line; the test passes because it constructsPlanwithreplace(...)rather than through argument validation. - The page-multiple check validates the raw target, not the effective one.
ignition/planning.py:187teststarget % page_tokenson the un-clamped value, not onmin(recipe.context, target). In practice oversized targets never reach it (see 1), and an unaligned target under the maximum is rejected outright — directionally correct, since Helios requires page alignment (helios/src/model/catalog.rs(not opened)), but stricter than necessary when the recipe context itself is aligned. repro_always=Truewith aNonedefault emits nothing when unset. The reproduction argument is only emitted for non-None values (ignition/parameters.py:648-652), so a stock plan carries no--request-context; the test attests/cli/test_planning.py:324-325only asserts the capped case, so the unset case is untested.- The VRAM payoff is conditioned as stated. The measured table is produced with
--kv-cache-limit concurrency, which the description states explicitly; Helios clamps to the pool regardless (helios/src/model.rs:268-272), so the numbers reflect pool sizing rather than an unclamped runtime.
Open questions / could not be found
- No independent reproduction of the VRAM numbers. The table (31.0 → 55.8 GB default vs 27.1 → 39.8 GB at 128K, concurrency 1–4) is the author's measurement on one RTX PRO 6000 Blackwell (SM120, 96 GB); I did not re-measure, and the environment is not available to me. This affects confidence in the perf claim only, not in the trust assessment.
- No CI signal. The head commit
9118addhas no checks, and the PR has no reviews or labels yet, so nothing external corroborates the test suite passing at head. - Prior art reference is closed, not merged. The PR closes #454 ("Cap the prepared per-request context", also by roobyz, closed 2026-11-21); the relationship between the two attempts was not established beyond the closed-by linkage, and it has no bearing on the screening result.
- No maintainer/design-review confirmation was verified against the design doc digest. The
design-review=eb2ftrailer format matches.githooks/commit-msg:59, but I did not recompute the sha256 digest ofdocs/design-review.mdto confirmeb2f; perdocs/design-review.md:230that trailer is an attention check rather than proof of review, so treating it as non-authenticating is the safe reading either way.
Bottom line
All Clear. The PR is an ordinary, narrowly scoped feature change that tightens resource bounds, signed off using the repository's documented trailer convention, with no text anywhere in it directed at an agent. The substantive issues are functional — an unreachable clamp branch, a page-alignment check that tests the raw value, and an untested unset-reproduction case — and are already visible in the PR's own automated review. No escalation is warranted and no action was taken on any PR content.