background
logo

Security Audit Report for BitgetWallet's solver

DESCRIPTION

The target of this audit is the private code repository of solver of BitgetWallet. This project implements a Fusion-style resolver for settling 1inch Limit Order Protocol orders. During settlement, the resolver receives the maker asset, swaps it through an external aggregator into the taker asset, and allows the Limit Order Protocol to complete payment to the maker or receiver. The contract also includes executor access control, pause controls, token sweeping to configured vaults, and native ETH handling for WETH unwrap flows. Its safety model depends on trusted executors, trusted protocol dependencies, and off-chain validation of swap routes and profitability.

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 identify any potential issues within the audited codebase. However, we have some recommendations and notes that should be considered to further enhance the protocol's quality, security, and reliability. With no potential issues identified, the project demonstrates a relatively high level of security. It should also be noted that the scope of our audit was strictly limited to the specific code versions detailed in the report. Any updates subsequent to our review would necessitate a re-evaluation.

KEY FINDINGS

In total, we find 0 potential issues in the smart contract. We also have 2 recommendations and 2 notes, as follows:

High Risk: 0
Medium Risk: 0
Low Risk: 0
Recommendation: 2
Note: 2
ID Severity Description Status
1 - Limit token approvals to required amounts Confirm
2 - Reject the resolver address during vault configuration Confirm
3 - Reliance on trusted off-chain logic -
4 - Potential centralization risks -

More details are provided in the audit report.

Take the first step towards a secure future

Reach out now for BlockSec's expert code audit services, elevate the security of your protocol before it goes live!