Skip to content

Code4rena

Astaria contest

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

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

Disclosed reports

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

ReportClassSeverityBountyCVSSVotesDisclosed
yIntercept of public vaults can overflow Smart contracts Medium – – – 22 May 2023
ERC4626Cloned deposit and mint logic differ on first deposit Business logic High – – – 22 May 2023
At the second time the nft is used as collateral to take a loan, the debt repayment via auction fund can be failed when liquidation Smart contracts High – – – 22 May 2023
Malicious refinancing attack could lead to suboptimal NFT liquidation Business logic High – – – 22 May 2023
Borrower can use liquidationInitialAsk to block future borrowers Business logic High – – – 22 May 2023
PublicVault.processEpoch calculates withdrawReserve incorrectly; Users can lose funds Business logic High – – – 22 May 2023
When Public Vault A buys out Public Vault B’s lien tokens, it does not increase Public Vault A’s liensOpenForEpoch, which would result in the lien tokens not being repaid Business logic High – – – 22 May 2023
Deadlock in vaults with underlying token with less then 18 decimals DoS High – – – 22 May 2023
settleAuction() Check for status errors Business logic Medium – – – 22 May 2023
For a public vault, minimum deposit requirement that is enforced by ERC4626Cloned.deposit function can be bypassed by ERC4626Cloned.mint function or vice versa when share price does not equal one Business logic Medium – – – 22 May 2023
Overflow potential in processEpoch() Business logic Medium – – – 22 May 2023
Tokens with fee on transfer are not supported in PublicVault.sol Business logic Medium – – – 22 May 2023
Liquidator reward is not taken into account when calculating potential debt Business logic Medium – – – 22 May 2023
Users are forced to approve Router for full collection to use commitToLiens() function Access control Medium – – – 22 May 2023
When a private vault offers a loan in ERC777 tokens, the private vault can refuse to receive repayment in the safeTransferFrom callback to force liquidation of the borrower’s collateral Business logic Medium – – – 22 May 2023
Vault can be created for not-yet-existing ERC20 tokens, which allows attackers to set traps to steal NFTs from Borrowers Business logic Medium – – – 22 May 2023
Approved operator of collateral owner can’t liquidate lien Access control Medium – – – 22 May 2023
Lack of support for ERC20 token that is not 18 decimals Business logic Medium – – – 22 May 2023
Pause checks are missing on deposit for Private Vault Business logic Medium – – – 22 May 2023
Adversary can game the liquidation flow by transfering a dust amount of the payment token to ClearingHouse contract to settle the auction if no one buy the auctioned NFT Access control Medium – – – 22 May 2023
Function processEpoch() in PublicVault would revert when most of the users withdraw their funds because of the underflow for new yIntercept calculation DoS High – – – 22 May 2023
Position not deleted after debt paid Business logic Medium – – – 22 May 2023
Public vault owner (strategist) can use buyoutLien to indefinitely prevent liquidity providers from withdrawing Business logic Medium – – – 22 May 2023
Users are unable to mint shares from a public vault using AstariaRouter contract when share price is bigger than one Business logic Medium – – – 22 May 2023
WithdrawProxy allows redeem() to be called before withdraw reserves are transferred in Business logic Medium – – – 22 May 2023
LienToken.transferFrom There is a possibility of malicious attack Business logic Medium – – – 22 May 2023
Malicious strategist could deny borrowers from repaying loan and force liquidation by setting a extremely high vault fee DoS High – – – 22 May 2023
Liquidation will fail if value set as liquidationInitialAsk > 2**88-1 , causing collateral to be permanently locked DoS High – – – 22 May 2023
Lack of StrategyDetailsParam.vault validation allows the borrower to steal all the funds from the vault Business logic High – – – 22 May 2023
Buying out corrupts the slope of a vault, reducing rewards of LPs Business logic High – – – 22 May 2023