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

Use specific version of Solidity, instead of wide version.

Vulnerability Details

The smart contracts for One Shot project are using ^0.8.20 version, which means from 0.8.20 up to, but not including 0.9.0. However a future version of Solidity could be released that contains a bug, that can introduce a potential vulnerability in these contracts.

Impact

Allowing the use of later-on versions of Solidity, that haven't undergone extensive testing can leave the protocol open for exploits.

Tools Used

Manual Review

Recommendations

It's essential to lock the pragma to a specific version. Pick a trusted and tested version of Solidity and fix that in the pragma statements.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 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.