Platform: Code4rena
Start Date: 13/01/2022
Pot Size: $75,000 USDC
Total HM: 9
Participants: 27
Period: 7 days
Judge: leastwood
Total Solo HM: 5
Id: 73
League: ETH
Rank: 7/27
Findings: 3
Award: $2,423.52
🌟 Selected for report: 0
🚀 Solo Findings: 0
15.3557 LPT - $569.39
1565.8688 USDC - $1,565.87
cccz
Same as https://github.com/code-423n4/2021-11-overlay-findings/issues/22, the burner could burn any amount of tokens of any user.
Manual analysis
Update burn function for only owner can burn his tokens.
#0 - yondonfu
2022-01-23T14:49:40Z
2.073 LPT - $76.87
211.3923 USDC - $211.39
cccz
In the DelegatorPool contract, the initialize function was missing access controls, allowing any user to initialize the contract. By front-running the contract deployers to initialize the contract, the incorrect parameters may be supplied, leaving the contract needing to be redeployed.
function initialize(address _bondingManager) public initializer { bondingManager = _bondingManager; migrator = msg.sender; initialStake = pendingStake(); }
Manual analysis
Setting the owner in the contract's constructor to the msg.sender and adding the onlyOwner modifier to all initializers
#0 - yondonfu
2022-01-21T16:26:03Z