Skip to content
Business logic Audit finding Intermediate

Attackers will steal rewards from legitimate pools by making duplicate pools for listed token

The reward accrual function in the gauge hook credits rewards per token without checking whether the pool triggering it is a legitimate listed pool. An attacker can create an unlisted pool for the same token pair, add minimal liquidity to trigger reward distribution, and divert community rewards from the legitimate pool.

0xB4nkz Follow with 0xBoraichoT, 0xDaniel_eth and 21 others

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-09-super-dca-judging/issues/662

Found by

0xB4nkz, 0xBoraichoT, 0xDaniel_eth, 8olidity, Aamirusmani1552, BADROBINX, BengalCatBalu, JeRRy0422, Kirkeelee, Ollam, PolarizedLight, francoHacker, harry, illoy_sci, ivanalexandur, jayjoshix, lucky-gru, maigadoh, nganhg, silver_eth, techOptimizor, v10g1, vinica_boy, y4y

Summary

The per-token reward accrual without pool validation will cause reward theft for legitimate pools as attackers will create malicious pools and trigger reward distribution.

Root Cause

In SuperDCAGauge.sol, the _handleDistributionAndSettlement function accrues rewards globally per token via staking.accrueReward(otherToken) without validating if the specific pool is legitimately listed. Since Uniswap V4 allows multiple pools for the same token pair (e.g., USDC/SuperDCA with different fees or configurations), and the listing contract (SuperDCAListing.sol) only permits one listing per non-SuperDCA token, attackers can create unlisted pools using the same hook to siphon rewards meant for listed pools.

https://github.com/sherlock-audit/2025-09-super-dca/blob/main/super-dca-gauge/src/SuperDCAGauge.sol#L323-L367

Internal Pre-conditions

  • At least one token (e.g., USDC) must be listed via the SuperDCAListing contract for a legitimate pool.
  • The SuperDCAGauge hook must be deployed and configured with staking and listing contracts.
  • The staking contract must have accrued rewards for the listed token.

External Pre-conditions

  • No minimum liquidity checks in the hook's _handleDistributionAndSettlement (only enforced during listing).

Attack Path

  1. Attacker identifies a listed token (e.g., USDC) with an existing legitimate pool (e.g., USDC/SuperDCA with dynamic fee).
  2. Attacker creates a new malicious pool for the same pair (USDC/SuperDCA) using the same SuperDCAGauge hook, with minimal or zero liquidity (bypassing listing requirements).
  3. Attacker adds minimal liquidity to the malicious pool, triggering _beforeAddLiquidity which calls _handleDistributionAndSettlement.
  4. In _handleDistributionAndSettlement, rewards are accrued for the token (USDC) globally, and the community share is donated to the malicious pool (since it has liquidity).
  5. Attacker removes liquidity from the malicious pool, triggering _beforeRemoveLiquidity again, potentially accruing more rewards.
  6. Attacker repeats add/remove operations to maximize reward theft, then withdraws the donated rewards from the malicious pool.

Impact

Legitimate pools suffer a complete loss of community rewards, as rewards are diverted to the attacker's malicious pool. The protocol's reward distribution mechanism is undermined, potentially leading to reduced incentives for legitimate liquidity providers and loss of trust.

PoC

No response

Mitigation

Add pool-specific validation in _handleDistributionAndSettlement to check if the pool is listed before accruing rewards. For example, query the listing contract per pool key/ID or enforce that only listed pools can trigger reward distribution. Alternatively, modify the staking contract to accrue rewards per-pool instead of per-token, or add minimum liquidity checks in the hook. Ensure the listing contract tracks pools by key/ID rather than just tokens.

Discussion

sherlock-admin2

The protocol team fixed this issue in the following PRs/commits: https://github.com/Super-DCA-Tech/super-dca-gauge/pull/37

The original report as published on Sherlock, by 0xB4nkz. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the reward accrual function credits rewards per token rather than per pool, and does not verify that the pool triggering it is the one that was officially listed.

Impact

Legitimate pools could lose all community rewards, which are diverted to the attacker's pool, undermining incentives for honest liquidity providers.

What the attacker needed

A listed token with a legitimate pool; gauge hook deployed and configured; staking contract has accrued rewards; attacker can create a pool with the same hook

The fix

The protocol team fixed this issue by adding pool-specific validation so that only listed pools can trigger reward distribution.

How it was found

  1. Identify a listed token that already has a legitimate pool.
  2. Create a new pool for the same token pair using the same hook, with minimal or zero liquidity.
  3. Add minimal liquidity to the malicious pool to trigger the distribution function.
  4. The function accrues rewards for the token and donates the community share to the malicious pool.
  5. Remove liquidity to trigger the function again and potentially accrue more rewards.
  6. Repeat add and remove operations to maximise reward theft, then withdraw the donated rewards.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A reward system gives out tokens to people who provide liquidity in a specific pool. The code that hands out rewards only checks which token is involved, not which pool. So an attacker can make a fake pool for the same token, add a tiny amount of liquidity, and trick the system into sending the real pool's rewards to the fake one.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by 0xB4nkz

View all

1 more disclosed report, best first.

More from Super DCA Liquidity Network

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.