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 的專業程式碼審計服務,在協議上線之前把安全性提上來!