background
logo

Security Audit Report for AllScale's EIP7702 Contracts

项目简介

The target of this audit (hereinafter referred to as the "Target") is AllScale's EIP-7702 contracts, provided as a ZIP archive. EIP7702 Contracts of AllScale is a gasless wallet infrastructure built on EIP7702 account delegation. It lets whitelisted sponsors relay signed EIP712 authorizations on behalf of EOAs, executing fee-split token transfers and deposits. All wallet logic runs through a three-layer beacon proxy pattern, enabling seamless logic upgrades without changing the delegated contract. Specifically, EOAs delegate to the contract BeaconStub, which resolves the active implementation (i.e., the contract EIP7702) from an upgradeable beacon contract. Then, the contract BeaconStub delegatecalls into the implementation to execute transfers.

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 have found that the codebase contains 1 high-risk issue that require prompt attention. In addition, we have identified other non-critical issues as well as recommendations and notes that should be considered. The EIP7702 Contracts team has addressed these issues promptly. It is important to note that our audit covers only the final reported versions of the codebase. Any subsequent updates would require a re-evaluation.

关键发现

我们在该智能合约中共发现 1 个潜在问题,另有 2 条建议与 1 条说明,明细如下:

高风险:1
中风险:0
低风险:0
建议:2
说明:1
ID Severity Description Status
1 High Potential fee circumvention due to malicious delegations Fixed
2 - Remove the redundant function receive() Confirm
3 - Add checks for the value s in the function _recover() Fixed
4 - Potential centralization risks -

更多细节见审计报告

迈出走向安全的第一步

立即联系我们,获取 BlockSec 的专业代码审计服务,在协议上线之前把安全性提上来!