background
logo

Security Audit Report for XAUE Lab's xaue-lending

개요

The target of this audit is the private code repository of xaue-lending of XAUE Lab. XAUE-lending is a tokenized gold lending vault that allows users to deposit Tether Gold (i.e., XAUT) and receive XAUE-backed lending shares (i.e., xLEND), which can be used as collateral in other protocols. The protocol converts deposited XAUT into XAUE via an external Agent Router, tracks value growth through a Cobo Fund Oracle NAV price feed, and splits any NAV appreciation surplus between users and the protocol. Redemptions are asynchronous: users request redemption, the vault routes XAUE back through the Router, and users later claim XAUT.

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 1 high-risk issue that require prompt attention. In addition, we have identified other non-critical issues as well as recommendations and notes that should be considered. The xaue-lending 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건을 발견했습니다. 권고 사항 5건과 참고 사항 3건도 함께 정리했습니다.

높은 위험도 1건
중간 위험도 3건
낮은 위험도 3건
권고 사항 5건
참고 사항 3건
ID Severity Description Status
1 High Potential DoS due to mismatched function signatures Fixed
2 Medium Incorrect return value in function previewMint() Fixed
3 Medium Incorrect logic in function claimRejectedRedemption() Fixed
4 Medium Stale pricing due to immutable oracle Fixed
5 Low Lack of protocolSurplusXaue restoration on rejection Fixed
6 Low Potential overwrite of the vaultByPartner mapping Fixed
7 Low Arbitrary receiver of protocol surplus Fixed
8 - Add allowance revocation logic Fixed
9 - Return redemption ID and expose redemption status Fixed
10 - Add zero-address validations in contract LendingShare Fixed
11 - Add errors for pause status Fixed
12 - Remove redundant code Fixed
13 - Potential centralization risks -
14 - Assumptions on external contracts -
15 - NAV should be monotonically increasing -

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

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

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

Security Audit Report for XAUE Lab's xaue-lending - BlockSec