Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/11/13 12:00 a.m.7 views

Address(0) owner is dangerous

Lines of code Vulnerability details Impact If the current owner confirms the renouncement, the new owner will have address zero. In this case no new owner can be assigned and the functions with onlyOwner modifier will be un-callable forever. Proof of Concept This mechanism is dangerous, because i...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2022/04/29 12:00 a.m.10 views

Function recoverERC20 in StakingRewards allows an owner to transfer out any token except stakingToken

Judge @GalloDaSballo has assessed the 1st item in QA Report 254 as Medium risk. The relevant finding follows: … Function recoverERC20 in StakingRewards allows an owner to transfer out any token except stakingToken. I see 2 problems with this: 1. It should also forbid transferring of rewardsToken,...

6.7AI score
SaveExploits0
Rows per page
Query Builder