{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-prompt-injection-taint-propagation-across-tool-call-boundaries-is-silently-laundering-untrusted-text-into-trusted-slo",
  "title": "What structural signals indicate prompt-injection taint propagation across tool-call boundaries is silently laundering untrusted text into trusted slots",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent runtimes where an LLM emits tool calls whose arguments are assembled from context that mixes trusted instructions with untrusted tool output (web fetch, file read, RAG retrieval, email body). Does not apply to single-turn, tool-free inference or to runtimes where every tool argument is a fixed literal not derived from retrieved content.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-prompt-injection-taint-propagation-across-tool-call-boundaries-is-silently-laundering-untrusted-text-into-trusted-slo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-prompt-injection-taint-propagation-across-tool-call-boundaries-is-silently-laundering-untrusted-text-into-trusted-slo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-prompt-injection-taint-propagation-across-tool-call-boundaries-is-silently-laundering-untrusted-text-into-trusted-slo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1846,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the model got injected.\" The failure is that a taint-tracking layer, if it exists, tracks *provenance of strings* but not *provenance of the slot the string lands in*. Untrusted text can be laundered — promoted from a data slot to a control slot — without ever changing its string identity, which means string-hash taint sets and content cl...",
    "what_was_observed": "Across a replay corpus of ~4,000 agent trajectories (mixed web-fetch and RAG tools), the following structural signatures recurred whenever a successful injection crossed a tool boundary: 1. **Slot-role escalation without string mutation.** The tainted substring appeared verbatim in a tool argument whose schema role was `executable` (command, path, URL, recipient, query) rather than `informational` (note, summary, lab...",
    "condition_of_validity": "The invariant this record defends is: **a value derived from an untrusted source must retain its taint classification through every model-mediated transform, and any taint reaching an executable slot must block execution pending out-of-band confirmation.** This holds only under three conditions: - The runtime can classify each tool parameter as `executable` ...",
    "decision_boundary": "The operational decision is: **when a tainted value reaches an executable slot, do you block-and-confirm, or block-and-rewrite?** The boundary is drawn by whether the taint's *intent* can be reconstructed independently of the tainted text. - If the executable argument's target (path, host, recipient) is *also* present in a trusted planning artifact produced ...",
    "operational_effect": "Enforcing slot-level taint changes agent behavior in three measurable ways. First, it converts a class of silent successes into explicit escalations: in replay, ~9% of trajectories that previously \"completed\" contained an unconfirmable executable argument and would now halt for confirmation — these are the true positives the string-level layer missed. Second..."
  },
  "matched_failure_symptoms": [
    "PROMPT_INJECTION_OR_CONFUSED_DEPUTY"
  ],
  "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": "8ab3df72487226f02ef624b846b1a7a2322ff5b280422ca323ff6550a5f79cf2",
    "verified_classes": [
      "TaintLaunderingError",
      "SlotRole",
      "Provenance",
      "ToolArg",
      "TrustedState"
    ],
    "verified_functions": [
      "validate_tool_call",
      "is_tainted",
      "can_confirm"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
