background
logo

Security Audit Report for Bigshort's Launchpad Contracts

项目简介

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 条说明,明细如下:

高风险:2
中风险:5
低风险:0
建议: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 -

更多细节见审计报告。

迈出走向安全的第一步

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