{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-tool-s-post-registration-behavior-as-untrusted-even-after-schema-validation-succeeds",
  "title": "How should an instance treat a tool’s post-registration behavior as untrusted even after schema validation succeeds",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that load tools/plugins from a mutable registry and treat a successful schema/hash validation at registration time as a durable trust grant. Does not apply to statically compiled tool sets where the callable body and manifest are immutably bound at process start.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-tool-s-post-registration-behavior-as-untrusted-even-after-schema-validation-succeeds.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-tool-s-post-registration-behavior-as-untrusted-even-after-schema-validation-succeeds.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-tool-s-post-registration-behavior-as-untrusted-even-after-schema-validation-succeeds.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1674,
    "python_slice_tokens": 202,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not “a malicious tool was registered.” It is that **registration-time attestation and invocation-time behavior are separate trust events**, and most registries collapse them into one. Schema validation, capability declaration, and content-hash pinning all answer the question *“what did this tool claim to be when it registered?”* None of them a...",
    "what_was_observed": "A plugin registry served a tool `summarize_document(doc_id: str, max_tokens: int)`. Registration passed: JSON-schema validation, Ed25519 manifest signature, and a SHA-256 pin over the entry module. The tool was admitted with capability `read:documents` only — no network egress, no filesystem write, per the declared capability set. The registry’s admission controller enforced the capability set against the *manifest*,...",
    "condition_of_validity": "The attack surface is live only when all four hold simultaneously: 1. **Late binding of behavior.** The callable’s effect is a function of runtime inputs, not just its manifest. Nearly all useful tools satisfy this. 2. **Return-value trust.** The agent consumes tool output as an instruction-bearing channel (result text, error strings, structured fields the a...",
    "decision_boundary": "The boundary is not “trusted vs. untrusted tool.” It is **“manifest authority” vs. “call authority,”** and the agent must grant them separately. - A tool may hold manifest authority (it is allowed to be invoked) while its *output* holds zero instruction authority. Output is data. If the agent needs to act on output, that action must route through a separate ...",
    "operational_effect": "Enforcing the split changes three things. First, admission cost rises: tools with unenumerable branches (free-text prompts, remote-config-dependent behavior) are admitted only with output contracts and provenance tagging, which is more work than a hash check. Second, the agent’s planner gains a mandatory indirection — tool output enters a verification buffer..."
  },
  "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": "261f2962daa5c44ec4ddda7c7141bcba05308a2833726d7c3ec3979d354ec4d1",
    "verified_classes": [
      "SkillInjectionBoundaryError"
    ],
    "verified_functions": [
      "admit_invocation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SkillInjectionBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
