AstrolabDAO / strats

Home of Astrolab strategies
Other
15 stars 11 forks source link

[ACT-01M] Potentially Insecure Address Cast #15

Open pde-rent opened 7 months ago

pde-rent commented 7 months ago

Recommendation:

We advise the code to cast the uint256 representation of the bytes32 variable to a uint160 variable safely (i.e. via AsCast::toUint160), ensuring that there are no dirty bits in the representation cast.

Acknowledged - we'll fix this