Since mint
and burn
directly modify token supply, any compromise in AaveDIVAWrapper
(owner) could allow unlimited or unauthorized token creation or destruction in contract IWToken.sol
.
Since AaveDIVAWrapper is the designated owner, it controls all minting and burning. If it:
Gets hacked, an attacker can mint/burn at will.
Contains a logic bug, it could mistakenly burn user balances or over-mint tokens.
Is centrally controlled, a malicious owner could exploit users.
A compromised or malicious AaveDIVAWrapper
could:
Mint infinite wTokens, devaluing the asset.
Burn user balances arbitrarily, causing loss of funds.
PoC Example
If AaveDIVAWrapper
is upgradeable or its private key is leaked, an attacker could reassign ownership and mint tokens:
Manual code review
Introduce governance or multi-signature approval for minting/burning.
Implement circuit breakers to prevent excessive minting/burning.
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.