{
 "generator": "scripts/contract_attack_engine.py (mutants derived from legitimate calls and exports; positive controls keep the oracle honest)",
 "run": {
  "attack_classes": 23,
  "by_design_reasons": {
   "add_fake_cert": "an unverifiable key certificate is ignored; it cannot certify anything",
   "quorum_certs.cert.signatures": "threshold: corrupting signatures above q leaves a valid quorum (rejected below q)",
   "replay.quorum_cert.signatures": "threshold, as above"
  },
  "findings": [],
  "iterations": 1500,
  "known_unsigned_accepted": {
   "by-design:add_fake_cert": 49,
   "by-design:quorum_certs.cert.signatures.r2": 1,
   "known-unsigned:authorized_at_ms": 1,
   "known-unsigned:issuer_public_key_b64": 1,
   "known-unsigned:predecessor": 1,
   "known-unsigned:quorum_membership.f": 1,
   "known-unsigned:quorum_membership.q": 1,
   "known-unsigned:replay.nondeterministic_inputs": 7,
   "known-unsigned:replay.quorum_membership.digest": 1,
   "known-unsigned:replay.quorum_membership.f": 2,
   "known-unsigned:replay.quorum_membership.n": 2,
   "known-unsigned:replay.quorum_membership.q": 1,
   "known-unsigned:schema": 4
  },
  "known_unsigned_reasons": {
   "authorized_at_ms": "the signer's self-asserted signing time; it only selects which key window applies, and a signature still needs the private key (anchor in SCITT for an external time)",
   "consent_from": "used only for carried consent",
   "issuer_public_key_b64": "informational in root-chain mode; keys are resolved through the pinned root",
   "predecessor": "used only for carried consent (absent here)",
   "quorum_membership.digest": "derived field; certificates carry their own membership digest",
   "quorum_membership.f": "derived field",
   "quorum_membership.n": "derived field; the verifier recomputes n/f/q from the replica map",
   "quorum_membership.q": "derived field",
   "replay.nondeterministic_inputs": "documentation list inside the replay record",
   "replay.quorum_membership.digest": "derived",
   "replay.quorum_membership.f": "derived",
   "replay.quorum_membership.n": "derived",
   "replay.quorum_membership.q": "derived",
   "replay.quorum_status": "re-derived from the certificate when a membership exists",
   "schema": "export envelope version label",
   "state": "export metadata; a hidden REVOKED state is detectable only if the signed revocation is present -- revocation *absence* cannot be proven offline (check SCITT / the live API)",
   "trust.certs.serial": "covered by the root signature -- listed for completeness",
   "trust.root_key_id": "informational; the verifier derives the root key id from the pinned root"
  },
  "quorum_n": 4,
  "schema": "cain.attack_engine.v1",
  "seed": 7,
  "stats": {
   "export:add_fake_cert": {
    "findings": 0,
    "n": 49
   },
   "export:drop_cert": {
    "findings": 0,
    "n": 49
   },
   "export:drop_receipt": {
    "findings": 0,
    "n": 58
   },
   "export:drop_sig": {
    "findings": 0,
    "n": 57
   },
   "export:dup_receipt": {
    "findings": 0,
    "n": 54
   },
   "export:leaf": {
    "findings": 0,
    "n": 442
   },
   "export:swap_receipts": {
    "findings": 0,
    "n": 52
   },
   "invoke:contract_of_other_agent": {
    "findings": 0,
    "n": 54
   },
   "invoke:cross_tenant": {
    "findings": 0,
    "n": 47
   },
   "invoke:drop_inv_field": {
    "findings": 0,
    "n": 42
   },
   "invoke:future_ts": {
    "findings": 0,
    "n": 49
   },
   "invoke:inv_type_confusion": {
    "findings": 0,
    "n": 42
   },
   "invoke:mutate_request_after_signing": {
    "findings": 0,
    "n": 43
   },
   "invoke:other_agent_key": {
    "findings": 0,
    "n": 49
   },
   "invoke:oversize_request": {
    "findings": 0,
    "n": 42
   },
   "invoke:request_type_confusion": {
    "findings": 0,
    "n": 52
   },
   "invoke:resign_in_contract": {
    "findings": 0,
    "n": 52
   },
   "invoke:resign_out_of_contract": {
    "findings": 0,
    "n": 51
   },
   "invoke:reuse_nonce": {
    "findings": 0,
    "n": 37
   },
   "invoke:runtime_swap": {
    "findings": 0,
    "n": 52
   },
   "invoke:stale_ts": {
    "findings": 0,
    "n": 46
   },
   "invoke:swap_contract": {
    "findings": 0,
    "n": 33
   },
   "invoke:unicode_confusable_payload_type": {
    "findings": 0,
    "n": 48
   }
  }
 }
}
