Hunt prep
Before you test Acre
What 13 disclosed reports say about Acre: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 10 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
RepayDebt in stbtc returns a worng value
The function should return the 'assets' variable instead of 'shares'.
Disclosed
-
Incorrect rounding in mintdebt function might allow minimal shares dilution
The rounding should be corrected so that minting any shares always increases debt by at least the corresponding asset value, preventing zero-debt share creation.
Disclosed
-
The tBTC in the MezoAllocator itself is not considered in the withdrawal function
The withdrawal function should cap the subtraction at zero, for example by setting depositBalance to zero when the amount exceeds it, rather than subtracting unconditionally.
Disclosed
-
Deposited assets in an old dispatcher may be lost when swapping to a new dispatcher
The updateDispatcher function should withdraw any remaining assets from the old dispatcher before switching to the new one.
Disclosed
-
MintDebt() and repayDebt() should return assets and not shares
The functions should return the computed assets value rather than the shares input.
Disclosed
-
MintDebt returns a wrong value
The function should return the correct assets value instead of shares.
Disclosed
-
Adversary can freeze users' fund in stBTC using donation attack on MezoAllocator
The balance of tBTC in the dispatcher should be removed from the totalAssets calculation.
Disclosed
-
Malicious party can make it impossible for debt to be completely repaid by donating a few tbtc to stBTC.sol
For full repayment, the debtor's current debt and the total debt should be set to zero when the repayment clears the last of the borrowed assets.
Disclosed
-
ReleaseDeposit will likely fail, putting funds in MezoAllocator at risk of being permanently stuck
The releaseDeposit function should skip the mezoPortal.withdraw call when the amount is zero and still transfer the contract's tBTC balance to stBTC.
Disclosed