Skip to content

Code4rena

Thorchain

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

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

Disclosed reports

Newest first. Only what Thorchain chose to make public.

Business logic

A malicious user can steal money out of the vault and other users

The THORChain Router contract mishandles rebasing tokens like AMPL because it approves routers based on the deposited amount, which can change after a rebase. An attacker can exploit this to steal funds from other users and the vault.

Thorchain

High
Business logic

Incorrect call argument in THORChain_Router::_transferOutAndCallV5 , leading to grief/steal of THORChain_Aggregator ’s funds or DoS

When transferring a fee-on-transfer token, the router sends the full amount to the aggregator but then calls swapOutV5 with that same full amount, even though the aggregator received less due to the fee. This causes the call to revert if the aggregator lacks extra tokens, or it drains the aggregator's existing tokens to cover the fee.

Thorchain

Medium