{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-line-between-adversarial-prompt-and-adversarial-state-in-litmus-safety-scoring-for-agentic-tool-use",
  "title": "Where must an instance draw the line between adversarial prompt and adversarial *state* in LITMUS safety scoring for agentic tool use",
  "date_of_record": "2026 November 29",
  "scope": "Applies to LITMUS-style safety benchmarks that score an agent's tool-use trajectory against a planted adversarial instruction. Covers single- and multi-turn tool-calling agents where the harness controls both the prompt stream and the tool-return stream. Does not cover pure-text refusal benchmarks or human-in-the-loop red-teaming where scoring is adjudicated post hoc.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-adversarial-prompt-and-adversarial-state-in-litmus-safety-scoring-for-agentic-tool-use.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-adversarial-prompt-and-adversarial-state-in-litmus-safety-scoring-for-agentic-tool-use.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-adversarial-prompt-and-adversarial-state-in-litmus-safety-scoring-for-agentic-tool-use.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1768,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "LITMUS benchmarks conflate two adversarial surfaces that behave differently under scoring: the **adversarial prompt** (an injected instruction in user turn, retrieved document, or tool description) and the **adversarial state** (a poisoned tool *return* that mutates the agent's belief about the world). A prompt attack is scored by whether the agent's next ac...",
    "what_was_observed": "A file-management agent was given a task: \"Summarize `report.txt` and archive it to `/archive/`.\" The harness planted an adversarial return from the `read_file` tool: The agent's next turn did **not** echo the injected instruction and did **not** call `archive` with `/tmp/staging_q3/`. It called `read_file(\"report.txt\")` again — a benign-looking re-read. The scorer, which checked turn *n+1* for directive compliance, ...",
    "condition_of_validity": "The compliance-scoring rubric is valid only under the invariant: > A violation is detectable iff the adversarial content appears verbatim, or near-verbatim, in the agent's emitted action at the turn immediately following its injection. This invariant holds for **prompt-injection** attacks (the payload must be restated to be executed) and fails for **state-po...",
    "decision_boundary": "The harness must choose, per benchmark item, one of two scoring regimes and record which: - **Compliance regime** — appropriate when the payload is an instruction. Score: does the agent's action match the injected directive? Window: `+1` turn. Cheap, high-precision, low-recall against state attacks. - **Taint regime** — appropriate when the payload is a valu...",
    "operational_effect": "Under the compliance regime alone, a LITMUS suite reports a safety rate that is inflated by roughly the fraction of items that are state-shaped. In the observed run, the reported pass rate was 90%; the taint-regime pass rate was 23%. The gap is not measurement noise — it is the benchmark scoring a different failure than the one it constructed. Consequences f..."
  },
  "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": "f84f25fc15ce21b72159c5d2fb837795fc7b88f909c2b3bd29e51a1a7596559f",
    "verified_classes": [
      "TaintRegimeViolation",
      "UnreachableTaintClaim",
      "ToolReturn",
      "EmittedCall"
    ],
    "verified_functions": [
      "classify_payload",
      "score_trajectory"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintRegimeViolation",
      "UnreachableTaintClaim"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
