Skip to content

Code4rena

Venus Prime

Every publicly disclosed report for Venus Prime and what kind of bugs they were.

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

Disclosed reports

Newest first. Only what Venus Prime chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Prime.sol - User can claim Prime token without having any staked XVS, because his stakedAt isn’t reset whenever he is issued an irrevocable token Business logic High – – – 29 Nov 2023
The owner is a single point of failure and a centralization risk Access control Medium – – – 29 Nov 2023
DoS and gas griefing of calls to Prime.updateScores() DoS Medium – – – 29 Nov 2023
Scores.sol: Incorrect computation of user’s score when alpha is 1 Business logic Medium – – – 29 Nov 2023
Incorrect decimal usage in score calculation leads to reduced user reward earnings – High – – – 29 Nov 2023
A malicious user can avoid unfavorable score updates after alpha/multiplier changes, resulting in accrual of outsized rewards for the attacker at the expense of other users Business logic High – – – 29 Nov 2023
Borrow rate calculation can cause VToken.accrueInterest() to revert, DoSing all major functionality DoS Medium – – – 9 Aug 2023
Potential Unjust Liquidation After Exiting Market Business logic Medium – – – 9 Aug 2023
DOS attack prevents refunding previous bid in Shortfall.sol and malicious bidder always wins the auction DoS Medium – – – 9 Aug 2023
Borrower can cause a DoS by frontrunning a liquidation and repaying as low as 1 wei of the current debt DoS Medium – – – 9 Aug 2023
ShortFall contract might transfer an incorrect amount of tokens to the highest bidder. Smart contracts Medium – – – 9 Aug 2023
Malicious actor can win an auction unfavorably to the protocol by block stuffing Business logic Medium – – – 9 Aug 2023
Sometimes calculateBorrowerReward and calculateSupplierReward return incorrect results Business logic Medium – – – 9 Aug 2023
placeBid() Possible participation in auctions that have been modified Business logic Medium – – – 9 Aug 2023
Incorrect blocksPerYear constant in WhitepaperInterestRateModel Business logic High – – – 9 Aug 2023
It’s possible to borrow, redeem, transfer tokens and exit markets with outdated collateral prices and borrow interest – Medium – – – 9 Aug 2023
liquidateAccount will fail if the transaction is not included in the current block Business logic Medium – – – 9 Aug 2023
RiskFund.swapPoolsAsset does not allow the user to supply deadline, which may cause swap revert Business logic Medium – – – 9 Aug 2023
_ensureMaxLoops causes liquidateAccount to fail in certain conditions DoS Medium – – – 9 Aug 2023
Bad Debt in PoolLens.sol#getPoolBadDebt() is not calculated correctly in USD Business logic Medium – – – 9 Aug 2023
Exchange Rate can be manipulated Smart contracts Medium – – – 9 Aug 2023
Fix utilization rate computation Business logic Medium – – – 9 Aug 2023
Comptroller.healAccount doesn’t distribute rewards for a healed borrower Business logic Medium – – – 9 Aug 2023