DESCRIPTION
The target of this audit is the code repository of Smart Wallet Recovery of OKX. The project implements a cross-chain recovery system for unified smart accounts, focusing on the Ethereum Virtual Machine (EVM) stack implementation. The system integrates ZKEmail and ECDSA technologies to deliver an extensible, low-interaction, and multi-chain reusable recovery mechanism for EVM-compatible chains.
Please refer to the report for the detailed audit scope.
Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.
In summary, we did not find any critical issues within the audited codebase. However, we have identified some non-critical issues that should be addressed. Additionally, we have put forth recommendations to further strengthen the code logic, along with notes that should be taken into consideration. It is important to note that the scope of our audit was strictly limited to the specific code versions mentioned in the report. Any updates made subsequent to our review would require a re-evaluation.
KEY FINDINGS
In total, we find 1 potential issues in the smart contract. We also have 2 recommendations and 3 notes, as follows:
| ID | Severity | Description | Status |
|---|---|---|---|
| 1 | Low | Potential front-running on recovery operations | Confirmed |
| 2 | - | Revise improper annotation | Fixed |
| 3 | - | Verify the input length in the function createRecoverySigner() |
Fixed |
| 4 | - | Security assumption on external dependencies | - |
| 5 | - | Risks regarding shared RecoverySigner instances |
- |
| 6 | - | Potential centralization risks | - |
More details are provided in the audit report.