highLogic errorEVM-Solidity
AlephZeroAMM: The owner of a farm can steal already accumulated rewards
- Payout
- $0
- Protocol
- AlephZeroAMM
- Disclosed
- Jan 19, 2024
- Source
- hats
The AlephZeroAMM farm contract books accrued rewards against indices of a reward_tokens vector rather than unique token identities, creating an accounting corruption when the owner lists the same token more than once. By setting reward_tokens to [WOOD, WOOD] a …
Similar reports
- No close matches yet.
References
- https://github.com/hats-finance/AlephZeroAMM-0x0d88a9ece90994ecb3ba704730819d71c139f60f/issues/20
- https://github.com/hats-finance/AlephZeroAMM-0x0d88a9ece90994ecb3ba704730819d71c139f60f
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.