Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Floating and Outdated Pragma will Risk Contract Security

Vulnerability Details

The contract uses a floating pragma version (^0.8.13), which allows it to be compiled with any version of the Solidity compiler that is compatible with version 0.8.13. This floating pragma can lead to security risks if the contract is compiled with a compiler version that contains vulnerabilities or is incompatible with the contract’s logic.

Impact

**If the smart contract gets compiled and deployed with an older or too recent version of the solidity compiler, there’s a chance that it may get compromised due to the bugs present in the older versions or unidentified exploits in the new versions. **

Affected Code:

  • Almost every contract

Tools Used

Manual

Recommendations

It is recommended to use a fixed pragma version, specifically 0.8.24, which is one version prior to the latest version 0.8.25 to balance the stability.

Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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