{
 "attacks": {
  "authority substitution / amplification": {
   "cases": 2,
   "result": "PASS",
   "tests": [
    "test_contract_cannot_exceed_rig_actions",
    "test_contract_cannot_exceed_rig_scopes"
   ]
  },
  "canonicalization collision (NFC/NFD, key order, dupes)": {
   "cases": 9,
   "result": "PASS",
   "tests": [
    "test_nfc_and_nfd_cannot_collide",
    "test_strict_loads_rejects_noncanonical_bytes[{ \"a\":1}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":\"\\u00e9\"}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":1,\"a\":2}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":1.0}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":1}\\n]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":Infinity}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"a\":NaN}]",
    "test_strict_loads_rejects_noncanonical_bytes[{\"b\":1,\"a\":2}]"
   ]
  },
  "capability/product confusion": {
   "cases": 3,
   "result": "PASS",
   "tests": [
    "test_validator_rejects[cap_action_confusion]",
    "test_validator_rejects[engine_confusion]",
    "test_validator_rejects[kind_confusion]"
   ]
  },
  "contract confusion (invocation signed for another contract)": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_invocation_signed_for_other_contract"
   ]
  },
  "duplicate contract / lineage fork": {
   "cases": 2,
   "result": "PASS",
   "tests": [
    "test_concurrent_propose_same_lineage_version_one_winner",
    "test_rollback_fork_duplicate_and_wrong_supersedes"
   ]
  },
  "environment substitution": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_environment_drift"
   ]
  },
  "evidence substitution (receipt of another contract)": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_receipt_from_one_contract_presented_for_another"
   ]
  },
  "forged carried consent": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_carried_consent_forged_by_editing_export_is_caught"
   ]
  },
  "hidden revocation": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_hiding_a_revocation_is_detectable_by_state"
   ]
  },
  "identity substitution (re-keyed agent)": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_identity_substitution_via_reregistered_key"
   ]
  },
  "invocation replay": {
   "cases": 2,
   "result": "PASS",
   "tests": [
    "test_concurrent_same_invocation_replay",
    "test_invocation_replay_and_fresh_nonce"
   ]
  },
  "model substitution": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_model_substitution"
   ]
  },
  "orphaned outcome receipt": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_outcome_receipt_records_product_result_and_cannot_be_orphaned"
   ]
  },
  "partial contract": {
   "cases": 5,
   "result": "PASS",
   "tests": [
    "test_propose_rejects_malformed_bodies[\"x\"]",
    "test_propose_rejects_malformed_bodies[[]]",
    "test_propose_rejects_malformed_bodies[{\"header\":1}]",
    "test_propose_rejects_malformed_bodies[{]",
    "test_validator_rejects[missing_section]"
   ]
  },
  "policy substitution after authorization": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_policy_drift_after_authorization"
   ]
  },
  "risk downgrade": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_validator_rejects[risk_downgrade]"
   ]
  },
  "serialization mismatch (float smuggling)": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_propose_rejects_float_smuggled_body"
   ]
  },
  "signature substitution (other issuer key, other subject key)": {
   "cases": 2,
   "result": "PASS",
   "tests": [
    "test_consent_by_another_key_is_rejected",
    "test_contract_from_other_authority_key"
   ]
  },
  "stolen invocation by another agent": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_stolen_invocation_by_other_agent"
   ]
  },
  "tenant substitution": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_tenant_substitution"
   ]
  },
  "timestamp manipulation (stale/forward PoP, expiry, not-before)": {
   "cases": 9,
   "result": "PASS",
   "tests": [
    "test_expiry_is_enforced_lazily_and_terminal",
    "test_invocation_tampering[<lambda>-POP_INVALID]",
    "test_invocation_tampering[<lambda>-POP_MALFORMED]",
    "test_invocation_tampering[<lambda>-POP_MISSING0]",
    "test_invocation_tampering[<lambda>-POP_MISSING1]",
    "test_invocation_tampering[<lambda>-POP_REQUEST_MISMATCH]",
    "test_invocation_tampering[<lambda>-POP_STALE0]",
    "test_invocation_tampering[<lambda>-POP_STALE1]",
    "test_not_yet_valid"
   ]
  },
  "transition-log tampering": {
   "cases": 1,
   "result": "PASS",
   "tests": [
    "test_transition_log_tampering_is_detected"
   ]
  },
  "version rollback / downgrade": {
   "cases": 3,
   "result": "PASS",
   "tests": [
    "test_material_successor_needs_fresh_consent_then_supersedes",
    "test_rollback_to_lower_version_is_refused",
    "test_validator_rejects[adapter_downgrade]"
   ]
  }
 },
 "detected": 23,
 "total": 23
}
