Hunt prep
Before you test Yield Basis
What 7 disclosed reports say about Yield Basis: 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 | 4 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 1 | 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.
-
Stakers Could Not Withdraw Their Assets
The code should be changed to leave a larger minimum remainder (MIN_SHARE_REMAINDER) instead of 1, as shown in the mitigation.
Disclosed
-
InflationaryVest.vy: Missing update of self.claimed allows infinite multiple claims by the recipient
The claim function should update self.claimed after a successful transfer, and the protocol team fixed this issue in a commit.
Disclosed
-
Logical Flaw in set_gauge_controller Permanently Disables Critical Governance Function
The assertion should check self.gauge_controller instead of gc, and the issue was fixed in a commit.
Disclosed
-
Staker Balance Rebase Vulnerability in LT Contract
The `balanceOf` function should be updated to reflect the rebased balance in real-time, and the protocol team fixed this issue.
Disclosed
-
Emergency withdrawal fails to update the guage when the contract is not killed
The protocol team fixed this issue by adding the checkpoint call to the emergency withdrawal path.
Disclosed
-
LiquidityGauge is not compliant with EIP-4626 due to MIN_SHARES constraint
Adjust maxWithdraw and maxRedeem to take the MIN_SHARES limit into account as required by EIP-4626.
Disclosed
-
The incorrect initialize of `specific_emissions_per_gauge` in `GaugeController::add_gauge()`
When adding a gauge, the baseline should be initialised from an up-to-date emissions value rather than the stale stored one.
Disclosed