background
logo

Security Audit Report for Bitget's Dispatcher Contracts

DESCRIPTION

The target of this audit is the private code repository of Dispatcher Contracts of Bitget. The Dispatcher Contracts of Bitget is a payment infrastructure, which serves for two business flows: Checkout payments and Business call dispatch. Specifically, checkout payments pull a user’s tokens, and distribute them to payout recipients within optional swaps through an allowlisted aggregator. As for business call dispatch, it pulls the user’s funds and executes users’ intended calls. It is worth noting that the whitelist for calls targets is per business type and can be circumvented by the owner via the unrestricted flag.

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 and 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 2 notes, as follows:

High Risk: 0
Medium Risk: 0
Low Risk: 1
Recommendation: 2
Note: 2
ID Severity Description Status
1 Low Lack of allowance revocation after swaps Confirm
2 - Remove redundant code Fixed
3 - Validate the total native value before executing calls[] Fixed
4 - Potential centralization risks -
5 - Proper configuration for unrestricted business calls -

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!

Security Audit Report for Bitget's Dispatcher Contracts - BlockSec