background
logo

Security Audit Report for Mantle's UR Topup Contract Solana

개요

The target of this audit is the private code repository of UR Topup Contract Solana of Mantle. 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 4 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 UR Topup Contract Solana 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.

주요 발견 사항

스마트 컨트랙트에서 잠재적인 문제 8건을 발견했습니다. 권고 사항 4건과 참고 사항 2건도 함께 정리했습니다.

높은 위험도 4건
중간 위험도 1건
낮은 위험도 3건
권고 사항 4건
참고 사항 2건
ID Severity Description Status
1 High Shared remaining_accounts causes conflict between Jupiter and LayerZero Fixed
2 High Insufficient account space allocation for dynamic data Fixed
3 High Malicious constructed Jupiter swap_data and remaining_accounts might cause payer to lose funds Fixed
4 High Unvalidated evm_output_token in cross chain messages will cause users to lose funds Fixed
5 Medium Endpoint delegate is not synchronized when store.admin changes Fixed
6 Low User-controlled fee_amount_via_usdc enables fee circumvention Fixed
7 Low Lack of validation for user_input_token_account.mint versus swap input token Fixed
8 Low Lack of option type check in the function init_store() Fixed
9 - Non zero address checks Fixed
10 - Revise constant variable naming typos Fixed
11 - Add non zero value check for usdc_received Fixed
12 - Lack of check in function set_usdc_mint() Confirmed
13 - Payer should perform off-chain validation before signing -
14 - Potential centralization risks -

자세한 내용은 감사 보고서에서 확인할 수 있습니다.

더 안전한 프로토콜을 위한 첫걸음

출시 전에 프로토콜 보안을 강화하세요. BlockSec의 전문 코드 감사팀에 문의하시면 됩니다.