{
  "title": "Forced-signing mechanism: bounded local example",
  "publisher": "Runtime Guard",
  "checked": "2026-11-16",
  "run": "Run on 2026-11-16 against the audited public tag v1.0.0-audit-nethermind (bc419b5).",
  "article": "/blog/hardware-wallet-physical-coercion/",
  "evidence_type": "observed local synthetic execution",
  "contract_source": "https://github.com/Runtime-Capital/safe-lockdown-guard/tree/v1.0.0-audit-nethermind (public audited tag v1.0.0-audit-nethermind; submodules forge-std 620536f, openzeppelin-contracts cab1993, safe-smart-account dc437e8)",
  "contract_source_revision": "bc419b59cf75f066935934d6c6baafc7d170ced3",
  "harness": "The contracts are the public audited tag; the test harness that drives them is in our private repository.",
  "test_file": "private repository (Runtime Guard monorepo), not published",
  "test_names": [
    "setup: 2-of-3 Safe 1.5.0 with a prior handler and one enabled module",
    "AC-L1 Tx 1: atomic install of guard + module guard + handler + initialize (Cold storage preset, timelock folded in)",
    "folded timelock: T = 24h is already active after the single install tx",
    "timelock: unscheduled tx is refused, scheduled tx matures after 24h and executes",
    "cancel: direct exempt Call at the target nonce kills the ticket and the target",
    "trigger with an EOA signer: typed data matches the contract, state LockedDown, signer burnt"
  ],
  "test_command": "node --test with a name filter selecting the six tests listed in test_names (run from the private repository)",
  "artifact_preparation": "git clone of the public repo at tag v1.0.0-audit-nethermind with submodules; forge 1.7.1 build --offline --skip test --skip script into an isolated out/ and cache; LOCKDOWN_OUT_DIR set to that out/, ANVIL_BIN to the local Anvil. No external RPC, no keys, no broadcast.",
  "compiler": {
    "version": "0.8.35",
    "evm": "prague",
    "optimizer": true,
    "via_ir": true
  },
  "artifact_hash_method": "artifact_json_sha256 hashes complete local artifact file bytes; creation_bytecode_hex_text_sha256 hashes UTF-8 creation bytecode hex text including its 0x prefix. Neither is an onchain runtime codehash.",
  "artifacts": [
    {
      "contract": "LockdownTimelock",
      "artifact_json_sha256": "271d43407470d117376b613072327f5b61beb6307ba022554f3811f53c234f20",
      "creation_bytecode_hex_text_sha256": "4af00687032b99f18b5c7c78f49b72b6baea2b4db661b2030e909b1e36acf256"
    },
    {
      "contract": "LockdownFallbackHandler",
      "artifact_json_sha256": "f2b14395bbdcc75f6938561c90350d48fffd88daf2552874319974c63b072f45",
      "creation_bytecode_hex_text_sha256": "91df76457d0e9026ac2d5993c94e8afa01c2b121bd56143ce7f753584d7d9127"
    },
    {
      "contract": "Safe",
      "artifact_json_sha256": "fa394bad3c0998fd2c8c1d2441bf9c94bd9455c7032565d8e4ccfba3ab7f7a50",
      "creation_bytecode_hex_text_sha256": "d0bca7b7b5292dd1d2db315fa480b7272c77e772f2ab5c92b9ffba7f5e41de14"
    }
  ],
  "result": {
    "tests": 6,
    "passed": 6,
    "failed": 0,
    "skipped": 0
  },
  "observations": [
    {
      "step": "installation",
      "outcome": "2-of-3 Safe 1.5.0: transaction guard, module guard, bound handler and initialization postconditions passed"
    },
    {
      "step": "configured delay",
      "outcome": "86400 seconds"
    },
    {
      "step": "unscheduled zero-value admin action",
      "outcome": "TicketNotFound"
    },
    {
      "step": "scheduled then immediate execution",
      "outcome": "TimelockNotElapsed"
    },
    {
      "step": "advance local time by 48 hours",
      "outcome": "Execution succeeded and new recovery-owner state confirmed; exact 24-hour boundary not tested"
    },
    {
      "step": "cancel another ticket with owner quorum at target nonce",
      "outcome": "Ticket timestamp zero and Safe nonce advanced by one"
    },
    {
      "step": "attempt old cancelled authorization after 48 hours",
      "outcome": "GS026 refusal"
    },
    {
      "step": "registered EOA panic signer",
      "outcome": "Typed-data hash parity, LockedDown state, identity removed and permanently burnt"
    },
    {
      "step": "owner-quorum nonce burn while LockedDown",
      "outcome": "LockedDown refusal"
    }
  ],
  "limits": [
    "No real funds, public-network deployment, physical hardware wallet or human coercion drill.",
    "Module present but module execution during freeze not tested in this subset.",
    "Full recovery, uninstall, passkey, password and drill-domain paths not rerun against fresh artifacts.",
    "No phone enrollment, notification timing or emergency response effectiveness established.",
    "Local clock advancement is simulated, not a 48-hour real-world observation.",
    "Compiled locally from the public tag; equality with any onchain deployment, including the Sepolia release, is not asserted here."
  ]
}
