xln

Core audit, 2026-11-14

Four read-only passes at da08764cc: bilateral Account consensus, TypeScript against Solidity settlement, Runtime halts and effect ordering, repository consistency. Each row was checked against the code; “reproduced” means a test demonstrates it.

Fixed and landed

Finding Fix Test
A peer could halt a Runtime by sending back our committed head with its own ACK Hanko while our successor was pending (untyped DUPLICATE_ACK_CURRENT_FRAME_HANKO_INVALID). 4d59c8901: typed ACCOUNT_INPUT_FRAME_HANKO_INVALID reject. core/__tests__/security/policy/peer-own-head-replay.test.ts (red without the fix)
Dispute-proof replay after finalization: a pre-dispute proof with a higher nonce was settled a second time against the emptied account (evidence). 4a10c6973: finalization moves the Account nonce to the next dispute epoch, mirrored in TS and Rust. jurisdictions/test/dispute/Depository-part-2.ts, “a pre-dispute proof with a higher nonce cannot be settled a second time after finalization”
A hub restarted from a checkpoint halted on its first swap offer: the canonical J replica snapshot dropped tokenRegistry, which same-J matching reads (regression from 3cd8c5380). 4280df1eb: the snapshot and its schema keep the registry. core/__tests__/jurisdiction/history/jreplica-token-registry-snapshot.test.ts

Confirmed by reading, needs an owner decision

Leads not yet verified

Consistency, still open