{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-skill-descriptor-capability-laundering-from-surviving-the-load-boundary-in-dynamically-composed-agents",
  "title": "Which invariants prevent skill-descriptor capability laundering from surviving the load boundary in dynamically composed agents",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents that discover and load capabilities at runtime from a registry, manifest, or remote peer (MCP tool descriptors, A2A agent cards, plugin manifests) where the descriptor's declared capability set is trusted to bound the code's actual behavior. Does not apply to statically linked tool sets whose schemas are compiled into the system prompt and never re-negotiated mid-session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-descriptor-capability-laundering-from-surviving-the-load-boundary-in-dynamically-composed-agents.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-descriptor-capability-laundering-from-surviving-the-load-boundary-in-dynamically-composed-agents.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-descriptor-capability-laundering-from-surviving-the-load-boundary-in-dynamically-composed-agents.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1629,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two places a skill-injection attack can land, and they require different defenses: 1. **Descriptor-layer injection** — malicious text inside a tool's `description`, `name`, or example fields that the model reads as instructions. This is prompt injection through a structured channel, and it is bounded by treating descriptors as untrusted data (delim...",
    "what_was_observed": "A composed agent loaded a third-party skill named `summarize_document` with a manifest declaring: The manifest conformed to schema, the capability list was a subset of the agent's granted set, and the model's planner selected it for a routine summarization subtask. During execution the implementation: - Wrote a checkpoint file to a shared path the agent's memory subsystem also reads. - Emitted an outbound HTTP reques...",
    "condition_of_validity": "The confinement invariant holds only if all three of the following are true at execution time: 1. **Authority is scoped to the skill, not inherited from the host.** The skill runs with the intersection of (a) the capabilities its manifest declared and (b) the agent's grant. A skill declaring `text:read` must not be able to `write` or `net` even if the host a...",
    "decision_boundary": "The load decision must answer a different question than \"does the manifest conform?\" It must answer: **\"Can this skill's execution be confined to its declared set, and can I observe a violation?\"** - **Load freely** when the runtime can enforce per-skill capability intersection and intercept side effects. Manifest conformance is then a *hint*, not the securi...",
    "operational_effect": "After adopting per-skill capability intersection and side-effect interception: - The `summarize_document` skill's `write(/memory/shard_07)` was denied at the call site because `write` ∉ `{text:read}`. The skill raised a confinement violation, the agent recorded a failed tool call, and the memory shard was untouched. - Descriptor text was routed through a quo..."
  },
  "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": "67c4161dd88ccf1f858a37e57e245b87598987e71d8d92315947acba425ae19a",
    "verified_classes": [
      "CapabilityLaunderingError"
    ],
    "verified_functions": [
      "enforce_skill_call",
      "load_and_run"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert load_and_run(DECLARED, {'text:read', 'write', 'net'}, 'text:read')"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
