The veRAACToken
contract lacks critical supply cap enforcement when minting new governance tokens through lock position increases. This omission allows malicious actors to bypass intended tokenomics by minting unlimited veRAAC tokens, potentially leading to governance manipulation and protocol value dilution. The vulnerability stems from missing validation against a maximum total supply during the minting process in the veRAACToken.increase
function.
The vulnerability exists in the veRAAC token's lock increase mechanism where new token minting occurs without validating against a maximum total supply cap. The affected code resides in function veRAACToken.increase
(veRAACToken.sol#L270):
The contract currently allows unlimited veRAAC token minting through the veRAACToken.increase
function when users add to their locked positions. While the system calculates voting power based on lock parameters, it fails to enforce any hard cap on the total veRAAC supply during this operation.
This omission violates the fundamental tokenomics assumption that veRAAC supply should be strictly tied to locked RAAC token amounts with a predefined maximum ceiling. Attackers could exploit this by repeatedly increasing lock amounts to artificially inflate the veRAAC supply beyond intended limits.
The absence of a total supply cap check during veRAAC token minting allows for:
Unlimited Governance Token Inflation: Malicious actors could manipulate governance outcomes by artificially inflating their voting power through repeated lock increases
Tokenomics Breakdown: The veRAAC supply could exceed protocol-design limits, devaluing legitimate holders' positions and disrupting planned emission schedules
Protocol Parameter Manipulation: Excessive veRAAC supply could enable attackers to:
Skew gauge weight voting results
Influence governance proposals disproportionately
Disrupt reward distribution mechanisms
This vulnerability fundamentally undermines the protocol's economic model and governance integrity, potentially leading to protocol capture by malicious actors.
Manual Review
Implement supply cap enforcement in veRAACToken.increase
:
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.