Unlocked pragma is used in most contracts #51
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
hyh
Vulnerability details
Impact
As different compiler versions have critical behavior specifics if the contracts get accidentally deployed using another compiler version compared to one they tested with, various types of undesired behavior can be introduced
Proof of Concept
Most of the contracts use
pragma solidity >=0.6.6
.Basically all of them, just a few links:
https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/MiningService.sol#L1
https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/DAO.sol#L1
https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/PoolTransferVerification.sol#L1
...
Recommended Mitigation Steps
Fix the compiler version across the system
The text was updated successfully, but these errors were encountered: