Skip to content

Code4rena

Centrifuge

Every publicly disclosed report for Centrifuge and what kind of bugs they were.

disclosed reports
8
most reported class
Access control
bug classes found
3
first disclosure
2023
Find Centrifuge on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Centrifuge chose to make public.

Access control

onlyCentrifugeChainOrigin() can’t require msg.sender equal axelarGateway

The onlyCentrifugeChainOrigin modifier required msg.sender to be the Axelar gateway, but the gateway never calls the router's execute method, so cross-chain commands could not be executed. This could leave user deposits stuck if the router was the only ward.

Centrifuge

Medium
Business logic

Investors claiming their maxDeposit by using the LiquidityPool.deposit() will cause other users to be unable to claim their maxDeposit / maxMint

When an investor claims deposits made across several epochs at different prices, the average deposit price calculation rounds slightly in their favour, so the escrow pays out a few more tranche token shares than it should. A later investor then cannot claim their full maxDeposit or maxMint because the escrow no longer holds enough shares, and their transaction reverts.

Centrifuge

Medium
Access control

DelayedAdmin Cannot PauseAdmin.removePauser

The DelayedAdmin contract lacks a function to call PauseAdmin.removePauser, despite documentation stating it should be able to do so in an emergency. An attacker who controls a pause admin could trigger a malicious pause, and the delayed admin cannot remove that pauser, potentially delaying recovery.

Centrifuge

Medium
Business logic

LiquidityPool::requestRedeemWithPermit transaction can be front run with the different liquidity pool

A permit signature for redeeming tranche tokens was bound only to the tranche token, not to a specific liquidity pool, so anyone could reuse it against a different pool with the same token. An attacker watching the mempool could front-run the user's redemption with a higher fee, consuming the signature and forcing the user to claim a different currency.

Centrifuge

Medium
Access control

You can deposit really small amount for other users to DoS them

The deposit and mint functions in the LiquidityPool contract lack access control, allowing anyone to call them for another user. An attacker can deposit a tiny amount (1 wei) for a victim, causing the victim's subsequent deposit to revert due to insufficient balance, effectively denying their deposit.

Centrifuge

Medium