background
logo

Security Audit Report for Rhea Finance's Rhea LSD

DESCRIPTION

The target of this audit is the private code repository of Rhea LSD of Rhea Finance. The protocol is deployed on the NEAR network and issues an LSD (Liquid Staking Derivative) token. Users deposit underlying tokens into the protocol, which are then supplied to Burrowland for yield generation. Privileged roles periodically withdraw rewards from Burrowland, swap them into underlying tokens, and re-deposit them to compound returns. Users can unstake at any time by burning their LSD tokens to redeem the corresponding underlying assets. The protocol also introduces cross-chain functionality, enabling users to complete both cross-chain transfers and deposits of underlying tokens within a single transaction.

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 Rhea LSD 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.

KEY FINDINGS

In total, we find 4 potential issues in the smart contract. We also have 1 recommendations and 3 notes, as follows:

High Risk: 1
Medium Risk: 3
Low Risk: 0
Recommendation: 1
Note: 3
ID Severity Description Status
1 High Nonce derivation collision from block height dependency Fixed
2 Medium Lack of handling of cross-contract mint confirmation Fixed
3 Medium Funds locked due to lack of fallback mechanism in Wormhole VAA execution Fixed
4 Medium Unrecoverable reward assets from crosscontract transfer handling Fixed
5 - Add an executed VAA check in function to_submit_vaa() Confirm
6 - Ensure timely invocation of function rebalance() to update the share value -
7 - Potential centralization risks -
8 - Assumption on DEX compatibility -

More details are provided in the audit report.

Take the first step towards a secure future

Reach out now for BlockSec's expert code audit services, elevate the security of your protocol before it goes live!

Security Audit Report for Rhea Finance's Rhea LSD - BlockSec