Skip to content

Code4rena

xTRIBE contest

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

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

Disclosed reports

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

Access control

FlywheelCore ’s setFlywheelRewards can remove access to reward funds from current users

The setFlywheelRewards function does not verify that the new rewards contract points back to the same FlywheelCore, so if an admin sets a mismatched contract, all reward funds become permanently inaccessible to users. An attacker with admin access could intentionally cause this, or it could happen by mistake.

xTRIBE contest

Medium
Smart contracts

First xERC4626 deposit exploit can break share calculation

The xERC4626 vault's share price can be manipulated right after creation by depositing a tiny amount and then transferring tokens directly to the vault to inflate total assets. This forces later depositors to receive fewer shares, giving the early depositor a disproportionate share of the vault.

xTRIBE contest

Medium
Business logic

Incorrect accounting of free weight in _decrementWeightUntilFree

The function _decrementWeightUntilFree incorrectly calculates free weight by excluding deprecated gauges from the total freed weight, causing it to free more user gauge weight than necessary. An attacker could exploit this to free excessive weight, potentially disrupting gauge allocations.

xTRIBE contest

Medium
Access control

FlywheelCore.setBooster() can be used to steal unclaimed rewards

The setBooster function allows an authorised user to replace the booster contract with a malicious one that returns inflated balances for the attacker, enabling them to claim more rewards than earned and steal unclaimed rewards from other users.

xTRIBE contest

Medium