Skip to content

Code4rena

Taiko

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

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

Disclosed reports

Newest first. Only what Taiko chose to make public.

DoS

A recalled ERC20 bridge transfer can lock tokens in the bridge

A recalled bridge transfer of USDC can fail to mint tokens on the source chain if the USDC minter allowance is exhausted, leaving the bridged tokens and ETH locked. An attacker could cause this by bridging USDC when the allowance is near its limit, though the lock may be temporary if the allowance is later increased.

Taiko

Medium
Business logic

First block proposer check in the LibProposing._isProposerPermitted function is errorneous

The first block proposer check in LibProposing._isProposerPermitted is flawed: when the caller is proposer_one, the function can still return false if a separate proposer address is set and differs from the caller. This prevents the first block after genesis from being proposed, blocking subsequent block proposals.

Taiko

Medium
Smart contracts

Taiko SGX Attestation - Improper validation in certchain decoding

The certificate chain decoding logic in the SGX attestation process incorrectly validates the notBefore tag, allowing any value to be accepted. A malicious attestor could supply a certificate with an invalid notBefore tag, potentially bypassing intended time format checks.

Taiko

Medium
Business logic

Malicious caller of processMessage() can pocket the fee while forcing excessivelySafeCall() to fail

The bridge contract rewarded the caller of processMessage() with the message fee even when the internal call to the recipient failed, leaving the message in a retriable state. An attacker could deliberately supply just enough gas so that the 63/64 rule causes the recipient call to run out of gas, collect the fee, and force the message to be retried later.

Taiko

Medium
Business logic

retryMessage unable to handle edge cases.

The retryMessage function does not check whether the receiver is banned or whether the message has been suspended after it entered a RETRIABLE state. An attacker could potentially cause a message to be retried even when the receiver is banned or the message is suspended, though the sponsor disputes that this is a vulnerability.

Taiko

Medium
Smart contracts

The top tier prover can not re-prove

The top-tier prover cannot re-prove a different transition because an assert incorrectly checks that contestBond is zero, while the default value is one. This causes the transaction to revert, preventing the intended re-proving.

Taiko

Medium
Business logic

There is no slippage check for the eth deposits processing in the LibDepositing.processDeposits

The deposit processing function charges a fee based on the current L1 block basefee without any slippage check, so if the basefee rises significantly before the deposit is processed, the recipient can lose a large portion of the deposited amount. An attacker cannot directly trigger this, but users are exposed to unpredictable fee deductions.

Taiko

Medium
Business logic

Gas issuance is inflated and will halt the chain or lead to incorrect base fee

The base fee calculation in the anchor() function incorrectly issues gas based on the number of L1 blocks since the last sync, which is only updated every 5 blocks, leading to over-issuance. This can cause the chain to halt if the calculated base fee does not match block.basefee, or result in a severely deflated base fee if the flawed calculation is used.

Taiko

High
Smart contracts

The decision to return the liveness bond depends solely on the last guardian

The guardian multisig approved a message hash that covered only the block metadata and transition, not the proof data. The last guardian to approve could therefore supply arbitrary proof data, including the special value that releases the liveness bond, deciding alone whether the assigned prover gets the bond back.

Taiko

Medium
Business logic

LibProposing:proposeBlock allows blocks with a zero parentMetaHash to be proposed after the genesis block and avoid parent block verification

The proposeBlock function only checks the parentMetaHash when the supplied value is non-zero, so a proposer can submit a block with a zero parentMetaHash after genesis. This lets a malicious proposer create blocks that bypass parent verification, causing honest provers to fail with a mismatch error and potentially forfeit their validity bond.

Taiko

Medium
Access control

Bridge watcher can forge arbitrary message and drain bridge

The bridge watchdog role could call the suspend function to un-suspend a message that was never proven, which set its receipt timestamp to the current block time. Because any non-zero timestamp is treated as proven, the watchdog could forge arbitrary messages and drain the bridge of ETH and tokens.

Taiko

Medium
Business logic

Invocation delays are not honoured when protocol unpauses

The protocol's invocation delays for message processing do not account for time spent paused, so after an unpause a non-preferred executor can immediately process a message and claim the fee, bypassing the extra delay meant to give the preferred executor an advantage.

Taiko

Medium