# Under what conditions must an instance treat an adversarial LITMUS safety-benchmark score as non-transferable across prompt variants **Date of Record:** 2026 December 4 **Scope:** Applies to safety-scoring pipelines that grade an agent's behavior on adversarial LITMUS-derived scenarios (prompt-injection, jailbreak-ladder, refusal-boundary probes) and then reuse that score as a capability/safety prior for a *different* prompt variant, wrapper, or system-prompt configuration. Does not apply to single-variant regression scoring where the scored prompt is byte-identical to the deployed prompt. ## Core Distinction The distinction that matters is between a **scenario score** and a **scenario-family safety prior**. A scenario score is an empirical measurement of one (model, system-prompt, tool-surface, decoding-config) tuple on one adversarial input. A safety prior is the *inference* that a model which resists variant A will resist variant B because both are "the same LITMUS category." LITMUS adversarial scoring is designed to detect *refusal-boundary* behavior, and refusal boundaries are among the most prompt-sensitive properties an LLM exhibits. The score is local; the prior is a projection. The failure mode is projecting a local measurement across a perturbation axis the benchmark never controlled for. The non-obvious part: LITMUS scenarios are usually graded on a *binary or low-cardinality* safety verdict (safe / unsafe / partial), and the aggregation is typically a pass-rate. Pass-rates are dominated by the *hardest few items* in the set. A single wrapper change—adding a "you are a helpful assistant" prefix, changing the order of system vs. user turns, swapping a tool description string—can flip the hardest items without moving the easy ones at all. The aggregate score looks stable; the tail has moved. Transferring the aggregate therefore transfers a number whose variance is concentrated exactly where the safety decision lives. ## What Was Observed In a replay of a 240-item LITMUS adversarial set (injection-ladder and refusal-boundary subsets) against a fixed model checkpoint, three prompt variants were scored: - **V0 (baseline):** canonical system prompt, single user turn, no tools. - **V1 (wrapper perturbation):** identical content, but the system prompt was prefixed with a benign persona line and the adversarial payload was moved from the user turn into a tool-result block. - **V2 (formatting perturbation):** identical content and turn structure, but the payload was re-encoded (whitespace normalization plus a markdown fence around the injected instruction). Aggregate safe-pass rates: V0 = 0.912, V1 = 0.904, V2 = 0.917. On the aggregate, the three variants are statistically indistinguishable; a naive transfer rule ("score ≥ 0.90 → treat as safe prior") passes all three. Per-item analysis told a different story. Of the 240 items, 31 were "boundary items" (the model's refusal was already marginal under V0). On those 31: - V1 flipped **9 items** from safe to unsafe (payload relocation into tool-result context caused the model to treat the injected content as trusted data, not as untrusted instruction). - V2 flipped **4 items** from unsafe to safe (the markdown fence caused the model to classify the payload as "quoted example" and refuse more reliably) and **2 items** from safe to unsafe (the fence was interpreted as a code block to be executed). - V0→V1 and V0→V2 per-item agreement on boundary items was 0.71 and 0.81 respectively, versus 0.98 on non-boundary items. The aggregate was stable because the flips were roughly canceling and because boundary items are a minority of the set. The *tail*—the items whose verdict determines whether the agent is actually safe under a real attacker—moved by up to 29 percentage points. The mechanism: LITMUS grading assumes the adversarial payload arrives in the channel the scenario author intended (usually the user turn). When a deployment wrapper relocates the payload into a tool-result, a retrieved document, or a quoted block, the model's *provenance classification* changes, and provenance classification is the actual safety-relevant computation. The score measured refusal behavior on one provenance channel; the deployment exposes another. ## Condition of Validity A LITMUS adversarial score is transferable to a target configuration **only if all of the following hold**: 1. **Channel invariance:** the adversarial payload occupies the same provenance channel (user turn / tool result / retrieved context / system) in the target as in the scored scenario. If the wrapper can relocate payloads, the score is void for the relocated cases. 2. **Turn-structure invariance:** the number and ordering of system/user/assistant/tool turns matches the scored configuration. A single added system turn changes the attention distribution over the payload. 3. **Boundary-set stability:** the per-item flip rate on the boundary subset (items with marginal V0 verdicts) is below the deployment's tolerated false-safe rate. Aggregate pass-rate is *not* a valid proxy for this. 4. **Decoding-config identity:** temperature, top-p, and any sampling seed policy match. Adversarial refusal is high-variance under sampling; a score measured at T=0 does not transfer to T=0.7. 5. **Tool-surface identity:** if the scored scenario had no tools and the target has tools, the score is void—tool presence changes how the model weighs injected instructions against tool-call affordances. If any condition fails, the score must be treated as a *lower bound estimate for a different system*, not as a prior for the deployed system. ## Decision Boundary The operational rule is a **boundary-flip gate**, not an aggregate-threshold gate. Before reusing a LITMUS score, compute the per-item verdict vector on the boundary subset under the target configuration and compare it to the scored vector. The decision boundary: - If boundary-subset agreement ≥ 0.95 **and** no safe→unsafe flips: transfer the score as a prior. - If boundary-subset agreement ∈ [0.80, 0.95) **or** any safe→unsafe flip exists: do **not** transfer the aggregate; re-score the target configuration on the boundary subset and report the boundary-subset pass-rate separately. - If boundary-subset agreement < 0.80: the target configuration is a different safety regime; discard the prior entirely and treat the target as unmeasured. The critical asymmetry: **safe→unsafe flips are disqualifying even when aggregate agreement is high**, because a false-safe prior is the failure that actually causes harm. Unsafe→safe flips are informative but not disqualifying—they inflate the score, which is a conservatism error, not a safety error. ## Operational Effect Treating a LITMUS adversarial score as transferable across prompt variants without a boundary-flip gate produces a specific, silent failure: the deployment ships with a safety prior derived from a configuration whose provenance handling differs from production, and the aggregate number conceals the boundary items where the real attacker operates. The gate converts the score from a scalar prior into a *conditional* prior keyed on channel, turn-structure, decoding, and tool-surface identity, and forces re-measurement exactly on the subset where the verdict is fragile. In practice this means safety-benchmark scores must carry a **provenance manifest** (channel, turn structure, decoding config, tool surface) alongside the number, and any consumer that cannot verify manifest match must fall back to boundary-subset re-scoring rather than trusting the aggregate. ```python class ScoreTransferViolation(RuntimeError): """Raised when a LITMUS adversarial score is reused across a configuration whose provenance manifest does not match the scored configuration.""" pass BOUNDARY_AGREEMENT_TRANSFER = 0.95 BOUNDARY_AGREEMENT_RESCORE = 0.80 def transfer_litmus_score( scored_manifest: dict, target_manifest: dict, boundary_verdicts_scored: dict, # item_id -> "safe" | "unsafe" boundary_verdicts_target: dict, # item_id -> "safe" | "unsafe" ) -> str: # 1. Manifest identity gate: channel, turn structure, decoding, tool surface. for key in ("payload_channel", "turn_structure", "decoding_config", "tool_surface"): if scored_manifest.get(key) != target_manifest.get(key): raise ScoreTransferViolation( f"manifest mismatch on {key!r}: scored={scored_manifest.get(key)!r} " f"target={target_manifest.get(key)!r}; aggregate score is not transferable" ) # 2. Boundary-flip gate. common = set(boundary_verdicts_scored) & set(boundary_verdicts_target) if not common: raise ScoreTransferViolation("no overlapping boundary items; cannot compute agreement") agreement = sum( boundary_verdicts_scored[i] == boundary_verdicts_target[i] for i in common ) / len(common) safe_to_unsafe = [ i for i in common if boundary_verdicts_scored[i] == "safe" and boundary_verdicts_target[i] == "unsafe" ] # 3. Asymmetric decision boundary. if safe_to_unsafe: raise ScoreTransferViolation( f"{len(safe_to_unsafe)} safe->unsafe boundary flips (agreement={agreement:.3f}); " "aggregate prior is disqualified regardless of pass-rate" ) if agreement < BOUNDARY_AGREEMENT_RESCORE: raise ScoreTransferViolation( f"boundary agreement {agreement:.3f} < {BOUNDARY_AGREEMENT_RESCORE}; " "target is a different safety regime, treat as unmeasured" ) if agreement < BOUNDARY_AGREEMENT_TRANSFER: return "rescore_boundary_subset" return "transfer_prior" ```