Incentive accumulation can be sandwiched with additional shares to gain advantage over long-term depositors
Acala
MediumCode4rena
Every publicly disclosed report for Acala and what kind of bugs they were.
Newest first. Only what Acala chose to make public.
Acala
MediumIn the unbond_instant function, the share-removal callback was called with the post-fee amount rather than the full bonded amount, so a portion of shares was never removed. Over time these stuck shares kept earning rewards that other users could no longer receive, and the one-share-equals-one-token relationship broke.
Acala
MediumThe deposit_dex_share function allows users to create multiple tiny (1 wei) positions without a minimum deposit, which can bloat the blockchain's storage. An attacker could cheaply create many such positions, potentially leading to high maintenance costs and a denial of service.
Acala
MediumThe transfer_share_and_rewards function allows a user to transfer shares and rewards to themselves, which doubles their share and reward balance. An attacker could repeatedly self-transfer to inflate their balance, potentially draining rewards from the pool.
Acala
HighThe incentive contract lacks a minimum liquidity check, allowing a user to hold as few as one share. An attacker can manipulate the share-to-reward ratio so that reward inflation rounds to zero, letting them steal rewards from other users.
Acala
HighThe transfer_share_and_rewards function calculates the reward debt to transfer using integer division that rounds down, so a small share transfer can result in zero reward debt being moved. An attacker could split their position into multiple accounts, each with shares but no reward debt, and claim rewards repeatedly to drain the reward pool.
Acala
HighWhen a pool participant claims rewards while a deduction rate is non-zero, the deducted portion is redistributed to all participants, including the claimer. This lets a user repeatedly claim and recover part of their own deduction, drawing more from the reward pool than intended.
Acala
Medium