Skip to content

Code4rena

Nibiru

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

disclosed reports
16
most reported class
Business logic
bug classes found
4
first disclosure
2025
Find Nibiru on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Nibiru chose to make public.

Business logic

Vesting account preemption attack preventing future contract deployment

An attacker can preemptively create a permanent locked vesting account at a deterministic future contract address, causing any subsequent contract deployment to that address to store bytecode without a codeHash, making the contract and any funds sent to it permanently inaccessible.

Nibiru

High
Business logic

Unlimited Nibi could be minted because evm and bank balance are not synced when staking

The EVM state database was not synchronised with bank balances for certain operations like staking, allowing an attacker to mint unlimited Nibi tokens by exploiting the discrepancy. An attacker could create a Wasm contract to delegate tokens and an EVM contract to trigger the delegation, causing the EVM to mint tokens equal to the delegated amount.

Nibiru

High
Business logic

Gas used mismatch in failed contract calls can lead to wrong gas deductions

In the Nibiru EVM module, failed contract calls did not add their gas usage to the block gas meter, unlike successful calls. This could cause the block gas meter to undercount gas when a failed call was the last in a block, potentially leading to incorrect gas accounting.

Nibiru

Medium
Business logic

ERC20 transfer fails with non-compliant tokens missing return values

The ERC20 transfer function in erc20.go assumes all tokens return a boolean, causing transfers of non-compliant tokens like USDT to fail. An attacker could not exploit this directly, but users cannot transfer such tokens through the system.

Nibiru

Medium
Business logic

Double fee application breaks supply invariant for fee-on-transfer ERC20s

The EVM module incorrectly handles fee-on-transfer tokens when converting bank coins back to ERC20s, burning only the amount after fees instead of the full input. This leaves unbacked bank coins in circulation, breaking the 1:1 supply invariant between ERC20 tokens and their bank coin representations.

Nibiru

Medium
Business logic

Inconsistent fee denomination handling in transaction validation and building

The Nibiru EVM module incorrectly handled fee denominations during transaction validation and building, using wei amounts directly as unibi without conversion. This could cause fees to be undervalued by a factor of 10^12, potentially allowing users to pay far fewer fees than intended.

Nibiru

Medium
DoS

RPC DOS via TraceTx

The TraceTx gRPC query simulates all predecessor transactions without a limit on their number, so an attacker can supply a huge list and force the node to perform excessive computation. This can lead to a denial of service by consuming node resources.

Nibiru

Medium
DoS

The bankBalance function failed to handle errors correctly

The bankBalance function in a precompile did not check the error returned when decoding call arguments, so it proceeded to call GetBalance with invalid data. This could cause an unexpected panic that is not caught by the out-of-gas handler, potentially crashing the program.

Nibiru

Medium
Smart contracts

IOracle.queryExchangeRate returns incorrect blockTimeMs

The IOracle.queryExchangeRate precompile returns the current block time instead of the time when the price was last updated. An attacker could exploit this to make stale prices appear fresh, bypassing staleness checks in downstream contracts.

Nibiru

Medium