58133 sc low toke rewards permanently locked in strategy adapter

Submitted on Oct 30th 2025 at 21:21:06 UTC by @nem0thefinder for Audit Comp | Alchemix V3arrow-up-right

  • Report ID: #58133

  • Report Type: Smart Contract

  • Report severity: Low

  • Target: https://github.com/alchemix-finance/v3-poc/blob/immunefi_audit/src/strategies/mainnet/TokeAutoUSDStrategy.sol

  • Impacts:

    • Permanent freezing of funds

    • Rewarder Toke rewards are locked in strategy adapter

Description

Note! The same happen in TokeAutoETH

Summary

TOKE reward tokens claimed from the Tokemak rewarder are permanently locked in the TokeAutoUSDStrategy contract with no mechanism to retrieve them, resulting in continuous value loss to the protocol and users.

Description

The TokeAutoUSDStrategy contract stakes autoUSD shares received from allocating to autoUsdVault in a Tokemak rewarder that distributes TOKE tokens as rewards. During deallocation, the strategy claims these TOKE rewards:

The issue here that deallocate function don't handle Toke tokens received from the rewarder leaving them locked in the contract. making the whole rewarder staking process useless.

Impact

  • Financial Loss: TOKE rewards accumulate indefinitely in the strategy contract

  • No Recovery Mechanism: Tokens are permanently inaccessible to protocol, users, and governance

Mitigation

  1. Implement reward Handling: override MYT::claimRewards and implement your custom logic for handling toke rewards OR

  2. Token Rescue Function: Add rescue function that allow trusted roles to withdraw those tokens.

Proof of Concept

Proof of Concept

Note! These instructions will be applied in TokeAutoUSDCStrategy.t.sol

1.Add the following interface

2. Fork the current block

3.Paste the following test

4. Run it via forge test --mc TokeAutoUSDStrategyTest --mt test_toke_rewards_permanently_locked -vvv

Logs

Was this helpful?