Skip to content

Code4rena

Gravitybridge

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

disclosed reports
8
most reported class
DoS
bug classes found
3
Find Gravitybridge on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Gravitybridge chose to make public.

DoS

Freeze Bridge via Non-UTF8 Token Name/Symbol/Denom

A permissionless function allows anyone to deploy an ERC20 token with a non-UTF8 symbol, causing the orchestrator's event parser to fail and return an error. This prevents the bridge from updating its last checked block, effectively freezing all attestations and the bridge.

Gravitybridge

High
DoS

Win all relayer rewards

The report argues that a separate issue involving large or rapidly changing validator sets could knock out most relayers while leaving the oracle working, so valid attestations still exist but other relayers cannot take part in execution. With the attacker's node as the only relayer still running, it could collect all batch, logic and valset rewards.

Gravitybridge

Medium
Business logic

Cannot actually submit evidence

The message handler for submitting bad signature evidence was not registered, so validators could not report collusion. This removed a disincentive for validators to collude and take over the bridge.

Gravitybridge

High
DoS

Freeze The Bridge Via Large ERC20 Names/Symbols/Denoms

The Ethereum oracle in the Gravity bridge fetches logs with a fixed 10 MB response limit. An attacker can deploy an ERC20 with a very large name, symbol, or denom, causing the log response to exceed the limit and the oracle to fail permanently, freezing the bridge.

Gravitybridge

High
Smart contracts

The function updateValset does not have enough sanity checks

The updateValset function lets the current validator set install a new set without checking that the new set's combined voting power exceeds the power threshold, and without limiting how many validators the new set may contain. An attacker or careless operator could therefore push the bridge into a state where no proposal can ever reach the threshold, or where validating a proposal costs more gas than a block allows, effectively freezing the contract.

Gravitybridge

Medium
DoS

Crash Eth Oracle On Any LogicCallEvent

The event parser for LogicCallExecutedEvent is left unimplemented, so it panics whenever a LogicCall event is encountered. An attacker who could emit such an event would crash the oracle loop and freeze attestations.

Gravitybridge

Medium
Business logic

Incorrect accounting on transfer-on-fee/deflationary tokens in Gravity

The Gravity bridge contract credits the Cosmos side with the full requested amount when a transfer-on-fee token is deposited, even though fewer tokens actually arrive. An attacker could exploit this to withdraw more vouchers than deposited, potentially stealing tokens from other users.

Gravitybridge

Medium