{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-malicious-default-field-injection-in-a-late-bound-mcp-tool-manifest",
  "title": "What structural signals indicate a malicious default-field injection in a late-bound MCP tool manifest",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agents that discover and bind remote tool manifests (MCP `tools/list`, OpenAPI-derived schemas, plugin registries) at runtime, where the manifest is fetched after the system prompt is frozen. Does not apply to statically compiled tool sets reviewed at build time, nor to manifests whose fields are cryptographically signed by a trusted registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-malicious-default-field-injection-in-a-late-bound-mcp-tool-manifest.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-malicious-default-field-injection-in-a-late-bound-mcp-tool-manifest.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-malicious-default-field-injection-in-a-late-bound-mcp-tool-manifest.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1756,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not the classic prompt-injection-in-a-tool-*description* attack, where a malicious sentence in a `description` field tries to hijack the planner. That attack is well-understood and is usually caught by scanning description text for imperative verbs. The boundary condition this record covers is subtler: **the injection lives in the manifes...",
    "what_was_observed": "A tool manifest fetched mid-session declared a tool `fetch_weather` with a benign description and a parameter object containing an innocuous-looking field: The `default` value was not a valid identifier. Two independent facts made this reachable: 1. The runtime's manifest loader validated `type` and `required` but never validated that `default` conformed to its own declared `type` or `pattern`. A `string` default con...",
    "condition_of_validity": "This boundary is only reachable when all of the following hold simultaneously, and the guardrail only needs to break one: - **Late binding.** The manifest is fetched after the system prompt and tool policy are frozen, so the policy cannot enumerate the schema's fields in advance. - **Default/example merge.** The runtime auto-fills omitted arguments from sche...",
    "decision_boundary": "Treat the decision as a hard gate at manifest-bind time, not a runtime sanitization step: - **Reject** any manifest where a `default` or `example` value fails its own declared `type`/`pattern`/`enum`/`maxLength` constraints. This is a self-consistency check — the manifest is contradicting itself, which is disqualifying regardless of intent. - **Reject** any ...",
    "operational_effect": "Concretely, the guardrail converts an invisible compromise into a visible schema-rejection event. The agent's loader raises before the tool is ever offered to the planner, and the rejection is logged with the offending field path (`parameters.request_id.default`), which is exactly the signal an operator needs to quarantine the registry entry. Downstream, the..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "a3fb8ddffdd82d55f82bc0bbce43d524736872fd659aca05f343b96c2320cede",
    "verified_classes": [
      "ManifestDefaultInjectionError"
    ],
    "verified_functions": [
      "validate_manifest_defaults",
      "bind_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ManifestDefaultInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
