ОПИСАНИЕ
The target of this audit is the private code repository of Launchpad Contracts of Bigshort. Launchpad Contracts of BigShort is a token launchpad protocol that allows users to create meme tokens. Each token is first traded on an internal bonding curve and migrated to an external pool once the expected amount is reached. After migration, users can open short positions on any tokens through the Engine contract. Specifically, users borrow tokens from the Engine contract and sell them into the pool. Moreover, a TWAP oracle is used for calculating the short capacity, and unhealthy positions can only be liquidated by whitelisted liquidators.
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 2 high-risk issues that require prompt attention. In addition, we have identified other non-critical issues as well as recommendations and notes that should be considered. The Launchpad 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.
ОСНОВНЫЕ РЕЗУЛЬТАТЫ
Всего в смарт-контракте обнаружено потенциальных проблем: 7. Также подготовлены рекомендации (7) и примечания (3):
| ID | Severity | Description | Status |
|---|---|---|---|
| 1 | High | Lack of slippage protection in the function processExternalTax() |
Fixed |
| 2 | High | Potential loss of funds due to the instant collateral withdrawal | Fixed |
| 3 | Medium | Potential ineffective slippage checks in the function buyExactTokens() |
Fixed |
| 4 | Medium | Potential circumvention of liquidations | Fixed |
| 5 | Medium | Potential DoS due to the malicious creation of positions | Fixed |
| 6 | Medium | Potential sandwich attack targeting liquidations | Fixed |
| 7 | Medium | Lack of minimum check for the variable notionalNative in the function partialCloseShort() |
Confirmed |
| 8 | - | Revise the approval logic in the function processExternalTax() |
Fixed |
| 9 | - | Unify the native transfer method | Fixed |
| 10 | - | Add a recipient check in the function claimMigrationDust() |
Fixed |
| 11 | - | Remove redundant code | Fixed |
| 12 | - | Add a sweep mechanism in the contract BigShortTaxProcessorV1 |
Fixed |
| 13 | - | Unify the reserved storage gap | Fixed |
| 14 | - | Revise the margin-related checks in the contract EconomicValidation |
Confirmed |
| 15 | - | Potential centralization risks | - |
| 16 | - | Ensure correct market grouping | - |
| 17 | - | Ensure proper adaptations for non-Arc chain deployments | - |
Подробности доступны в отчёте об аудите.