Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: low
Valid

Unfair Stake Amount Policy

Summary

Changed stake amounts open the possibility for unfair situations where some oracles have lower/higher stakes.

Vulnerability Details

In LLMOracleRegistry oracles can register. For this to happen there is a minimum stake amount that they have to abide by:

  • generatorStakeAmount

  • validatorStakeAmount
    However, the owner of the protocol can change these stake amounts through setStakeAmounts function. This opens the possibility for unfair situations where some oracles have lower/higher stakes because when this change is performed there is no check whether the already registered oracles abide by the new value.

Impact

Such vulnerability makes the protocol's logic unfair and disincentivises users to register.

Tools Used

Manual Review

Recommendations

A possible mitigation for such an issue is to remove the function which changes these values and to leave them immutable - they will be set only once when the protocol is deployed.

Updates

Lead Judging Commences

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Consensus Mechanism Allows Participation Of Voters With Insufficent Stake

Support

FAQs

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