Skip to content

Code4rena

yAxis contest

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

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

Disclosed reports

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

ReportClassSeverityBountyCVSSVotesDisclosed
CDP.sol update overwrites user’s credit on every positive increment Business logic High – – – 27 Jan 2022
Prevent Minting During Emergency Exit Business logic Medium – – – 27 Jan 2022
YaxisVaultAdapter.sol#withdraw() will most certainly fail Business logic High – – – 27 Jan 2022
earn results in decreasing share price Business logic High – – – 10 Nov 2021
An attacker can steal funds from multi-token vaults Business logic High – – – 10 Nov 2021
Vault: Swaps at parity with swap fee = withdrawal fee Business logic Medium – – – 10 Nov 2021
ERC20 return values not checked Smart contracts Medium – – – 10 Nov 2021
Controller.inCaseStrategyGetStuck does not update balance Business logic Medium – – – 10 Nov 2021
Vault: Withdrawals can be frontrun to cause users to burn tokens without receiving funds in return Race condition Medium – – – 10 Nov 2021
YAxisVotePower.balanceOf can be manipulated Business logic Medium – – – 10 Nov 2021
manager.allowedVaults check missing for add/remove strategy Access control Medium – – – 10 Nov 2021
Harvest can be frontrun Smart contracts Medium – – – 10 Nov 2021
wrong YAXIS estimates Business logic Medium – – – 10 Nov 2021
No safety check in addToken Business logic High – – – 10 Nov 2021
Adding asymmetric liquidity in _addLiquidity results in fewer LP tokens minted than what should be wanted Business logic Medium – – – 10 Nov 2021
token -> vault mapping can be overwritten Access control Medium – – – 10 Nov 2021
# Controller is vulnerable to sandwich attack Smart contracts Medium – – – 10 Nov 2021
Vault.withdraw mixes normalized and standard amounts Business logic High – – – 10 Nov 2021
Vault.withdraw sometimes burns too many shares Business logic Medium – – – 10 Nov 2021
Vault.balance() mixes normalized and standard amounts – High – – – 10 Nov 2021
Vault treats all tokens exactly the same that creates (huge) arbitrage opportunities. Business logic High – – – 10 Nov 2021
Controller does not raise an error when there’s insufficient liquidity Business logic High – – – 10 Nov 2021
Controller.setCap sets wrong vault balance Business logic High – – – 10 Nov 2021
removeToken would break the vault/protocol. Business logic High – – – 10 Nov 2021
Halting the protocol should be onlyGovernance and not onlyStrategist Access control Medium – – – 10 Nov 2021
set cap breaks vault’s Balance Business logic High – – – 10 Nov 2021
VaultHelper deposits don’t work with fee-on transfer tokens Business logic Medium – – – 10 Nov 2021