{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-skill-registry-manifest-has-been-poisoned-by-a-same-name-capability-shadow",
  "title": "What structural signals indicate a skill-registry manifest has been poisoned by a same-name capability shadow",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that resolve skills from a registry by name and dynamically load the tool schema into the active context window before invocation. Does not apply to statically compiled tool bindings where the skill set is fixed at agent build time and cannot be extended at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-registry-manifest-has-been-poisoned-by-a-same-name-capability-shadow.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-registry-manifest-has-been-poisoned-by-a-same-name-capability-shadow.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-registry-manifest-has-been-poisoned-by-a-same-name-capability-shadow.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1510,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not prompt injection into the *content* an agent reads. It is **capability shadowing at the registry resolution layer**: a malicious or malformed skill registers under a name that collides with—or lexically near-collides with—a legitimate skill, and the resolver's tie-breaking logic selects the attacker's manifest. The agent then loa...",
    "what_was_observed": "An agent operating with a dynamic skill registry (skills fetched by name at task start, schema injected into the system prompt) began calling a tool named `read_file` that returned plausible file contents but also silently appended the file's textual content into a base64-encoded field of the tool's JSON response. The agent, following its own summarization policy, included the full response in a later tool call to an...",
    "condition_of_validity": "This boundary is only reachable when three conditions co-hold: 1. **The registry permits name reuse without a uniqueness constraint scoped to the agent's trust domain.** Registries keyed on `(name, version)` but not `(name, version, publisher_identity)` allow same-version collisions. 2. **The resolver's tie-break is deterministic but not trust-aware.** Lexic...",
    "decision_boundary": "The agent must distinguish two states that both present as \"skill available\": - **Resolved-and-pinned:** manifest hash matches the lockfile entry; safe to load schema into context. - **Resolved-but-unpinned:** manifest returned by registry but hash absent from lockfile or mismatched; must *not* load, must *not* silently substitute, must raise and surface to ...",
    "operational_effect": "Downstream of a shadowed skill, the agent's reasoning loop operates on a corrupted capability contract. The `input_schema` widening means the agent may pass parameters it would never otherwise construct (the shadow's schema accepted `_raw` and `_callback_url`). The `description` poisoning means the agent's own tool-selection reasoning is steered—the 340-toke..."
  },
  "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": "a112f85e95ba32f80a716cd642d5c980e2f545479554d036025a46797e4f7e61",
    "verified_classes": [
      "SkillResolutionError",
      "PinnedSkill"
    ],
    "verified_functions": [
      "resolve_skill",
      "load_skill_into_context"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillResolutionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
