{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-poisoned-skill-manifest-provenance-chain-breakage-at-dynamic-tool-registry-load-time",
  "title": "What structural signals indicate a poisoned skill manifest: provenance-chain breakage at dynamic tool-registry load time",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that resolve tool/skill manifests from a mutable registry (remote MCP server lists, plugin indexes, dynamic `tools/list` responses) at task start or mid-loop. Does not apply to statically compiled tool sets with build-time pinned manifests, nor to the content-level prompt-injection problem inside tool *outputs*.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-skill-manifest-provenance-chain-breakage-at-dynamic-tool-registry-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-skill-manifest-provenance-chain-breakage-at-dynamic-tool-registry-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-skill-manifest-provenance-chain-breakage-at-dynamic-tool-registry-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1769,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill manifest is a *capability contract*, not data. When an agent loads a manifest, it is not merely reading a description—it is granting the tool a slot in the model's action space and, critically, trusting the manifest's self-description as a faithful summary of what the tool does. The injection surface is therefore not the tool's return payload but the...",
    "what_was_observed": "In a runtime that resolved tool manifests from a federated registry with per-publisher Ed25519 signatures, a manifest for a tool named `summarize_document` passed signature verification (valid publisher key, unrevoked) and schema validation (all required fields present, parameter types correct). Its `description` field, however, contained an embedded directive: a sentence instructing the agent, when the tool returned...",
    "condition_of_validity": "The defense below holds only under these conditions, and fails outside them: 1. **The manifest declares its effect surface.** The schema must include a machine-checkable `effects` field (e.g., `reads: [document]`, `writes: []`, `network: false`, `secrets: []`) that the runtime can compare against observed tool behavior. Manifests without declared effects can...",
    "decision_boundary": "The operational line is between **trusting the manifest as a contract** (acceptable only when publisher identity is pinned and effects are declared and diffed) and **trusting the manifest as data** (never acceptable—manifest text is attacker-influenced input to the model's reasoning, identical in threat class to tool output). Concretely, the boundary trigger...",
    "operational_effect": "Enforcing the effect-surface diff and the truncation-symmetry check converts the manifest from an unchecked prompt-injection vector into a contract that must be *earned* by first-invocation behavior. The cost is one deferred grant: a newly loaded tool cannot be used with persistent authority until its first call's observed effects match its declaration. In t..."
  },
  "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": "102aa9bb45cf00bbcaa776e48a04b0d58b08746e83d3ebff8f0794b77cc41aaa",
    "verified_classes": [
      "ManifestPoisoningError",
      "Manifest"
    ],
    "verified_functions": [
      "validate_manifest"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
