-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contracts using un-audited version of Solady
library
#64
Comments
The reported issue regarding the use of an older, unaudited version of the Solady library in Issue Description: Impact: Conclusion: Status: This issue is invalid. |
@mihailo-maksa I see more benefits in updating latest version of solady than with currenly used year old version. This could be considered as |
Thanks for your feedback. However, this issue doesn’t meet any of the criteria for acceptance (as explained in more detail below), as none of the functions are practically impacted by the version of the Solady library used. Scope of the Bug Bounty ProgramThe scope includes the core contracts of the Intuition protocol:
Examples of What's in Scope
Out of Scope
Severity Levels (examples)
Please refer to the readme file for more details on intended behavior and the developer docs. |
Github username: --
Twitter username: --
Submission hash (on-chain): 0x7eab7f2fb6837d2516e7b494d658617f0d003ebb5116b00b3030a4f8fff48220
Severity: low
Description:
Description\
EthMultiVault.sol
has utilized solady'sFixedPointMathLib.sol
andLibZip.sol
libraries in contracts. The functionalies mainly likemulDiv()
andmulDivUp()
has been extensively used from these solady contracts.Following functions have used:
_feeOnRaw()
,convertToShares()
,convertToAssets()
The issue is that, current contracts have used a very old version of solady i.e
version": "0.0.201
is being used. This is verified from lib folder in contracts repo. This version is not audited from audit firms.The latest version of Solady is
version": "0.0.213
which has several bugs fixed over the last 12 minor versions with lots of gas optimizations and refactoring.All changes related to
FixedPointMathLib
can be checked at https://github.com/Vectorized/solady/commits/main/src/utils/FixedPointMathLib.sol?before=65a32cda377153622c4ad49ca79c0127e0f32a73+35Its recommended to avoid using deprecated or old versions of external libraries and should use latest versions of external libraries.
Solady has gone through rigorous security reviews by top Audit firms like Cantina. All reports can be checked at https://github.com/Vectorized/solady/tree/main/audits
Recommendation to fix
Recommend to use latest version of Solady which has fixed bugs found in security audits.
The text was updated successfully, but these errors were encountered: