Skip to content

Code4rena

XDEFI contest

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

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

Disclosed reports

Newest first. Only what XDEFI contest chose to make public.

Smart contracts

The reentrancy vulnerability in _safeMint can allow an attacker to steal all rewards

A reentrancy vulnerability in the _safeMint function allows an attacker to re-enter updateDistribution before totalDepositedXDEFI is updated, inflating _pointsPerUnit and enabling theft of rewards. The attacker could also redeem deposited assets via unlock, though the unlock function's call to _updateXDEFIBalance prevents stealing user deposits.

XDEFI contest

High