Skip to content

Code4rena

Livepeer Onchain Treasury Upgrade

Every publicly disclosed report for Livepeer Onchain Treasury Upgrade and what kind of bugs they were.

disclosed reports
14
most reported class
Business logic
bug classes found
3
first disclosure
2022
Find Livepeer Onchain Treasury Upgrade on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Livepeer Onchain Treasury Upgrade chose to make public.

Business logic

By delegating to a non-transcoder, a delegator can reduce the tally of someone else’s vote choice without first granting them any voting power

A delegate could subtract their own voting weight from another delegate's vote tally even when the other delegate was not a transcoder, because the code did not check whether the delegate was a transcoder before adjusting the tally. This allowed a malicious delegator to effectively double their voting power or manipulate governance by reducing the tally of a vote choice they opposed.

Livepeer Onchain Treasury Upgrade

High
Business logic

Fully slashed transcoder can vote with 0 weight messing up the voting calculations

A fully slashed transcoder can still vote with zero weight, and when a delegator later tries to override that vote, the system subtracts the delegator's weight from other voters, potentially reverting the transaction and blocking the delegator from voting.

Livepeer Onchain Treasury Upgrade

Medium
Business logic

withdrawFees does not update checkpoint

The withdrawFees function in BondingManager updates a delegator's lastClaimRound and bondedAmount through autoClaimEarnings but never calls _checkpointBondingState, so BondingVotes retains stale checkpoint data. An attacker could exploit this inconsistency to obtain an incorrect voting power in BondingVotes.

Livepeer Onchain Treasury Upgrade

Medium
Business logic

The logic in _handleVoteOverride to determine if an account is the transcoder is not consistent with the logic in the BondManager.sol

The vote-counting logic in GovernorCountingOverridable.sol used a simple address comparison to decide if a voter is a transcoder, which does not match the BondingManager's definition of a registered transcoder. This inconsistency could cause a regular delegator to be treated as a transcoder, leading to incorrect deduction of voting power.

Livepeer Onchain Treasury Upgrade

Medium
Access control

Admin can rug L2 Escrow tokens leading to reputation risk

The L1Escrow contract's approve function lets the admin approve any spender for any amount, so a malicious or compromised admin could steal all escrowed tokens. Even a well-intentioned admin could be tricked into calling it, damaging the protocol's reputation.

Livepeer Onchain Treasury Upgrade

Medium
Access control

[WP-M1] BURNER_ROLE can burn any amount of L2LivepeerToken from an arbitrary address

The L2LivepeerToken contract allowed any address with the BURNER_ROLE to burn tokens from any other address. A malicious or compromised holder of that role could burn the balance of a Uniswap pool and effectively steal almost all the funds from the liquidity pool.

Livepeer Onchain Treasury Upgrade

Medium
Business logic

Fund loss when insufficient call value to cover fee

The outboundTransfer function in L1LPTGateway does not verify that the call value covers the submission cost and gas fees, so if the value is too low the retryable ticket creation fails and funds are lost, or the ticket requires manual execution.

Livepeer Onchain Treasury Upgrade

Medium