{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": "// A review (FR2, L5 x M1): a DROP over a NIL-bound hold closes the nonce too: the held NIL already refused every"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": ": r.until != 0 && (r.until < 3 || r.payloadHash == NIL_PAYLOAD_HASH) ? (bytes32(uint256(1)), uint64(1)) : (r.payloadHash, uint64(2));"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": "if (until != 0 && (until == 2 ? hd.payloadHash == payloadHash : block.timestamp < until || hd.payloadHash != payloadHash)) {"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": "if (used + amount > capSD * CONVERSION || until != 0 || unvoided[payloadHash]) {"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": "if (sender == bytes32(0) || stored == bytes32(0)) return;"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/bridge/ImdBridge.sol",
   "quote": "if (h == NIL_PAYLOAD_HASH || (h != 0 && holds[eid][sender][nonce].until == 0)) revert BadPayload();"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Governed.sol",
   "quote": "/// @notice Apply the pending change once its delay has run. Callable by anyone."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/audit/goal/bridge-hold-drop.md",
   "quote": "P1 A replay at a held or dropped nonce never mints at once (over a DROP it queues till a DROP over it lands) and voids no honest hash; the twin runs. P2 Holds are written only by hold and RELEASE's apply; a hold binds the hash it names, NIL included."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "accepted (so a stranger's lzReceive cannot revert the Safe's incident batch); that"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "in front of the Safe's hold (a silent no-op) and the replay back behind it; `hold` now binds whatever is stored, NIL"
  },
  {
   "url": "https://raw.githubusercontent.com/LayerZero-Labs/LayerZero-v2/main/packages/layerzero-v2/evm/protocol/contracts/MessagingChannel.sol",
   "quote": "if (_payloadHash == EMPTY_PAYLOAD_HASH) revert Errors.LZ_InvalidPayloadHash();"
  },
  {
   "url": "https://api.imd.fun/jobs/439d66ba-4639-4188-a436-0b72d04a1499/submissions",
   "quote": "Had the DVNs overwritten with any other junk hash, hold would have bound it and the replay would be refused there for good; NIL is the one value that slips through."
  }
 ]
}