code-423n4 / 2021-12-amun-findings

0 stars 0 forks source link

Use of floating pragma #230

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

saian

Vulnerability details

Impact

The contracts should be deployed with the same solidity version with which they have been tested. Locking the pragma ensures that the contracts don't get deployed with an older version which might introduce bugs.

Proof of Concept

Contracts in the repository use floating pragma

Tools Used

Manual Analysis

Recommended Mitigation Steps

Use fixed pragma