Skip to content

Code4rena

Flex Perpetuals

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

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

Disclosed reports

Newest first. Only what Flex Perpetuals chose to make public.

Business logic

Most of the FTC rewards can be taken by single entity

The FTCHook contract awards FTC tokens when a position is opened but does nothing when it is closed, so a trader can open and immediately close a position to earn the reward without holding it. An attacker could repeat this to capture most of the epoch's rewards, which are meant to be shared among genuine traders.

Flex Perpetuals

Medium
Smart contracts

Missing slippage protection in AerodromeDexter.sol swapExactTokensForTokens()

The swap function in AerodromeDexter.sol hardcodes the minimum output amount to zero, so the swap always executes regardless of market conditions. An attacker could exploit this by manipulating the market to cause the user to receive far less than expected, potentially losing a significant portion of their funds.

Flex Perpetuals

Medium