Skip to content

Sherlock

Yield Basis

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

disclosed reports
7
most reported class
Business logic
bug classes found
3
first disclosure
2025
Find Yield Basis on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Yield Basis chose to make public.

Smart contracts

Stakers Could Not Withdraw Their Assets

The LT.sol contract allows the staked token supply to become as low as 1, which prevents multiple stakers from withdrawing their assets because they cannot withdraw partial amounts. Stakers may also experience precision loss when the staked supply is small.

Yield Basis

Medium
Business logic

Logical Flaw in set_gauge_controller Permanently Disables Critical Governance Function

The set_gauge_controller function in Factory.vy contains an incorrect assertion that checks the incoming parameter instead of the stored state variable, causing any attempt to set a valid non-zero address to revert. This prevents the admin from ever updating the GaugeController address, potentially locking the protocol's governance.

Yield Basis

Medium
Race condition

Staker Balance Rebase Vulnerability in LT Contract

The LT contract delays updating a staker's balance after positive value changes, so a staker can unstake before the rebase and receive more tokens than they should, leaving other stakers with losses.

Yield Basis

High
Business logic

Emergency withdrawal fails to update the guage when the contract is not killed

The emergency_withdraw function skips the gauge checkpoint that normal deposit and withdraw functions perform, allowing an attacker to manipulate reward distributions. An attacker could borrow funds, inflate apparent activity, and withdraw without updating the gauge, potentially stealing or unfairly claiming rewards.

Yield Basis

Medium
Business logic

LiquidityGauge is not compliant with EIP-4626 due to MIN_SHARES constraint

The LiquidityGauge contract's maxWithdraw and maxRedeem functions do not account for the MIN_SHARES constraint, so they can return amounts that cause a revert when used. This violates the EIP-4626 standard, which requires these functions to return the maximum amount that would not revert.

Yield Basis

Medium
Smart contracts

The incorrect initialize of `specific_emissions_per_gauge` in `GaugeController::add_gauge()`

When a new gauge is added, its per-gauge emissions baseline is set from a stale global value that was last updated at an earlier checkpoint. A voter who votes for the new gauge in the same block as its addition causes the gauge to later credit emissions from before it existed, so the new gauge receives excess YB emissions.

Yield Basis

Medium