Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/07/29 12:00 a.m.10 views

Unauthenticated Access of withdrawToTreasury Makes _distributeFees Not Work

Lines of code Vulnerability details Impact Since the function withdrawToTreasury lacks authority control, anyone can call withdrawToTreasury to transfer erc20 token or native coin held by the contract to the treasury. This will indirectly cause the transaction which calls function...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2023/07/29 12:00 a.m.11 views

Function initialize Not Work

Lines of code Vulnerability details Impact As mentioned in the comment of the function initialize, "This is called right after deployment by the LensHub, so we can skip the onlyHub check". However, when the contract FollowNFT is deployed, the state variable initialized is set to true in the...

7AI score
SaveExploits0
Rows per page
Query Builder