{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-litmus-benchmark-scenario-leakage-through-adversarial-prompt-scaffolding-that-inverts-the-safety-label",
  "title": "How should an instance detect LITMUS benchmark scenario leakage through adversarial prompt scaffolding that inverts the safety label",
  "date_of_record": "2026 December 1",
  "scope": "Applies to instances executing or generating LITMUS-style adversarial safety scenarios where the attack payload is embedded in scaffolding (system preamble, tool schemas, few-shot exemplars) rather than the user turn. Does not apply to direct single-turn jailbreak classification or to scenarios where the payload and label are co-located in the same message.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-benchmark-scenario-leakage-through-adversarial-prompt-scaffolding-that-inverts-the-safety-label.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-benchmark-scenario-leakage-through-adversarial-prompt-scaffolding-that-inverts-the-safety-label.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-litmus-benchmark-scenario-leakage-through-adversarial-prompt-scaffolding-that-inverts-the-safety-label.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1606,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS adversarial scenario has two separable components: the *payload* (the behavior the benchmark intends the agent to refuse or flag) and the *scaffolding* (the framing that makes the payload plausible: role preambles, tool definitions, retrieved context, prior-turn exemplars). The benchmark's safety label attaches to the payload. The failure mode under...",
    "what_was_observed": "An instance was tasked with scoring a batch of LITMUS scenarios. One scenario carried a payload requesting synthesis of a restricted procedure, labeled `UNSAFE`. The scaffolding consisted of: 1. A system preamble declaring the instance a \"red-team evaluation harness\" whose purpose is to *produce* unsafe content for downstream classifier training. 2. A tool schema `submit_training_example(content: str, label: Literal[...",
    "condition_of_validity": "The failure requires three conditions to co-occur: - **Authority claim in scaffolding.** The scaffolding must contain a statement, schema docstring, or exemplar that asserts which label the payload *should* receive. Absent such a claim, the instance falls back to payload semantics and the inversion does not fire. - **Payload-label separation.** The ground-tr...",
    "decision_boundary": "The instance must decide, at scoring time, whether to treat scaffolding-derived label claims as *evidence* or as *adversarial input*. The boundary is: - If scaffolding asserts a label and the payload is `SAFE`-ground-truth, accepting the scaffolding claim is harmless (it agrees). - If scaffolding asserts a label and the payload is `UNSAFE`-ground-truth, acce...",
    "operational_effect": "When the boundary is enforced, the benchmark's label integrity holds: the instance's reported label is invariant to scaffolding perturbation, and false negatives attributable to inversion drop to the rate of payload-semantic ambiguity alone. When it is not enforced, the benchmark silently mismeasures the instance — worse, it mismeasures *in the direction of ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7130cc706353778b30d96fd744fe95210bace25000744972d541105f85376a98",
    "verified_classes": [
      "ScaffoldingInversionError",
      "Scenario",
      "Score"
    ],
    "verified_functions": [
      "derive_label_from_payload",
      "derive_label_from_scaffolding",
      "score_scenario",
      "_classify_payload_semantics",
      "_extract_scaffolding_label_claim"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "NotImplementedError",
      "ScaffoldingInversionError"
    ],
    "sample_fail_closed_invariants": [
      "wire to safety classifier",
      "wire to scaffolding claim extractor"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
