Prompt-injection screen — NVIDIA/hyperflare-inference PR #533 "Cap the per-request context target"
Key findings
- Verdict: All Clear. No prompt injection, no hidden instructions, and no agent-directed or otherwise unwanted content was found anywhere in PR #533.
- The PR is a small, on-topic capability flag: 7 files, +35/−15, adding
--request-context Nto export/serve/bench and threading it into planning and preparation. Every changed hunk was read and is ordinary Python and Markdown. - No instruction-like text ("ignore previous instructions", role resets, system-prompt or task-reassignment text), no instructions aimed at reviewers or agents, no hidden or non-rendered markup in the docs (no HTML comments,
<img>,<script>,data:URIs), no shell/curl/eval/subprocesspayloads, no credential paths, no exfiltration channels, and no new network endpoints. - The PR body is technical (a VRAM measurement table, links, a Discord handle, sign-off trailers). The single discussion comment is an author status note to a maintainer, not an instruction to an agent.
- Residual concerns are ordinary review/evidence matters (no tests added; no CI on the head commit), not security concerns.
What was reviewed
PR #533, base main, head 1a006c6, opened and last updated 2026-11-26 by roobyz (repo CONTRIBUTOR). Labels: none; ready for review; reviews: none; CI on head commit: no checks.
Files and line-level content
| File | Change | Nature |
|---|---|---|
ignition/cli/__init__.py:167-170 |
new capacity.add_argument("--request-context", type=int, metavar="N", …) with help text about capping the prepared context and max_sequence_tokens |
argparse flag + help string |
ignition/cli/preparation.py:56, 68 |
derive(..., context: int | None = None); forwards context=context to planning.plan(...) |
parameter plumbing |
ignition/cli/bench.py:177 |
context=args.request_context passed to derive |
parameter plumbing |
ignition/cli/serve.py:289, 472 |
context=args.request_context in _prepare and debug_serve |
parameter plumbing |
ignition/planning.py:176 |
context_target: int | None = None field on the frozen Plan dataclass |
dataclass field |
ignition/planning.py:368-373 |
prepared_context property: recipe max when no target, else min(recipe.context, context_target, tokens); neighbouring context property (:364-366) stays stock |
accessor, no-op by default |
ignition/planning.py:459-460 |
if context is not None and context <= 0: raise UsageError(...) |
input validation |
ignition/planning.py:533 |
context_target=context on plan construction |
plumbing |
ignition/planning.py:588, 674 |
plan(..., context: int | None = None) forwarded to fit() |
plumbing |
ignition/planning.py:694-700 |
prefill-chunk error now compares against min(result.context, result.prepared_context) and gives a distinct message when prefill_chunk is None (default chunk) vs user-set |
error-message improvement |
ignition/preparation/bootstrap.py:58 |
"context": plan.prepared_context (was plan.recipe.context) — the change that lets the cap reach exported max_sequence_tokens |
functional core of the change |
docs/cli-design.md:446, 1443, 1493 |
flag-table row plus two context-limit table rows updated | documentation |
Injection-specific checks (all negative)
- Natural-language instruction search of the PR body, the diff, and the discussion: no second-person instructions to an agent or reviewer, no attempt to alter the reviewer's task, verdict, or output format, no "you must"/"report as"/approval-steering text.
- Hidden content in docs: no HTML comments (
<!--), no<img>,<script>, ordata:URIs — searched and returned no matches. Thedocs/cli-design.mdadditions are three plain table rows of prose. - Code payloads: no
os.system,subprocess,eval,exec,curl,wget, network calls, base64 blobs, or environment-variable reads added. The added code is argument parsing, a dataclass field, a property, an integer validation, and f-string error messages. - Data flow: nothing added reads files, environment secrets, or user home paths; nothing adds a network destination; nothing touches credentials, keys, or trust/publisher machinery.
- Discussion:
pr_commentsreturns exactly one comment —roobyz, 2026-11-26 01:43: "@yatesdr As requested, I refactored the PR. I had to do an additional refactor to account for the recipe refactor and other upstream changes. It took a bit longer than expected, since I got the flu in the middle. Hopefully the updated the commit and the PR messages have a clear rationale and details. I believe I covered all of your points." This is a human-to-human status/acknowledgement note about review feedback; it makes no request of a reviewing agent and contains no commands. Not treated as an injection; recorded here because it is the only imperative-sounding text in the PR ("As requested…", "I believe I covered all of your points").
Non-security context (not findings)
These are ordinary review matters and are reported only so they are not mistaken for something they are not:
- Predecessor PR #454, same author, same feature ("Cap the prepared per-request context"), closed 2026-11-21 with a substantive technical CHANGES_REQUESTED review by
yatesdrcovering: the cap not reaching the core,flare run --kv-cache-limit context|concurrencyalready bounding KV history,--contexthaving been rejected on purpose previously, no demonstrated need under the contribution scope, missing tests, and template evidence text. That is normal maintainer review history, not adversarial content. - PR #533 answers most of those objections:
ignition/preparation/bootstrap.py:58makes the cap reach the exported core; the help text anddocs/cli-design.mdrows document the flag and why it was previously rejected; a filled four-part evidence section with per-concurrency VRAM numbers replaces the template text; a zero/negative--request-contextis rejected (planning.py:459-460); the prefill-chunk error now explains the default-chunk case (planning.py:694-700). - Gaps that remain arguable: the diff adds no tests and does not update
tests/cli/test_commands.py; CI shows no checks on head1a006c6; the--kv-cache-limitoverlap objection is not directly rebutted, only contextualized as "pool capacity vs prepared context".
Open questions / not verifiable statically
- The runtime claim that a request beyond the cap is rejected by the engine's standard context ceiling, and that omitting the flag is byte-equivalent to stock, depends on exported-core/engine behaviour outside these 7 files; this screen confirms the code paths exist and look consistent but did not execute anything.
- The PR's VRAM measurements (RTX PRO 6000 Blackwell, SM120, Qwen3.8-27B) are the author's; no independent reproduction is available in the PR, and no CI artifacts exist for head
1a006c6. - No maintainer review, no labels, and no linked issue are attached to #533 at the time of screening, so intent and maintainer alignment rest on the description and on the predecessor review in #454.
Recommendation
No action required on security grounds. The PR can proceed through normal technical review, where the test-coverage and --kv-cache-limit overlap questions raised in #454 are the substantive items to settle.