Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Valid

The winner of Rap Battle is predictable.

Summary

The random calculation is not truely random and can be exploited by a user so that they always win.

Vulnerability Details

msg.sender, block.timestamp and block.prevrandao can be manipulated by the validator.

Impact

Validator can manipulate the Random Number Generation function to win the battle.

Tools Used

Manual Review

Recommendations

Use oracle to generate Random Number.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Weak Randomness

Support

FAQs

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