LoveToken::initVault
allows the airdropVault
and stakingVault
addresses to mint a large amount of tokens. Additionally, it does not have a mechanism to prevent it from being called multiple times by the airdropVault
or stakingVault
addresses.
LoveToken::initVault
sets an unlimited approval (500,000,000 ether) to LoveToken::managerContract
. This could lead to risks if the contract is not secure or is malicious, as it would have the ability to transfer a large number of tokens on behalf of the airdropVault
or stakingVault
.
If these addresses are compromised, an attacker could mint a significant amount of tokens, potentially manipulating the token's value or conducting other malicious activities. This could lead to an unlimited minting of tokens, which would severely devalue the token and could be exploited.
Manual review with Audit Wizard
Implement rate limting to prevent the airdropVault
or stakingVault
addresses from calling LoveToken::initVault
multiple times. Additionally, consider implementing a mechanism to prevent the airdropVault
or stakingVault
addresses from minting an unlimited amount of tokens.
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.