Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

Use a weak PRNG `Soulmate::readMessageInSharedSpace` due to a modulo on `block.timestamp`

Summary

Using block.timestamp for PRNG can be manipulated by miners, leading to predictable outcomes. The reliance on values that miners can influence introduces centralization risks, as miners with more computational power can exert more control over the outcome.

Vulnerability Details

Using block.timestamp for PRNGs in smart contracts can be manipulated by miners, leading to predictable outcomes and security risks, use secure sources like Chainlink VRF.

Impact

Users might notice irregularities or unfairness.

Tools Used

Manual Review

Recommendations

To mitigate this vulnerability, developers should avoid using block.timestamp directly for PRNGs. Instead, consider using sources of randomness that are less susceptible to miner influence, such as Chainlink VRF.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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