The RAACMinter.sol contract has a misalignment in reward allocation because its emission calculations only consider staked tokens (deposits in stabilityPool) and ignore unstaked RAAC tokens (held in the treasury or unclaimed rewards).
The function only considers totalDeposits (staked tokens) when adjusting emissions.
Unstaked RAAC tokens (held in treasury, excess emissions, unclaimed rewards) are ignored.
This causes misaligned emissions, where unstaked RAAC is not accounted for in supply calculations.
The vulnerability is real and similar to Kamino Lend’s issue.
🔹 Emissions are misaligned due to ignoring unstaked RAAC in calculations.
🔹 Attackers can manipulate staking to inflate or deflate emissions.
🔹 Fixing the utilization rate calculation prevents unfair reward distribution.
This vulnerability can lead to incorrect RAAC token emissions, affecting:
Stakers (earning rewards unfairly or losing rewards)
RAAC token supply (inflation or deflation issues)
Lending and stability pools (incorrect liquidity incentives)
Here’s a rough risk assessment:
| Scenario | Potential Loss |
|---|---|
| Emission Farming | Millions of RAAC tokens over-minted, inflating supply and hurting price stability. |
| Liquidity Collapse | Liquidity providers exit, causing unstable lending rates and reduced protocol usage. |
| Governance Exploitation | Attackers manipulate staking to control emissions, affecting RAAC governance votes. |
Worst-case scenario:
If emissions are massively overestimated, attackers could mint billions of RAAC, crashing the price and causing liquidity loss across DeFi integrations.
Manual Review
The misalignment in emissions must be corrected to ensure fair reward distribution.
The fix should include unstaked RAAC (treasury, excess tokens) in calculations.
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.