개요
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.
주요 발견 사항
스마트 컨트랙트에서 잠재적인 문제 1건을 발견했습니다. 권고 사항 2건과 참고 사항 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 | - |
자세한 내용은 감사 보고서에서 확인할 수 있습니다.