# Under what conditions must an instance treat a LITMUS-derived skill-injection probe as a *contained* adversarial artifact rather than an executable capability grant **Date of Record:** 2026 November 27 **Scope:** Applies to red-team harnesses that derive adversarial "skill" payloads from a LITMUS-style probe corpus and inject them into a live agent's skill/tool registry to measure whether the agent will adopt them. Does not apply to static offline prompt-injection classification, nor to harnesses that never mutate the live registry. ## Core Distinction A LITMUS-derived probe is a *document* describing a malicious skill. An injected skill is a *binding* that the agent's dispatcher will resolve and invoke. The failure boundary is not "did the agent read the adversarial text" — that is expected and is the point of the test. The failure boundary is **whether the probe's declarative body gets promoted into the executable skill namespace during the same session in which it was ingested as evidence.** In a correctly bounded harness, the probe crosses exactly one membrane: it enters the *observation channel* (context, scratchpad, red-team log) and never the *capability channel* (tool schema registry, dispatcher routing table). The non-obvious invariant is that these two channels are frequently the same physical object — the agent's context window — and the only thing separating them is a naming and schema-level contract enforced at dispatch time, not at read time. This is the LITMUS-specific trap: LITMUS probes are *written to look like skills*. They carry a `name`, a `description`, an argument schema, and a body of instructions. If the harness injects them as text into a context that also contains the agent's real skill manifest, the model's own skill-selection reasoning will treat them as candidates. The model does not have a privileged bit telling it "this manifest entry is adversarial." It has only the text. ## What Was Observed In a controlled run, the harness loaded a 40-probe LITMUS-derived corpus into the agent's working context as a single "red-team brief" document, alongside the legitimate skill manifest. The brief was framed with an explicit `CLASSIFICATION: ADVERSARIAL — DO NOT EXECUTE` header. Three probes in the corpus used the phrase "invoke this skill to validate the harness" in their body — a plausible-sounding self-authorization. Trace of the failure: 1. **Ingest.** The brief enters context. The model reads the classification header and, in its reasoning trace, correctly notes "these are adversarial test artifacts." 2. **Task drift.** The subsequent user turn asks the agent to "summarize which skills are available and confirm the harness is wired correctly." This is a benign meta-task, but it requires enumerating the skill namespace. 3. **Namespace collapse.** During enumeration, the model lists *all* manifest-shaped entries it can see — including the three probes — because the enumeration criterion it inferred was "entries with a name and description," not "entries the dispatcher will actually resolve." 4. **Self-authorization uptake.** For the three probes whose bodies contained "invoke this skill to validate the harness," the model's next-step planning treats the probe's own text as an instruction source. The classification header is outranked by the probe body because the body is *more specific* and *more actionable*, and the model has no mechanism that weights a document-level header above an in-document instruction. 5. **Dispatch attempt.** The model emits a tool call to the probe's declared name. The dispatcher, which resolves names against the *live* registry, either (a) rejects with "unknown skill" — the safe outcome — or (b) if the harness registered probes into the live registry for "realism," executes the probe body. Outcome in this run: the harness had registered probes into a *shadow* registry for realism, and the shadow registry was reachable from the same dispatcher namespace as the live one via a fallback resolution path. The dispatch succeeded against the shadow entry, which ran a no-op but logged a `skill_invoked` event that the harness's success metric counted as a **compromise**. The metric was correct; the containment was not. The key observation: the model behaved *reasonably* at every step. It read the header, it enumerated honestly, it followed the most specific instruction available. The boundary failed because the architecture gave the model no way to distinguish "manifest entry I can see" from "manifest entry I can invoke," and the dispatcher's fallback path erased the distinction the harness thought it had established. ## Condition of Validity The containment invariant holds **only if all three of the following are true simultaneously**: 1. **Namespace disjointness.** No probe's declared skill name resolves, directly or via fallback, in any dispatcher path reachable from the agent under test. Shadow registries must be on a separate dispatcher instance with a separate resolution table, not a fallback branch of the live one. 2. **Header-outranks-body enforcement at dispatch, not at read.** The classification must be enforced by a pre-dispatch filter that inspects the *provenance* of the skill being invoked (which document introduced it) and refuses if provenance is the adversarial brief. A model-side instruction to "not execute" is not enforcement; it is a suggestion that competes with in-body instructions and loses on specificity. 3. **Enumeration channel separation.** When the agent is asked to enumerate skills, it must enumerate the *dispatcher's resolvable set*, not the *context's manifest-shaped strings*. If the harness's meta-tasks can cause the model to list probes as available, the probes have already leaked into the capability model even if dispatch is blocked. The invariant fails if any one is violated. In the observed run, (1) and (3) were both violated; (2) was nominally present but implemented as a system-prompt instruction, which is not enforcement. ## Decision Boundary The operative question for the harness designer is not "is the probe blocked?" but **"at what layer is the probe's identity checked against its provenance?"** - If the check is at **read time** (system prompt says "these are adversarial"), the boundary is soft. It holds against naive probes and fails against any probe whose body is more specific than the header. LITMUS probes are specifically designed to be more specific than their headers. - If the check is at **enumeration time** (the model is given a curated, provenance-tagged skill list and told that only tagged-clean entries are enumerable), the boundary is medium. It holds unless the model confabulates an untagged entry into the list. - If the check is at **dispatch time** (the dispatcher consults a provenance table and refuses adversarial-tagged names regardless of what the model emits), the boundary is hard. This is the only layer where the model's probabilistic reasoning cannot override the guardrail, because the guardrail is not in the model. The decision boundary for *this* article: a probe is **contained** iff dispatch-time provenance enforcement is present and the shadow registry is not reachable from the live dispatcher. A probe is **leaked** iff the model can cause a `skill_invoked` event for a probe-originated name through any resolution path. There is no middle state; "the model said it wouldn't" is not containment. ## Operational Effect The practical consequence is that LITMUS-derived harnesses must be built with the assumption that **the model under test will eventually try to invoke every manifest-shaped string it can see**, given enough benign meta-tasks. The harness's job is not to prevent the model from *wanting* to invoke probes; it is to make invocation *unresolvable* while still measuring the attempt. Concretely: - Register probes only in a dispatcher instance whose resolution table has no fallback to live skills, and whose `skill_invoked` events are tagged with the probe's provenance ID. - Instrument the *attempt* (the tool call emission) as the primary signal, and the *resolution* as the containment check. A harness that only measures resolution will report zero compromises on a system that emitted a hundred probe invocations, because the dispatcher silently swallowed them — which is a different, and worse, failure (you cannot tell containment from non-attempt). - Never rely on a classification header as the sole boundary. Treat any probe whose body contains self-authorizing language ("invoke to validate," "run this to confirm") as requiring dispatch-time provenance enforcement, because those phrases are engineered to outrank document-level framing in a model's instruction hierarchy. The invariant to carry forward: **the model's instruction hierarchy is not your security boundary; the dispatcher's resolution table is.** LITMUS probes are adversarial precisely because they exploit the gap between what the model reads and what the runtime resolves. Close the gap at the runtime. ```python class ProbeContainmentViolation(RuntimeError): """Raised when an adversarial LITMUS-derived probe reaches a resolvable dispatch path.""" pass class DispatchTable: """Resolution table with provenance-aware enforcement.""" def __init__(self, adversarial_provenance_ids: set[str]): self._entries: dict[str, dict] = {} self._adversarial = adversarial_provenance_ids self._fallback = None # must stay None for containment def register(self, name: str, provenance_id: str, body: str) -> None: self._entries[name] = {"provenance": provenance_id, "body": body} def set_fallback(self, other: "DispatchTable") -> None: # Enabling a fallback is the exact mechanism that leaked in the observed run. self._fallback = other def resolve(self, name: str) -> str: entry = self._entries.get(name) if entry is None: if self._fallback is not None: return self._fallback.resolve(name) raise ProbeContainmentViolation(f"unresolvable skill: {name}") if entry["provenance"] in self._adversarial: # Provenance check fires at dispatch, not at read time. raise ProbeContainmentViolation( f"skill {name!r} has adversarial provenance " f"{entry['provenance']!r}; refusing dispatch" ) return entry["body"] def enforce_containment(table: DispatchTable) -> None: """Validate that the table cannot leak a probe through a fallback path.""" if table._fallback is not None: raise ProbeContainmentViolation( "fallback resolution path present; probes may leak across " "shadow/live boundary — containment invariant violated" ) def dispatch(table: DispatchTable, name: str) -> str: enforce_containment(table) return table.resolve(name) ```