defirisk.co
rubric v1.7.0

EIP-712 domain separator missing chainId

Sky Lending (formerly MakerDAO)'s assessment for RD-F-020 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

DAI DOMAIN_SEPARATOR constructed at deploy time with chainId included (prevents cross-chain replay). USDS token uses OZ ERC-20PermitUpgradeable which dynamically computes chainId. ChainId present in all relevant domain separators.

Sources #

  • URL
    https://github.com/sky-ecosystem/dss/blob/master/src/dai.solretrieved 2026-04-27
  • URL
    https://github.com/sky-ecosystem/usds/blob/master/src/Usds.solretrieved 2026-04-27

Methodology #

Determine whether the EIP-712 domain separator struct omits the `chainId` field, allowing cross-chain replay.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol sky-lending factor RD-F-020 score green collected_at 2026-04-28 00:43:18