Repository navigation
Audit/Cyfrin february 2026 - #18
Merged
Merged
Conversation
added 8 commits
February 25, 2026 17:36
…ation, silently disabling burn ratio protection
…SettersGovernor::adjustStablecoins
…r than 0 and 1 potentially leading to DOS
…ct-out mint and burn for certain collateral decimals
…ost-check causes Surplus::processSurplus(collateralAddress,0) DoS
FabienCoutant
force-pushed
the
audit/cyfrin-february-2026
branch
from
March 1, 2026 13:03
c99142c to
0905050
Compare
…z test OpenZeppelin v5 uses custom errors (SafeCastOverflowedUintDowncast) instead of string reverts. Use generic vm.expectRevert() and return early to avoid asserting on reverted call results.
FabienCoutant
force-pushed
the
audit/cyfrin-february-2026
branch
from
March 1, 2026 13:08
0905050 to
84785b1
Compare
added 8 commits
March 1, 2026 15:09
…for surplusBufferRatio > 100%
Prevents CI from resolving a newer OZ version where __UUPSUpgradeable_init was removed, breaking the build.
… unset ratio Removed the check for surplusBufferRatio being zero in Surplus.sol and added a new error SurplusBufferRatioNotSet in Errors.sol. Updated LibSurplus to use the new error and adjusted tests to reflect these changes, ensuring proper handling of surplus calculations.
…r normalizer (amends issue 18)
…re protocol remains above buffer ratio
…nd streamline loops for improved clarity and efficiency
FabienCoutant
force-pushed
the
audit/cyfrin-february-2026
branch
from
March 4, 2026 17:08
b5bbc17 to
c832d82
Compare
added 2 commits
March 5, 2026 17:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.