Skip to content

Code4rena

Slingshot Finance contest

Every publicly disclosed report for Slingshot Finance contest and what kind of bugs they were.

disclosed reports
2
most reported class
Business logic
bug classes found
1
first disclosure
2021
Find Slingshot Finance contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Slingshot Finance contest chose to make public.

Business logic

initialBalance for native token is wrong

When a user swaps into the native token, the contract measures the starting balance of the wrong asset, so the computed output amount is incorrect whenever the executioner contract already holds ether. An attacker could send ether to the contract to skew that calculation, causing users to receive less than they swapped for or making their transactions fail.

Slingshot Finance contest

Medium
Business logic

Trades where toToken is feeOnTransferToken might send user less tokens than finalAmountMin

The contract checks that the trade output meets the minimum amount before transferring tokens to the user, but if the token charges a fee on transfer, the user receives less than the minimum. An attacker could exploit this to receive fewer tokens than promised, though the sponsor considers it non-critical.

Slingshot Finance contest

Medium