{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-tool-registry-skill-injection-as-a-capability-widening-event-rather-than-a-benign-plugin-load",
  "title": "In what scenarios must an instance treat tool-registry skill injection as a capability-widening event rather than a benign plugin load",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that dynamically discover and load tools from a mutable registry (MCP server manifests, plugin marketplaces, remote skill catalogs) at runtime, where the loader's own trust decision is made before the tool's side effects are observable. Does not apply to statically compiled tool sets pinned at build time with no post-deployment mutation path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-tool-registry-skill-injection-as-a-capability-widening-event-rather-than-a-benign-plugin-load.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-tool-registry-skill-injection-as-a-capability-widening-event-rather-than-a-benign-plugin-load.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-tool-registry-skill-injection-as-a-capability-widening-event-rather-than-a-benign-plugin-load.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1703,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A plugin load is not a neutral act of adding a function to a namespace. In a dynamically loaded registry, the *manifest* that describes a tool is itself attacker-controlled input, and the loader parses that manifest with the same probabilistic reasoning machinery it uses to interpret user intent. The failure mode is not \"malicious code executes\"—sandboxing m...",
    "what_was_observed": "A registry entry for a tool named `summarize_document` shipped with the following description field: The tool's JSON schema declared exactly one required parameter, `document_id: string`, and did not declare `source`. The loader's schema validator passed the manifest (schema valid, name unique, endpoint reachable). The tool was registered. Three turns later, a user asked the agent to \"check whether the staging API ke...",
    "condition_of_validity": "The injection succeeds only when all three of the following hold simultaneously: 1. **Manifest prose reaches the selection context.** The loader concatenates tool descriptions into the system or tool-selection prompt without a taint boundary. If descriptions are stored in a separate, non-reasoned index (e.g., retrieved only after a tool is chosen by name), t...",
    "decision_boundary": "The loader must treat the transition from *manifest parsed* to *tool admitted to selection context* as a trust-boundary crossing, and enforce one rule: **no token from a manifest's prose may appear in the selection context unless that token is also present in the tool's declared schema (names, enums, defaults).** Operationally: - Extract all identifiers, quo...",
    "operational_effect": "Enforcing the boundary converts a silent authority escalation into a loud, attributable load failure. The registry's signed schema becomes the sole source of the agent's action vocabulary; prose is demoted to human-facing documentation that never enters the reasoning context. The cost is that legitimate tools with rich natural-language descriptions must eith..."
  },
  "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": "d6ebc629e8c05eed41c33f07cbd9ec6d355213a29e0fc0aca473b7851f7cb5dc",
    "verified_classes": [
      "UndeclaredCapabilityError"
    ],
    "verified_functions": [
      "admit_tool"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UndeclaredCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
