function:updateCountMartenitsaTokensOwner
in MartenitsaToken.sol
can be called by any user and alter count of MartenitsaTokens of any user,
Can be used to increase/decrease token count to any number.
This can influence the number of Health Tokens given to a user, as it primarily depends on number of Martenitsa tokens held by them.
The function updates Token count of input argument "owner" irrespective of who msg.sender
is. It is possible for userA to call this function with userB's address as input and alter B's token count.It is also possible for userA to increase/decrease their count of tokens to any number.
Should implement checks before altering countMartenitsaTokensOwner
mapping. for ex: use msg.sender
instead of owner if it fits the protocol functionality.
It should not be external function, or have sufficient access control modifiers.
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.