Skip to content

Code4rena

Beta Finance Invitational

Every publicly disclosed report for Beta Finance Invitational and what kind of bugs they were.

disclosed reports
5
most reported class
Business logic
bug classes found
2
first disclosure
2023
Find Beta Finance Invitational on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Beta Finance Invitational chose to make public.

Business logic

Users pay higher fee than intended

The protocol mints too many deposit shares to the reserve when accruing interest, because the reserve share is calculated by dividing by the pre-interest deposit amount instead of the post-interest amount. This causes the reserve fee to be slightly higher than intended, and lenders pay the extra fee.

Beta Finance Invitational

Medium
DoS

Borrower can abuse enterMarkets to force liquidator can pay more funds

A borrower can call enterMarkets to add many markets, each with multiple tranches, before liquidation. This forces the liquidator to pay gas for accruing interest across all these markets, potentially making liquidation unprofitable or impossible.

Beta Finance Invitational

Medium
Business logic

paucheTranche state can be set to arbitrary value

The pauseTranche state can be overwritten with a lower borrower tier, so a later liquidation of a lower-tier borrower resets the paused tranche and defeats the withdrawal block for users in higher tranches. An attacker could potentially set pauseTranche to an arbitrary value by self-liquidating, but the judge noted this requires bad debt and is difficult to exploit.

Beta Finance Invitational

Medium
Audit finding

accrue interest function is likely failed to accrue interest for token with low decimal

The interest accrual calculation divides by 365 days and a hardcoded scale factor before multiplying, causing the result to round down to zero for tokens with low decimals and short accrual intervals. An attacker could repeatedly call accrue to avoid paying interest, or interest would simply not accrue for small borrow amounts.

Beta Finance Invitational

Medium