Skip to content

Immunefi

Acre

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

disclosed reports
13
most reported class
Business logic
bug classes found
2
first disclosure
2024
Find Acre on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Acre chose to make public.

Business logic

RepayDebt in stbtc returns a worng value

The repayDebt function in the stBTC contract is documented to return the amount of assets paid off, but it actually returns the number of shares. This gives callers an incorrect value, which could mislead them about the debt repaid.

Acre

Low
Audit finding

Incorrect rounding in mintdebt function might allow minimal shares dilution

The mintDebt function in the stBTC contract rounds down when converting shares to assets, so minting 1 wei of shares can add zero debt. An attacker could repeatedly mint tiny amounts of shares without increasing assets, slightly diluting the value of existing shares.

Acre

Low
DoS

The tBTC in the MezoAllocator itself is not considered in the withdrawal function

The MezoAllocator's withdrawal function subtracts the requested amount from its recorded portal deposit balance without accounting for tBTC held directly in the allocator, so a withdrawal larger than the portal deposit but smaller than total allocator assets causes an arithmetic underflow and reverts. This can block users from withdrawing their funds until the next allocation by maintainers.

Acre

Low
Business logic

MintDebt() and repayDebt() should return assets and not shares

The mintDebt() and repayDebt() functions return the shares value the caller supplied rather than the corresponding assets value, contrary to the ERC4626 convention that minting functions return assets. This could cause integration issues with other smart contracts and confuse users when the shares-to-assets ratio is not 1:1.

Acre

Low
Business logic

MintDebt returns a wrong value

The mintDebt function returns the shares amount instead of the assets amount, contradicting its declared return type and documentation. This wrong return value breaks the ERC-4626 invariant that mint functions should return assets.

Acre

Low
Business logic

Adversary can freeze users' fund in stBTC using donation attack on MezoAllocator

The stBTC contract's totalAssets calculation includes tBTC donated directly to the dispatcher contract, which is not used in any fund flows. An attacker can donate tBTC to inflate the share price, then redeem their shares to drain the Mezo portal deposit, leaving other users unable to redeem and the emergency function reverting.

Acre

Low
Business logic

Malicious party can make it impossible for debt to be completely repaid by donating a few tbtc to stBTC.sol

A debtor who borrowed stBTC shares could not fully repay their debt after an attacker donated a tiny amount of tBTC to the contract, because the donation raised the share-to-asset conversion rate. The repayment function compared the newly inflated asset value against the original debt and reverted, leaving the debt permanently unrepayable in full.

Acre

Medium
DoS

Last withdrawer can be prevented from withdrawing their assets

The stBTC contract calculates share value using total assets that include tBTC sent directly to the MezoAllocator but not yet allocated to the portal. An attacker can donate a tiny amount of tBTC to the allocator, inflating total assets so that the last user's redemption reverts due to an arithmetic underflow.

Acre

Low
Business logic

Malicious users can block repay debt transactions with no cost

The repayDebt function calculates the assets to repay using a conversion rate that can be manipulated by transferring a tiny amount of tBTC directly to the contract. An attacker can front-run a repayment with a 2 wei transfer, causing the calculated assets to exceed the recorded debt and making the repayment revert.

Acre

Medium