Closed code423n4 closed 2 years ago
gzeon
setGuardian incorrectly set governance in SettToRenIbbtcZap.sol
setGuardian
https://github.com/Badger-Finance/badger-ibbtc-utility-zaps/blob/a5c71b72222d84b6414ca0339ed1761dc79fe56e/contracts/SettToRenIbbtcZap.sol#L132
_onlyGovernance(); governance = _guardian; }``` ## Tools Used ## Recommended Mitigation Steps
Agree, there' s a bunch of duplicates for this, I think #31 #10 and a few more I don't remember
Also #25 (potentially), based on the comments I've seen
duplicate of #51
Handle
gzeon
Vulnerability details
Impact
setGuardian
incorrectly set governance in SettToRenIbbtcZap.solProof of Concept
https://github.com/Badger-Finance/badger-ibbtc-utility-zaps/blob/a5c71b72222d84b6414ca0339ed1761dc79fe56e/contracts/SettToRenIbbtcZap.sol#L132