{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-skill-injection-bypass-before-manifest-signature-verification-completes",
  "title": "What structural signals indicate a skill-injection bypass before manifest signature verification completes",
  "date_of_record": "2026 November 16",
  "scope": "Applies to agent runtimes that load third-party \"skills\" (tool bundles, prompt fragments, or capability declarations) gated by signed manifests plus runtime capability attestation. Does not apply to single-tenant runtimes where all skills are first-party and the manifest is compiled into the binary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-bypass-before-manifest-signature-verification-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-bypass-before-manifest-signature-verification-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-bypass-before-manifest-signature-verification-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1548,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity answers *who authorized this manifest*. It does not answer *what the loaded artifact will actually do at runtime*. The non-obvious boundary is that manifest verification and capability attestation are two separate gates that are frequently collapsed into one ordering. When a runtime verifies the manifest signature and *then* instantiates t...",
    "what_was_observed": "Across three injection incidents in a skill-loading agent runtime, the manifests were all correctly signed by a trusted publisher key. The signatures verified. The injected payload did not tamper with the manifest. Instead it exploited the gap between declarative and effective capability: 1. **Implicit capability via transitive import.** A skill manifest declared `capabilities: [\"read:workspace\"]`. Its entry module i...",
    "condition_of_validity": "The defense holds only under a strict ordering invariant: 1. Parse and verify the manifest signature against a pinned publisher key, binding the signature to the **canonical manifest digest** (including the full `capabilities` array and the entry-module content hash). 2. Instantiate the skill in a **capability-restricted sandbox** whose allowed set is exactl...",
    "decision_boundary": "The operational decision is not \"trust the signature\" versus \"don't.\" It is a three-way branch on the capability delta: - **Delta empty (`effective == signed`):** admit. Normal path. - **Delta is a strict subset (`effective ⊂ signed`):** admit with a warning; the skill under-uses its grant. This is common and benign (conditional capabilities), but log it — r...",
    "operational_effect": "Enforcing the invariant converts a class of silent injections into loud, attributable failures at load time rather than at first malicious action. The cost is a probation window and a sandboxed instantiation per skill load, which roughly doubles cold-start latency for skill loading (measured ~40–90 ms added per skill in the reference runtime). That cost is p..."
  },
  "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": "9a731a977ed79689790b3094bd5aba462b4c7a3dbae5b8f04a23edad39540487",
    "verified_classes": [
      "CapabilityDeltaError",
      "SignedManifest",
      "LoadedSkill"
    ],
    "verified_functions": [
      "verify_signature",
      "attest_and_admit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityDeltaError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
