{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-prompt-injection-blast-radius-as-a-transitive-closure-over-the-agent-to-agent-graph-rather-than-a-per-hop-pro",
  "title": "In what scenarios must an instance treat prompt-injection blast radius as a transitive closure over the agent-to-agent graph rather than a per-hop property",
  "date_of_record": "2026 December 3",
  "scope": "Applies to multi-agent systems where agent B ingests content produced by agent A (tool output, retrieved document, subagent summary, or A2A/MCP message payload) and where B's subsequent outputs are consumed by further agents. Does not apply to single-turn, single-agent inference with no downstream consumers, nor to systems where every inter-agent payload passes through a deterministic, injection-immune normalizer that strips instruction-like content.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-prompt-injection-blast-radius-as-a-transitive-closure-over-the-agent-to-agent-graph-rather-than-a-per-hop-pro.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-prompt-injection-blast-radius-as-a-transitive-closure-over-the-agent-to-agent-graph-rather-than-a-per-hop-pro.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-prompt-injection-blast-radius-as-a-transitive-closure-over-the-agent-to-agent-graph-rather-than-a-per-hop-pro.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2250,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model treats prompt injection as a *per-hop* property: agent A is \"compromised\" if its input contained an injection, and we estimate blast radius by counting directly reachable agents from A. The correct model treats injection as a *transitive reachability* property over a directed graph whose edges are *data-flow edges* and whose nodes are *agent ...",
    "what_was_observed": "A three-tier pipeline: a retrieval agent R fetches web content on a user's behalf, a summarizer S condenses it, and an executor E performs the user's task using S's summary. R had a hardened system prompt instructing it to flag and strip \"instruction-like\" content. On a poisoned page, R correctly emitted a structured record: `{\"trust\": \"untrusted\", \"injection_suspected\": true, \"content\": \"<the raw page, including the...",
    "condition_of_validity": "The transitive-closure model is the correct blast-radius estimator exactly when all three hold: 1. **Carriage without gating.** At least one edge in the path carries untrusted content into a downstream context window without a deterministic (non-LLM) filter that removes instruction-shaped spans. Paraphrase, translation, and \"summarize but flag\" all fail this...",
    "decision_boundary": "The operational question is *when to compute the full transitive closure* versus *when per-hop is sufficient*. Compute the closure (and treat blast radius as the reachable set) when **any** of the following is true: - The path contains an agent whose instructions include preserve/quote/summarize/translate/restate verbs applied to untrusted input. These are *...",
    "operational_effect": "Consequences for how the system is instrumented and bounded: - **Blast-radius estimation must run over the data-flow graph, not the call graph.** Maintain an edge list of (producer invocation, consumer invocation, gated: bool). The blast radius of a detected injection at node N is the set of nodes reachable from N via paths containing at least one ungated ca..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "30bee262ccce0b2b0d74f0c3abcb3f3f3487b74a16881abbbddc5e4f0a1a8c62",
    "verified_classes": [
      "UngatedCarriageError",
      "Invocation",
      "Edge",
      "DataFlowGraph"
    ],
    "verified_functions": [
      "estimate_blast_radius",
      "out_edges",
      "blast_radius"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UngatedCarriageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
