background
logo

Security Audit Report for LiNEAR

專案簡介

LiNEAR Protocol is a liquid staking solution built on the NEAR Protocol. LiNEAR unlocks liquidity of the staked NEAR by creating a staking derivative to be engaged with various DeFi protocols on NEAR and Aurora, while also enjoying over 10% APY staking rewards of the underlying base tokens. LiNEAR is the cornerstone piece of the NEAR-Aurora DeFi ecosystem. The core contracts covered in this audit include LiNEAR contracts in the code repository. The iterative audit covers the code in the initial version, as well as subsequent versions to fix discovered issues, as detailed in our audit report. Please note that external dependencies are assumed reliable and are therefore excluded from the 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 did not find any critical issues within the audited codebase. However, we have identified four non-critical issues that should be addressed. Additionally, we have put four recommendations to further strengthen the code logic. It is important to note that the scope of our audit was strictly limited to the specific code versions mentioned in the report. Any updates made subsequent to our review would require a re-evaluation.

關鍵發現

我們在該智能合約中共發現 4 個潛在問題,另有 4 條建議與 0 條說明,明細如下:

高風險:0
中風險:2
低風險:2
建議:4
說明:0
ID Severity Description Category Status
1 Medium Precision loss Software Security Fixed
2 Low User's available balance may be locked temporarily DeFi Security Confirmed
3 Medium Unlimited reward distribution to beneficiaries DeFi Security Fixed
4 Low Users' unstaking requests may not be satisfied in time DeFi Security Fixed
5 - Function epoch_update_rewards may not work due to unlimited beneficiaries Recommendation Fixed
6 - Redundant code Recommendation Confirmed
7 - Missing check on the prepaid_gas in function ft_transfer_call Recommendation Fixed
8 - The risk of centralized design Recommendation Confirmed

更多細節見審計報告

邁出走向安全的第一步

立即聯絡我們,獲取 BlockSec 的專業程式碼審計服務,在協議上線之前把安全性提上來!

Security Audit Report for LiNEAR - BlockSec