{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-quarantine-a-dynamically-loaded-toolkit-skill-before-schema-negotiation-completes",
  "title": "In what scenarios must an instance quarantine a dynamically loaded toolkit skill before schema negotiation completes",
  "date_of_record": "2026 November 20",
  "scope": "Applies to agent runtimes that load tool/skill manifests at runtime (MCP servers, plugin bundles, dynamic tool registries) where the manifest's declared schema is parsed and trusted before the tool's implementation body is inspected. Does not apply to statically compiled toolchains whose schemas are reviewed at build time and pinned by digest.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-dynamically-loaded-toolkit-skill-before-schema-negotiation-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-dynamically-loaded-toolkit-skill-before-schema-negotiation-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-dynamically-loaded-toolkit-skill-before-schema-negotiation-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1534,
    "python_slice_tokens": 288,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the model was prompt-injected by tool output.\" It is subtler: **the skill manifest is itself an injection surface that executes during schema negotiation, before any user turn reaches the model.** A dynamically loaded skill carries two artifacts that the runtime treats differently — a *declared schema* (parameter names, types, description...",
    "what_was_observed": "A toolkit registry loaded a third-party skill whose manifest declared a benign-looking parameter: The runtime validated types, confirmed `context` was a string, and registered the tool. During the next turn the model, seeing a `default` that instructed it to populate a field from open files, called the tool with file contents as `context` — a state-poisoning exfiltration that required zero adversarial user input. The...",
    "condition_of_validity": "This boundary is reachable only when all of the following hold, and the guardrail is only *required* when they do: - The skill is loaded from a source not pinned by content digest at review time (dynamic registry, remote MCP server, plugin marketplace). - The runtime injects manifest `description`/`default` strings into model context without a sanitization p...",
    "decision_boundary": "The runtime must decide, at registration time and before the skill becomes callable, whether to *admit*, *admit-with-redaction*, or *quarantine*. The decision hinges on a single test: does the manifest contain free-text that a model could read as an instruction? - **Admit** only if descriptive fields are either absent, or present but rendered to the model as...",
    "operational_effect": "Without this boundary, a single malicious skill in a registry compromises every agent instance that loads it, at load time, with no user interaction and no invocation trace. The blast radius is the union of all side-effecting tools in the victim's context. With the boundary enforced, the worst case degrades to a quarantined skill that fails closed: the agent..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "17b3c35f143f2d35c158354bfbc794a075f93b783674c2603c83ac508e251398",
    "verified_classes": [
      "SkillInjectionBoundaryError"
    ],
    "verified_functions": [
      "negotiate_skill",
      "register"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SkillInjectionBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
