Submitted by GiveMeTestEther, also found by kenzo
The shareKey function allows a user to share some time with another user that doesnt already has/had a key and this generates a new key. This even allows the user to generate more keys than \_maxNumberOfKeys.
Attacker generates a lot of EOA addresses, buys a key, share the minimum necessary time with each address and in each sharing a new key gets generated. This allows cheaply to allocate alot of keys with out really purchasing them and a lot of user cant get a key because purchase has a modifier notSoldOut, that limits the max purchasable to keys to maxNumberOfKeys
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
Manual Analysis
julien51 (Unlock Protocol) acknowledged and commented:
0xleastwood (judge) commented:
julien51 (Unlock Protocol) commented:
0xleastwood (judge) commented:
