Skip to content

Sherlock

Zivoe

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

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

Disclosed reports

Newest first. Only what Zivoe chose to make public.

Business logic

cannot forward extra rewards from both OCY_Convex to OCT_YDL

The OCY_Convex contracts incorrectly treat Convex's VirtualBalanceRewardPool as an ERC20 token, so they cannot claim or forward extra rewards to OCT_YDL. This results in a loss of additional rewards that accumulate over time.

Zivoe

High
Business logic

`ZivoeTranches#rewardZVEJuniorDeposit` function miscalculates the reward when the ratio traverses lower/upper bound

The reward calculation in ZivoeTranches uses the average of the start and final ratios, which can cause the reward to be miscalculated when the ratio crosses the lower or upper incentive bound. An attacker could exploit this by splitting deposits to receive more rewards than intended, leading to a loss of funds for the protocol or the depositor.

Zivoe

Medium
Business logic

EMA Data Point From Unlock Is Discarded

The exponential moving average (EMA) calculation in the yield distribution contract ignores the initial data points set during unlock, because the distribution counter starts at 0 and is incremented to 1 before the EMA formula is called, causing the formula to return only the latest value. This leads to incorrect EMA values and thus incorrect yield distribution.

Zivoe

Medium
Business logic

Time calculation issues with exponential decay

The OCE_ZVE locker calculates reward decay using a lastDistribution timestamp that is set at deployment and only updated on distributions. If a long idle period passes before the first distribution, the elapsed time is treated as decay time, so a large portion of rewards becomes immediately claimable instead of decaying gradually.

Zivoe

Medium
Business logic

ZivoeYDL::distributeYield yield distribution is flash-loan manipulatable

The yield distribution function calculates each recipient's share using the current total supply of staked and vesting tokens, which can be temporarily inflated by a large stake just before the function is called. An attacker could use a flash loan to stake a large amount, call the distribution function to increase the staked token's share of rewards, then unstake and sell back the tokens, thereby diverting rewards from vesting token holders.

Zivoe

Medium
Audit finding

OCC_Modular::applyCombine will round APR down

The APR calculation in OCC_Modular::applyCombine rounds down, allowing a user to reduce the APR on a combined loan by one basis point. This results in a small loss of interest for the protocol.

Zivoe

Medium
DoS

OCL_ZVE::pushToLockerMulti() will revert due to incorrect assert() statements when interacting with UniswapV2

The function pushToLockerMulti() in OCL_ZVE asserts that token allowances to the UniswapV2 router are zero after adding liquidity, but because a 90% minimum is set, the actual transferred amount can be less than the desired amount, leaving a non-zero allowance and causing the assertion to fail. This makes the function revert most of the time, breaking the locker's core functionality.

Zivoe

Medium
Business logic

Protocol unable to get extra Rewards in OCY_Convex_C

The claimRewards function in OCY_Convex_C incorrectly assumes the extra reward token is the reward contract itself, but for Convex pools with IDs 151+ the reward token is a wrapper contract. As a result, the balance check always returns zero and extra rewards are never forwarded, causing a loss of yield.

Zivoe

High
DoS

DAO unable to withdraw their funds due to Convex admin action

The Convex admin can add an unlimited number of extra reward tokens to a reward pool, which causes the claimRewards function to run out of gas. As a result, the Zivoe DAO cannot withdraw its funds from the Convex locker, leaving user assets stuck.

Zivoe

Medium
Business logic

ITO can be manipulated

The ITO airdrop calculation uses the current total supply of tranche tokens, which can be reduced by burning. An attacker with two accounts can claim a larger share of the airdrop by burning their tranche tokens before a second claim, potentially denying other users their entitled ZVE tokens.

Zivoe

High