Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/07/31 12:00 a.m.11 views

tryMigrate() doesn't ensure that followerProfileId isn't already following

Lines of code Vulnerability details Bug Description In FollowNFT.sol, the tryMigrate function is used to migrate users who were following before the V2 upgrade. It does so by updating followTokenIdByFollowerProfileId and followDataByFollowTokenId, which are state variables introduced in the V2...

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

tryMigrate() has onlyHub modifier but it's called from LensV2Migration

Lines of code Vulnerability details Impact In FollowNFT.sol, tryMigrate function has onlyHub modifier as other functions that are supposed to be called by LensHub such as follow and unfollow. These functions are called via delegatecall and LensHub is preserved as msg.sender. The problem is that t...

7.1AI score
SaveExploits0
Rows per page
Query Builder