{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-signed-skill-manifest-has-been-bypassed-by-capability-aliasing-at-the-sandbox-boundary",
  "title": "What structural signals indicate a signed skill manifest has been bypassed by capability aliasing at the sandbox boundary",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent runtimes that admit third-party \"skills\" (tool bundles) through a manifest-signing gate and then enforce capability scopes at execution time via a name-based dispatcher. Does not cover in-process plugin loading where the skill shares the host interpreter's import namespace, nor model-side prompt-injection defenses that operate purely on token filtering.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-been-bypassed-by-capability-aliasing-at-the-sandbox-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-been-bypassed-by-capability-aliasing-at-the-sandbox-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-been-bypassed-by-capability-aliasing-at-the-sandbox-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2164,
    "python_slice_tokens": 417,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A manifest signature proves *who authored the declared capability set*. A capability sandbox proves *what the skill actually invoked*. These two guarantees are computed over different artifacts — the signature over the manifest's declared `capabilities` array, the sandbox over the runtime call graph — and the security invariant that binds them (\"every invoke...",
    "what_was_observed": "A skill (`pdf-annotate`, manifest v1.4.0) declared `capabilities: [\"fs.read\", \"net.egress:allowlist\"]` and carried a valid Ed25519 signature over the canonicalized manifest, verified at admission against the operator's trust root. Admission passed. The sandbox was configured `default-deny` with a per-skill allowlist derived from the signed capability array. During execution the skill issued a tool call to `fs.read.le...",
    "condition_of_validity": "The signature-to-sandbox invariant holds **only if** the following three conditions are jointly satisfied at every invocation: - **C1 — Canonical resolution precedes scope check.** The capability identifier is resolved to its canonical provider/handler form *before* the allowlist comparison, and the comparison is performed on the canonical form. Name-based m...",
    "decision_boundary": "The operational question is not \"did the signature verify\" — it always did. It is: **at what layer do you compute the set-difference between signed capabilities and executed capabilities, and what do you do when it is non-empty?** Two defensible architectures: - **Resolve-then-check (preferred).** The dispatcher resolves to canonical handler, emits `(request...",
    "operational_effect": "After remediation (resolve-then-check, fallback removed, alias table moved under the manifest-signing trust root and pinned per-execution), the runtime's behavior changed in three measurable ways: - **Denial rate rose ~4%** on skills using namespaced sub-tools, all of which were previously admitted via the prefix fallback. These were triaged and their manife..."
  },
  "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": "56fe448e55113f37e2a283a40e92d16a26e4ed1674f04c364e89b3d2eace2a02",
    "verified_classes": [
      "CapabilityAliasEscape",
      "SignedManifest"
    ],
    "verified_functions": [
      "resolve_canonical",
      "enforce_scope",
      "admit_and_dispatch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AssertionError",
      "CapabilityAliasEscape"
    ],
    "sample_fail_closed_invariants": [
      "assert admit_and_dispatch(pdf_annotate, 'fs.read') == 'fs.read'",
      "alias escape was not caught"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
