The RAAC Gauge contracts (BaseGauge.sol
, GaugeController.sol
, RAACGauge.sol
, RWAGauge.sol
) contain a high-severity vulnerability in their gauge weight and emissions allocation system. This flaw allows malicious actors to exploit deactivated gauges to unfairly claim rewards.
Killed gauges may still receive emissions if past weights are not properly removed.
Attackers can abuse this by reviving killed gauges to double claim emissions.
1️⃣ Inactive Gauges Still Receive Emissions
Disabling or pausing a gauge does not remove past emissions allocations.
If a gauge had previous weight allocations, it may continue to receive emissions until an update.
2️⃣ Gauge Revival Abuse for Double Emissions
Attackers can kill and revive a gauge to claim past emissions twice.
Since the gauge’s previous weight remains stored, reactivation allows illegitimate reward claims.
3️⃣ Missing Full Weight Reset When Gauges Are Removed
The contract does not remove all historical allocations when a gauge is disabled.
This leads to reward leakage, disrupting the RAAC emissions model.
If unpatched, this issue could lead to:
1️⃣ Governance Manipulation
Attackers can propose, kill, and revive their own gauges to manipulate rewards distribution.
2️⃣ Liquidity Drain & Reward Inflation
If past emissions are not properly removed, stale gauges may still claim rewards unfairly, leading to excessive emissions leaking into the system.
3️⃣ RAAC Emission Model Broken
Since weight allocation does not instantly reflect status changes, governance cannot properly distribute rewards, affecting fair staking incentives.
Solodit, Manual Review
1. Implement a removeGauge
function that fully removes weight allocations
Introduce a removeGauge
function that:
Sets weight to 0
Removes historical emissions allocations
Prevents revival attacks
2. Modify toggleGaugeStatus
to clear past emissions instantly
Ensure paused/removed gauges cannot carry over past weight allocations.
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.