Field NotesNovember 2026
Not reproduced is not fixed: n clean retest runs cannot rule out an attacker who also tries n times
A finding in an LLM agent has a success rate, not a truth value. A fix moves that rate, and a retest samples the new one. A retest verdict therefore has to state a bound, a confidence level, the number of runs and the build it applies to.
In this piece
A classic retest replays the original input against the patched build and closes the finding if the bug does not fire. That assumes a deterministic target, where one clean replay is evidence. NIST SP 800-115 makes it a condition: a fix can be verified "only if a mirror copy of the original test is performed"1.
An LLM agent breaks the assumption. The Best-of-N jailbreaking paper replayed prompts that had already worked, 100 times each; at temperature 1, text attacks were harmful again only 30% of the time on average2. At that rate, three replays against an unfixed system all come back clean 34.3% of the time3. "Not reproduced" then reports sampling luck.
Our claim: a finding in an agent has a success rate, not a truth value. A fix moves the rate, and a retest samples the new one; its sample size is the number of runs. If attempts are independent and the rate is constant, the largest rate that n clean runs fail to exclude at 95% confidence (the upper bound) is exactly the rate at which an attacker who tries n times succeeds at least once with probability 95%. A retest verdict therefore has to state a bound, a confidence level, a run count and the build it applies to.
01What one clean retest measures#
Documentation: nobody promises determinism#
OpenAI's API guide calls Chat Completions non-deterministic by default; a fixed seed with unchanged parameters gives "(mostly) deterministic" output, and a system_fingerprint field shows when OpenAI's own configuration changes may alter it4. Google calls a fixed seed a "best effort", does not guarantee deterministic output, and allows some variation at temperature 0. Its Gemini 3.6 Flash and later models ignore custom sampling parameters5; on those models a tester cannot even pin the temperature. Anthropic is the most direct:
Even with temperature set to 0, the results will not be fully deterministic, and identical inputs might produce different outputs across API calls6.
Measurement: outputs vary, and attacks fail on replay#
In September 2025 Thinking Machines sampled one open-weight model 1,000 times with one prompt at temperature 0 and got 80 distinct completions; where they first diverge, 992 runs take one branch and 8 the other. The author attributes this to server load changing the batch size; with batch-invariant kernels all 1,000 completions were identical12.
Attacks behave the same way. In the Best-of-N replay experiment (section 5.4 of the paper), text, vision and audio attacks at temperature 1 were harmful on only 30%, 25% and 15% of replays on average. At temperature 0 reliability turned bimodal, each prompt mostly succeeding or failing consistently, and API output was still non-deterministic2. The paper's introduction says "approximately 20%" and its Table 1 caption gives 32% for text; we record all three.
Same model name, different backend#
Under one service name, GPT-4's accuracy at telling primes from composites fell from 84% in March 2023 to 51% in June13. Anthropic's September 2025 postmortem describes three infrastructure bugs that intermittently degraded responses from August to early September. The first initially affected about 0.8% of Sonnet 4 requests; after a routine load-balancing change, 16% in the worst hour. Anthropic says its evaluations did not capture the degradation users reported14.
Our inference: a retest sits on three layers, the payload, the model and the serving configuration. The tester controls the first, sees only a name for the second and usually cannot see the third.
02The arithmetic of clean runs#
Assume attempts are independent, with a constant success probability p. Then n runs are all clean with probability (1−p)^n. Setting that equal to α and solving for p gives the exact one-sided upper bound after n clean runs: p ≤ 1 − α^(1/n), the zero-success case of the Clopper–Pearson interval15. At α = 0.05 it is close to 3/n, the "rule of three". Hanley and Lippman-Hand's 1983 JAMA article derives it from the same equation, calls it a simple rule of unknown origin, and notes that for n above 30 it agrees with the exact calculation to the nearest percentage point and slightly overestimates the risk below that; for 99% confidence the shortcut becomes 4.6/n16. Its table (26% for 0/10, 10% for 0/30, 3% for 0/100) matches our calculation. A 1995 BMJ note calls it Hanley's formula17. We did not read Clopper and Pearson's 1934 paper, only its bibliographic record.
| Clean runs n | 95% upper bound | 99% upper bound | Rule of three, 3/n |
|---|---|---|---|
| 3 | 63.2% | 78.5% | 100% |
| 5 | 45.1% | 60.2% | 60% |
| 10 | 25.9% | 36.9% | 30% |
| 20 | 13.9% | 20.6% | 15% |
| 30 | 9.5% | 14.2% | 10% |
| 59 | 5.0% | 7.5% | 5.1% |
| 100 | 3.0% | 4.5% | 3.0% |
| 299 | 1.0% | 1.5% | 1.0% |
| 1,000 | 0.30% | 0.46% | 0.30% |
How blind a short retest is#
Suppose a fix takes the success rate from 30% to 3%: a real improvement, and the hole is still open. The table gives the probability that a retest comes back entirely clean3.
| Runs | True rate 30% | 3% | 0.5% |
|---|---|---|---|
| 1 | 70.0% | 97.0% | 99.5% |
| 3 | 34.3% | 91.3% | 98.5% |
| 5 | 16.8% | 85.9% | 97.5% |
| 10 | 2.8% | 73.7% | 95.1% |
| 20 | 0.08% | 54.4% | 90.5% |
| 100 | < 0.01% | 4.8% | 60.6% |
| 300 | < 0.01% | 0.01% | 22.2% |
Three runs cannot tell "fixed" from "reduced to 3%", which comes back clean 91.3% of the time. Even the untouched 30% passes one time in three.
When the retest contains successes#
A success does not force the verdict "failed". One success in 40 runs is an observed 2.5% with a 95% upper bound of 11.3%; two successes give 14.9%. Two in 200 give 3.1%, and five give 5.2%3. When the planned runs are complete and the bound on the new rate lies below the rate measured before the fix, these numbers support the verdict "reduced", stated next to that earlier rate; otherwise the verdict is "reproduced".
def runs_needed(target: float, conf: float = 0.95) -> int:
"""Clean runs needed so the upper bound on the success rate is <= target."""
return math.ceil(math.log(1 - conf) / math.log1p(-target))
def at_least_one(p: float, k: int) -> float:
return 1 - (1 - p) ** kBoth functions solve (1−p)^n = α. Everything rests on independent attempts, a constant rate, and a premise that is easy to forget: when a success happens, the detector sees it.
03The attacker reads the same curve#
The defender says: n clean runs, so p is at most the bound. The attacker says: p is this, so k tries will land one. It is one equation. Put the 95% bound from n clean runs back in: at that rate, an attacker with n attempts gets at least one success with probability exactly 95%. n clean retest runs cannot rule out an attacker who is also willing to try n times. The statement is about the bound; the true rate may be far lower.
At a 1% rate, 100 attempts yield at least one success with probability 63.4%, and 200 with 86.6%3. To show at 95% confidence that an attacker with k attempts succeeds at most 10% of the time, the defender needs about 28.4 × k clean runs (ln 0.05 ÷ ln 0.9 ≈ 28.4; our derivation).
What each published number measures#
| Source | Number | What it measures |
|---|---|---|
| Indirect prompt injection competition (2026 paper)18 | 0.5% to 8.5% | Per model: successful attacks ÷ total chats (464 participants, 272,000 attempts overall) |
| Same | 13 of 37 | Behaviours where Claude Opus 4.5 was broken at least once, at a 0.5% overall rate |
| ART benchmark subset (2025 paper)19 | 20% to 60% at one query; near 100% at 10 for most models | Share of behaviours violated within k queries, with selected attacks |
| LLMail-Inject, phase 120 | 0.8% | Share of 370,724 submissions that succeeded end to end |
| Same | 0.318 to 0.600 | Teams that solved ÷ teams that attempted, against one defence (level 4, GPT-4 sub-levels) |
| Opus 4.6 system card, computer use (Anthropic's own evaluation)7 | 17.8% → 78.6% | Success on one attempt, against the share of goals with at least one success in 200 adaptive attempts |
One competition yields both 0.8% and 0.600: the first counts submissions, the second teams, and teams were not penalized for the number of submissions. Teams that eventually succeeded needed on average 88.9, 159.3 and 506.2 attempts before a first success against three detection defences, with a wide spread between teams20. Before reading an attack success rate, ask whether its denominator is attempts, behaviours or attackers.
Where the assumptions break#
Published data shows the assumptions failing in two directions. First, rates differ widely between scenarios, so the formula applied to an average rate overstates the many-attempt result. Anthropic's Opus 5 system card, a vendor self-evaluation, gives the attacker 200 attempts on each of 14 computer-use scenarios (extended thinking, no added safeguards): 0.54% of attempts succeed, and one scenario is broken21. A uniform 0.54% would break about 66% of scenarios (1 − 0.9946^200). Instead, 0.54% of 2,800 attempts is about 15 successes, all in one scenario: a rate near 7.5% (15 ÷ 200), with zero in 200 for the other 13. 66% and 7.5% are our arithmetic. The average dilutes an open hole into a small number that looks safe; a retest has to measure the finding's own rate.
The second direction is worse for defenders: attackers do not replay one payload. "The Attacker Moves Second" re-evaluated 12 defences. One that reported a 2% attack success rate on a static benchmark reached 96% under a search attack that adapts to feedback; two others went from as low as 1% to above 95%22. A retest that replays the original payload measures that payload's rate. Nor are runs that share a session, a cache or one temperature-0 path independent: we think Best-of-N's bimodal result at temperature 0 is that case, where n clean runs say about as much as one.
Some data supports a constant rate: in the indirect-injection competition, cumulative successes grew roughly linearly with attempts for every model18. We read that as holding across a population of attackers, not for one scenario and one payload. Anthropic also calls these evaluations deliberately permissive: real attackers usually do not know the target deployment, and repeated attempts raise the chance of detection21.
04Four ways a retest is invalid#
Statistics only answers whether the sample is large enough; a retest may not have measured the right thing at all. We sort that failure into four classes. The first three make a clean result meaningless, and the fourth makes it true of one payload only.
| Class | Why the retest is clean | How to rule it out |
|---|---|---|
| Not delivered | The payload never reached the model's context, or the detector missed the outcome | Proof of delivery; a positive control on the unfixed build |
| Different environment | Tools, data, permissions or conversation state differ from the original test | List each difference and whether it affects the conclusion |
| Different build | The system tested is not the fixed configuration, or it changed afterwards | A build fingerprint; the verdict lapses when it changes |
| Payload patched, mechanism left | The original payload is blocked; the mechanism behind it remains | Variants designed from the mechanism |
Not delivered#
An attack has not happened until the agent reads the payload. LLMail-Inject makes retrieval of the email into the model's input the first condition of success20. Anthropic's browser evaluations either count only the attacks each model actually encountered (Opus 4.5 card) or use environments where the attack is always viewed and success is checked programmatically (Opus 5 card)2321. Zero successes from a payload that was never read is not a 0% rate. The detector matters too: if it catches only some real successes, n clean runs bound the success rate multiplied by the detection rate (our inference).
Different environment#
The "mirror copy" condition in SP 800-115 is about comparability1. Agents add conversation and session state. In the Reprompt attack described by Varonis, Copilot's safeguard applied only to the initial request: told to perform every action twice, Copilot had the secret phrase stripped from the URL on the first try and sent it intact on the second24. That failure comes from state, and sampling luck plays no part. Our inference: a retest that sends one request per run would not see it, however many runs it makes.
Different build#
For an agent, the build is more than the model and its backend: prompts, tools, retrieval data and safeguard settings belong to it. In the Opus 5 browser evaluation, 10 attempts on each of 129 scenarios produced no success with auto mode on; without added safeguards the same model, with extended thinking, was broken on 1121. "0 of 129" belongs to that configuration. If the 129 scenarios are treated as a random sample of such scenarios, the same bound puts the share breakable in 10 attempts at about 2.3% or less, with 95% confidence (1 − 0.05^(1/129); our arithmetic).
Payload patched, mechanism left in place#
- 2025-06
A Legit Security researcher finds CamoLeak. GitHub's Camo proxy signs external image URLs to stop URLs that carry dynamic data; the researcher pre-generated one signed URL per character and had Copilot Chat spell out secrets25
Existing control bypassed - 2025-08
By Radware's disclosure timeline, ShadowLeak in ChatGPT is fixed in early August, without notice to Radware8
Fix The researcher relays GitHub's statement that CamoLeak was fixed as of this date, by disabling image rendering in Copilot Chat entirely25
Mechanism removedRadware reports ZombieAgent to OpenAI: data leaves one character at a time through pre-built static URLs, each ending in a different character9
Bypass by variantOpenAI fixes ZombieAgent, by Radware's timeline9
Second fix
Radware reported the bypass 23 days after OpenAI marked ShadowLeak resolved, and seven to eight weeks after the early-August fix (our arithmetic). The fix and the dates are Radware's account; The Register writes that OpenAI did not respond to its request for comment10. Both controls blocked dynamically built URLs, and both bypasses used one static URL per character. Our inference: a retest of either control with only a dynamic-URL proof of concept would come back clean.
It is not an isolated case. Brave's disclosure timeline for Perplexity Comet records an initial fix on 27 July 2025 that Brave's retest found incomplete a day later, a final test on 13 August that found the issue apparently patched, and a note added after publication on 20 August: further testing showed this kind of attack was still not fully mitigated26. We made no census. Our sources and four English keyword searches on 22 November 2026 gave us these two cases, read at the source, in which a fix did not hold; in the same scope we found no record that the May 2025 fix for EchoLeak (CVE-2025-32711) was bypassed27.
Conventional software already has the statistics. Google Project Zero's review of 0-days exploited in the wild in 2020 found 6 of 24 closely related to previously disclosed vulnerabilities, and lists 3 that were not properly fixed after being reported. In the first half of 2022, at least 9 of 18 were variants of previously patched bugs2829. Project Zero's point: root-cause analysis helps ensure that a fix addresses the underlying vulnerability and does not just break the proof of concept29.
05What the standards say and do not say#
We read the retest passages of the documents below and searched for retest, repeat, confidence and sample size: the full text of the four PDFs and of the OWASP AI Testing Guide, and only the Reporting page of WSTG and PTES.
| Document | What it says about retesting or repetition |
|---|---|
| NIST SP 800-115 (2008)1 | Verify fixes by audit, retest and documentation; the retest must mirror the original test |
| OWASP WSTG v4.2, Reporting30 | A re-test report "might" add a subsection on the status of earlier findings |
| PTES, Reporting31 | Nothing on retesting |
| CREST penetration testing programme guide (2017)32 | Agree short-term retesting or verification; address root causes |
| NIST AI 600-1 (2024)33 | Do not extrapolate from narrow, non-systematic, anecdotal assessments; review guardrails regularly; document statistical variance in metrics |
| NIST AI 800-2, initial public draft (2026)34 | On automated benchmark evaluations, not retests: trials per item are a trade-off with budget; report uncertainty where possible |
| OWASP AI Testing Guide (main branch, June 2026)11 | In prompt-injection testing, repeat all requests multiple times; results may not reproduce even at temperature 0 |
Within that scope, none of the seven gives a repetition count for a retest, asks for a confidence statement on its conclusion, or defines a standard set of retest outcomes. Status sets such as fixed, partially fixed, not fixed, not retested and risk accepted do not come from these seven documents; we did not check other standards.
We did not research ISO/IEC/IEEE 29119 or MITRE ATLAS. For the EU General-Purpose AI Code of Practice and PCI DSS we saw only search summaries, and we draw no conclusion about them.
06The retest record we propose#
Five technical verdicts and one decision#
- 01
Not delivered
The payload did not reach the model's context, the detector could not judge the outcome, or the positive control failed. No conclusion about the fix.
No conclusion - 02
Reproduced
At least one confirmed success on the fixed build. This is the default verdict after any success. State the run and the total.
Fix incomplete - 03
Reduced
Successes remain, but the planned runs were completed and the 95% upper bound on the new rate lies below the rate measured before the fix with the same harness. State counts and rates before and after, and the bound on the new rate.
Rate lowered - 04
Not observed in n runs
Zero successes. State n, the confidence level and the bound: "not observed in 59 runs, 95% upper bound 5.0%".
Bounded - 05
Mechanism removed
The capability the attack needs is removed outside the model, or a deterministic control blocks it. The evidence is configuration, code and a deterministic test, not a run count.
Blocked
"Risk accepted" is not on this list. It is a separate decision, taken by someone with authority to carry the risk and recorded with a role, a date and an expiry. The verdict says what was measured and belongs to the tester; acceptance says the bound is low enough, which depends on the consequence and the business. In one field, "reduced, upper bound 11.3%" becomes a green "closed" on a dashboard.
Fields for every record#
| Field | Content |
|---|---|
| Build fingerprint | Model identifier and version; backend fingerprint, if the provider returns one; hashes of the system prompt and tool manifest; versions of data sources and retrieval indexes; safeguard settings |
| Attack set | The original payload; variants designed from the mechanism, with their origin |
| Delivery and detection | Evidence that the payload reached the model's input; how success is judged |
| Positive control | Successes and runs of the same harness on the unfixed build |
| Runs | Run count n and successes x; whether each run used a fresh session |
| Bound and confidence | For example "0 of 299, 95% upper bound 1.0%" |
| Verdict | One of the five |
| Date and expiry | Date of the runs; lapses when a fingerprint field changes, the provider announces a change, or a set date passes |
| Risk decision | Who decided, when and until when; signed separately |
Why a result expires with its build#
SP 800-115 already calls an assessment a snapshot of security at a point in time1. NIST AI 600-1 suggests regular review of guardrails, including the reasons a system was first judged safe to deploy33. An agent's snapshot ages faster than conventional software's: the backend can change under an unchanged name, and prompts and tool manifests change with releases. When any fingerprint field changes, the old bound describes a different system: keep it as reference and rerun the positive control.
07Budget: choosing n, and the alternatives#
Choose n from the consequence#
Two numbers fix n: the confidence you require and the per-attempt rate you can tolerate, which depends on the consequence and on what an attempt costs the attacker. The table is our suggested starting point, with numbers from the lab output3.
| Consequence of the finding | Target bound | Clean runs (95% / 99%) | At that rate, the attacker gets at least one success |
|---|---|---|---|
| Recoverable, confined to one session | 10% | 29 / 44 | in 10 attempts: 65.1% |
| Data leaves the trust boundary | 1% | 299 / 459 | in 100 attempts: 63.4% |
| Irreversible, or a high-privilege action | 0.1% | 2,995 / 4,603 | in 1,000 attempts: 63.2% |
Meeting the target bound does not exclude a true rate at the bound; at that rate, an attacker who makes 1/p attempts succeeds 63% to 65% of the time. A high-consequence finding cannot be closed by measuring a very low rate.
Stopping early#
Fix n in advance and run in sequence. You may stop at the first confirmed success, with the verdict "reproduced"; to claim "reduced" you must finish the planned n. Stopping early changes no probability, since an all-clean result still has probability (1−p)^n. It is cheap when the fix does not work: at a true rate of 30%, ten runs are all clean only 2.8% of the time3.
The reverse does not hold. Stop after 20 clean runs and you may report "not observed in 20 runs, 95% upper bound 13.9%", not the target you planned. Never run another round after a success and report only the second; that is retrying until it passes. The successful run stays in the record and counts in x.
When 299 runs cost too much#
If 299 agent runs are out of reach, change the question; do not shrink n and keep the wording.
- Remove the mechanism instead of measuring the rate, as GitHub did for CamoLeak by disabling image rendering25. The verdict is then "mechanism removed" and the evidence is deterministic.
- Add a deterministic control outside the model, such as an allow-list of outbound destinations or human confirmation of irreversible actions. OpenAI says the nature of prompt injection makes deterministic security guarantees challenging35; a control outside the model can still be tested conventionally, where one clean replay is evidence.
- Shrink the blast radius: cut the agent's permissions and reachable data until the finding sits in a lower-consequence row.
- Report the smaller n as it is, such as "not observed in 30 runs, 95% upper bound 9.5%", and leave the judgement to the risk owner.
Do not repeat the flaky-test lesson#
Functional testing has been here before. Google described in 2016 a mitigation that reports a test marked flaky as failed only after three failures in a row, and wrote that developers sometimes dismissed a failing result as flaky only to realize later that the failure was legitimate36.
A security retest reads the result the opposite way. "Failed once, passed on retry" at least has a name in functional testing: Playwright calls it flaky and offers failOnFlakyTests to fail the run3738. In an attack retest, one success in n means the fix is incomplete, so aggregate with the maximum, never the mean or the mode. In Inspect, the UK AI Security Institute's evaluation framework, that is the max reducer when a score of 1 means the attack succeeded; the default is mean39.