|
| 1 | +# Security Audits |
| 2 | + |
| 3 | +Third-party security audits for the Reown (fka WalletConnect) protocol smart contracts. |
| 4 | + |
| 5 | +> ⚠️ **Disclaimer**: Audits are not a guarantee of correctness. Some components may have been modified after being |
| 6 | +> audited. |
| 7 | +
|
| 8 | +--- |
| 9 | + |
| 10 | +## Deployed Contract Audit Coverage |
| 11 | + |
| 12 | +### Optimism Mainnet (Chain ID: 10) |
| 13 | + |
| 14 | +See [DEPLOYMENT_ADDRESSES.md](../DEPLOYMENT_ADDRESSES.md) for complete deployment details. |
| 15 | + |
| 16 | +| Contract | Address | Audits | Status | |
| 17 | +| ------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ----------- | |
| 18 | +| **L2WCT Token** | [`0xeF44...7945`](https://optimistic.etherscan.io/address/0xeF4461891DfB3AC8572cCf7C794664A8DD927945) | [#1](#1-halborn-aug-2024), [#6](#6-halborn-mar-2025) | ✅ 2 audits | |
| 19 | +| **StakeWeight** | [`0x521B...fA46`](https://optimistic.etherscan.io/address/0x521B4C065Bbdbe3E20B3727340730936912DfA46) | [#2](#2-halborn-oct-2024), [#3](#3-halborn-nov-2024), [#7](#7-cantina-p3-upgrade) | ✅ 3 audits | |
| 20 | +| **StakingRewardDistributor** | [`0xF368...fCAF`](https://optimistic.etherscan.io/address/0xF368F535e329c6d08DFf0d4b2dA961C4e7F3fCAF) | [#2](#2-halborn-oct-2024), [#4](#4-halborn-jan-8-2025), [#7](#7-cantina-p3-upgrade) | ✅ 3 audits | |
| 21 | +| **StakingRewardsCalculator** | [`0x5581...BcC3`](https://optimistic.etherscan.io/address/0x5581e8C58bD9Ad4B3A88a5250deBa164938dBcC3) | [#5](#5-halborn-jan-30-2025) | ✅ 1 audit | |
| 22 | +| **Airdrop** | [`0x4ee9...3fb4`](https://optimistic.etherscan.io/address/0x4ee97a759AACa2EdF9c1445223b6Cd17c2eD3fb4) | [#2](#2-halborn-oct-2024) | ✅ 1 audit | |
| 23 | +| **Pauser** | [`0x9163...adE7`](https://optimistic.etherscan.io/address/0x9163de7F22A9f3ad261B3dBfbB9A42886816adE7) | [#3](#3-halborn-nov-2024) | ✅ 1 audit | |
| 24 | +| **WalletConnectConfig** | [`0xd2f1...78B3`](https://optimistic.etherscan.io/address/0xd2f149fAA66DC4448176123f850C14Ff14f978B3) | [#3](#3-halborn-nov-2024), [#5](#5-halborn-jan-30-2025), [#7](#7-cantina-p3-upgrade) | ✅ 3 audits | |
| 25 | +| **LockedTokenStaker** (Backers) | [`0x688C...0176`](https://optimistic.etherscan.io/address/0x688CfB3e55fCE2540b5491E923Dc6a9C4f240176) | [#3](#3-halborn-nov-2024), [#7](#7-cantina-p3-upgrade) | ✅ 2 audits | |
| 26 | +| **LockedTokenStaker** (Reown) | [`0x5f63...B9B2`](https://optimistic.etherscan.io/address/0x5f630a47DE14e346fC28deB8fE379833A6F6B9B2) | [#3](#3-halborn-nov-2024), [#7](#7-cantina-p3-upgrade) | ✅ 2 audits | |
| 27 | +| **LockedTokenStaker** (WalletConnect) | [`0x8621...10FA`](https://optimistic.etherscan.io/address/0x8621034C9acD397cc5921d036225f75699c710FA) | [#3](#3-halborn-nov-2024), [#7](#7-cantina-p3-upgrade) | ✅ 2 audits | |
| 28 | + |
| 29 | +**All deployed contracts have been audited** ✅ |
| 30 | + |
| 31 | +_Note: MerkleVester contracts (Magna code) are excluded from this audit summary_ |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +## Audit Reports |
| 36 | + |
| 37 | +All audits listed chronologically. |
| 38 | + |
| 39 | +### 1. Halborn Aug 2024 |
| 40 | + |
| 41 | +**Halborn** • Aug 28 - Sep 2, 2024 • Commit |
| 42 | +[`e9d2f4d`](https://github.com/WalletConnectFoundation/contracts/commit/e9d2f4d) |
| 43 | + |
| 44 | +📄 [20240902_halborn_wct-l2wct-token.pdf](./20240902_halborn_wct-l2wct-token.pdf) |
| 45 | + |
| 46 | +**Scope**: `src/WCT.sol`, `src/L2WCT.sol`, `src/Timelock.sol`, `script/Base.s.sol`, `script/deploy/EthereumDeploy.s.sol`, `script/deploy/OptimismDeploy.s.sol`, `script/helpers/Proxy.sol` |
| 47 | + |
| 48 | +**Findings**: 2 Low, 3 Info → **All fixed** |
| 49 | + |
| 50 | +--- |
| 51 | + |
| 52 | +### 2. Halborn Oct 2024 |
| 53 | + |
| 54 | +**Halborn** • Oct 23 - Nov 1, 2024 • Commit |
| 55 | +[`74de69f`](https://github.com/WalletConnectFoundation/contracts/commit/74de69f) |
| 56 | + |
| 57 | +📄 [20241101_halborn_stakeweight-distributor-airdrop.pdf](./20241101_halborn_stakeweight-distributor-airdrop.pdf) |
| 58 | + |
| 59 | +**Scope**: `StakeWeight.sol`, `StakingRewardDistributor.sol`, `Airdrop.sol` |
| 60 | + |
| 61 | +**Findings**: 2 Low, 3 Info → **All fixed** |
| 62 | + |
| 63 | +--- |
| 64 | + |
| 65 | +### 3. Halborn Nov 2024 |
| 66 | + |
| 67 | +**Halborn** • Nov 12-15, 2024 • Commit [`26afde9`](https://github.com/WalletConnectFoundation/contracts/commit/26afde9) |
| 68 | + |
| 69 | +📄 |
| 70 | +[20241115_halborn_infrastructure-pauser-config-staker.pdf](./20241115_halborn_infrastructure-pauser-config-staker.pdf) |
| 71 | + |
| 72 | +**Scope**: `Pauser.sol`, `WalletConnectConfig.sol`, `LockedTokenStaker.sol`, `StakeWeight.sol` |
| 73 | + |
| 74 | +**Findings**: 1 Low, 5 Info → **All addressed** |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +### 4. Halborn Jan 8 2025 |
| 79 | + |
| 80 | +**Halborn** • Jan 8, 2025 • Commit [`710ebed`](https://github.com/WalletConnectFoundation/contracts/commit/710ebed) |
| 81 | + |
| 82 | +📄 [20250108_halborn_transfer-restrictions-fix.pdf](./20250108_halborn_transfer-restrictions-fix.pdf) |
| 83 | + |
| 84 | +**Scope**: `StakingRewardDistributor.sol`, `StakeWeight.sol` transfer restrictions |
| 85 | + |
| 86 | +**Findings**: 0 findings → **Fixes verified** |
| 87 | + |
| 88 | +--- |
| 89 | + |
| 90 | +### 5. Halborn Jan 30 2025 |
| 91 | + |
| 92 | +**Halborn** • Jan 29-30, 2025 • Commit [`4651755`](https://github.com/WalletConnectFoundation/contracts/commit/4651755) |
| 93 | + |
| 94 | +📄 [20250130_halborn_rewards-calculator.pdf](./20250130_halborn_rewards-calculator.pdf) |
| 95 | + |
| 96 | +**Scope**: `StakingRewardsCalculator.sol`, `WalletConnectConfig.sol` |
| 97 | + |
| 98 | +**Findings**: 2 Info → **All fixed** |
| 99 | + |
| 100 | +--- |
| 101 | + |
| 102 | +### 6. Halborn Mar 2025 |
| 103 | + |
| 104 | +**Halborn** • Mar 20-24, 2025 • Commit [`4d34ec3`](https://github.com/WalletConnectFoundation/contracts/commit/4d34ec3) |
| 105 | + |
| 106 | +📄 [20250324_halborn_l2wct-upgrade.pdf](./20250324_halborn_l2wct-upgrade.pdf) |
| 107 | + |
| 108 | +**Scope**: `src/interfaces/IERC7802.sol`, `src/interfaces/INttToken.sol`, `src/L2WCT.sol`, `src/WCT.sol`, `src/NttTokenUpgradeable.sol` |
| 109 | + |
| 110 | +**Findings**: 1 Info → **Fixed (deprecated storage renamed in `evm/src/L2WCT.sol:45-53`)** |
| 111 | + |
| 112 | +--- |
| 113 | + |
| 114 | +### 7. Cantina P3 Upgrade |
| 115 | + |
| 116 | +**Cantina/Spearbit** • Sep 28 - Oct 5, 2025 (report published Oct 14, 2025) • Commit |
| 117 | +[`299e7ba1`](https://github.com/WalletConnectFoundation/contracts/commit/299e7ba1) |
| 118 | + |
| 119 | +📄 [20251014_cantina_p3-permanent-staking-upgrade.pdf](./20251014_cantina_p3-permanent-staking-upgrade.pdf) |
| 120 | + |
| 121 | +**Scope**: `StakeWeight.sol`, `StakingRewardDistributor.sol`, `LockedTokenStaker.sol`, plus operational interactions with MerkleVester (WalletConnectConfig not audited in this review) |
| 122 | + |
| 123 | +**Findings**: 1 Medium, 4 Low, 9 Info/Gas → **9 fixed / 5 acknowledged** |
| 124 | + |
| 125 | +--- |
| 126 | + |
| 127 | +## Security Summary |
| 128 | + |
| 129 | +### Overall Statistics |
| 130 | + |
| 131 | +- **Total Audits**: 7 |
| 132 | +- **Security Firms**: Cantina/Spearbit (1), Halborn (6) |
| 133 | +- **Review Period**: Aug 2024 - Oct 2025 |
| 134 | +- **Total Findings**: 33 |
| 135 | + - 🔴 Critical: 0 |
| 136 | + - 🟠 High: 0 |
| 137 | + - 🟡 Medium: 1 (fixed) |
| 138 | + - 🟢 Low: 9 (7 fixed, 2 acknowledged) |
| 139 | + - ℹ️ Info/Gas: 23 (20 fixed, 3 acknowledged) |
| 140 | + |
| 141 | +**✅ All critical findings addressed** (1 informational pending in latest upgrade) |
| 142 | + |
| 143 | +### Coverage by Contract Type |
| 144 | + |
| 145 | +| Component | # Audits | Latest | |
| 146 | +| ------------------------------ | -------- | -------- | |
| 147 | +| Token Contracts (WCT/L2WCT) | 2 | Mar 2025 | |
| 148 | +| Core Staking (StakeWeight) | 4 | Oct 2025 | |
| 149 | +| Reward Distribution | 3 | Oct 2025 | |
| 150 | +| Infrastructure (Pauser/Config) | 3 | Oct 2025 | |
| 151 | +| Locked Token Staker | 2 | Oct 2025 | |
| 152 | +| Airdrop | 1 | Oct 2024 | |
| 153 | +| Rewards Calculator | 1 | Jan 2025 | |
| 154 | + |
| 155 | +--- |
| 156 | + |
| 157 | +## Resources |
| 158 | + |
| 159 | +- 🌐 [DEPLOYMENT_ADDRESSES.md](../DEPLOYMENT_ADDRESSES.md) - All deployment addresses |
0 commit comments