Liquid Staking

Stakelink
DeFiHardhatOracle
50,000 USDC
View results
Submission Details
Severity: medium
Invalid

Lack of Access Control in splitRewards Function

Summary

This report highlights a critical vulnerability in the LSTRewardsSplitter contract's splitRewards function, which currently lacks access control mechanisms. This allows any user to invoke the function, potentially leading to unauthorized reward distribution and significant financial risks for stakeholders. It is essential to implement proper access controls to safeguard the integrity of the rewards system and prevent exploitation.

Vulnerability Details

The splitRewards function in the LSTRewardsSplitter contract lacks access control, allowing any user to invoke it and split rewards. This vulnerability can lead to unauthorized access to rewards distribution, potentially resulting in financial losses for stakeholders.

Details

Impact

  • Unauthorized Access: Any user can call splitRewards, allowing them to distribute rewards without proper authorization. This could lead to exploitation, where malicious actors drain rewards meant for legitimate participants.

  • Financial Risk: Stakeholders may incur significant losses due to improper reward distribution.

Tools Used

Recommendations

  • Implement Access Control: Add modifiers to restrict access to the splitRewards function, allowing only authorized users (e.g., contract owners or designated roles) to call it.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.