User can influence MartenitsaMarketplace
market by using joinEvent
function.
As HealthToken has ERC20 standard, users can transfer HealthTokens using transferFrom
and transfer
functions.
After obtaining many HealthTokens using MartenitsaMarketplace::collectReward
function, a malicious actor/user can use transferFrom
and transfer
functions to transfer 1 HealthToken to each of malicious user's other accounts and enter the MartenitsaEvent::joinEvent
function collectively to join the event.
After entering the event and becoming the producer, the malicious user can singlehandedly, increase or decrease the price of MartenitsaTokens
from all his accounts which can influence the MartenitsaMarketplace
user/producer market.
A single user can influence the MartenitsaMarketplace
market by selling MartenitsaTokens
at a very low price or very high price through his various other addresses. Hence, increasing or decreasing the overall price of the MartenitsaTokens in the user/producer market.
Manual Review
Add revert statement in transferFrom
and transfer
functions such that every time these functions are called, they will be reverted. Thus, making transfer of HealthTokens impossible for any user be it malicious or not.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.