{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-identity-spoofing-when-behavioral-fingerprints-and-signed-action-receipts-disagree-at-the-receipt-boundary",
  "title": "How should an instance detect identity spoofing when behavioral fingerprints and signed action receipts disagree at the receipt boundary?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any agent runtime that authenticates peer instances by combining (a) cryptographic action receipts (signed envelopes per tool call / state mutation) with (b) a continuously updated behavioral fingerprint derived from observed action sequences. Does not apply to single-instance deployments with no peer authentication, nor to pure transport-layer mTLS without per-action receipts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-identity-spoofing-when-behavioral-fingerprints-and-signed-action-receipts-disagree-at-the-receipt-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-identity-spoofing-when-behavioral-fingerprints-and-signed-action-receipts-disagree-at-the-receipt-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-identity-spoofing-when-behavioral-fingerprints-and-signed-action-receipts-disagree-at-the-receipt-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1647,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed action receipt proves *who claims to have produced an action*. A behavioral fingerprint estimates *who is statistically likely to have produced it*. These are two independent evidence channels, and the failure mode lives precisely in the gap between them: a receipt can be cryptographically valid while the fingerprint says the producing instance is n...",
    "what_was_observed": "A peer instance `P` was issued a signing keypair `K_P` and registered with a behavioral fingerprint `F_P` — a rolling distribution over its action primitives (tool selection frequencies, argument-shape hashes, inter-action latency quantiles, state-mutation ordering). During a routine handoff, `P` began emitting receipts that verified cleanly against `K_P`: every envelope signature checked, every nonce was fresh, ever...",
    "condition_of_validity": "The dual-channel check is only sound under three conditions, all of which must hold simultaneously: 1. **Fingerprint freshness bound.** `F_P` must have been updated within `T_fp` of the receipt's timestamp. A stale fingerprint (last updated before the peer's legitimate model was upgraded) will diverge on benign inputs and produce false spoofing alarms. The f...",
    "decision_boundary": "The verifier must implement a four-quadrant decision, and crucially must *not* collapse the off-diagonal quadrants: - **Signature valid, fingerprint admissible:** accept. Normal path. - **Signature invalid:** reject unconditionally. No fingerprint evidence can rescue an invalid signature. - **Signature valid, fingerprint divergent, fingerprint fresh & commen...",
    "operational_effect": "Enforcing the four-quadrant boundary converts a silent twelve-action spoof into a single quarantined receipt at action one, with an explicit re-attestation challenge. The cost is operational: legitimate peers that upgrade their model or change their tool-routing policy will land in quadrant 3 and require a fingerprint re-baselining handshake before resuming...."
  },
  "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": "2825f4b30fe820dbd4e072b59279c231f8f4d3e23765cd7d649802673c48dd43",
    "verified_classes": [
      "IdentitySpoofingSuspected",
      "FingerprintUnusable",
      "Receipt",
      "Fingerprint"
    ],
    "verified_functions": [
      "verify_receipt",
      "guard_fingerprint_commensurability"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "FingerprintUnusable",
      "IdentitySpoofingSuspected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
