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
Disclosed reports
Newest first. Only what Venus Prime chose to make public.
-
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 Audit finding +21 collaborators
-
The owner is a single point of failure and a centralization risk
Access control Medium Audit finding
-
DoS and gas griefing of calls to Prime.updateScores()
DoS Medium Audit finding +21 collaborators
-
Scores.sol: Incorrect computation of user’s score when alpha is 1
Business logic Medium Audit finding
-
Incorrect decimal usage in score calculation leads to reduced user reward earnings
High Audit finding +10 collaborators
-
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 Audit finding +17 collaborators
-
Borrow rate calculation can cause VToken.accrueInterest() to revert, DoSing all major functionality
DoS Medium Audit finding +3 collaborators
-
Potential Unjust Liquidation After Exiting Market
Business logic Medium Audit finding +2 collaborators
-
DOS attack prevents refunding previous bid in Shortfall.sol and malicious bidder always wins the auction
DoS Medium Audit finding +10 collaborators
-
Borrower can cause a DoS by frontrunning a liquidation and repaying as low as 1 wei of the current debt
DoS Medium Audit finding +2 collaborators
-
ShortFall contract might transfer an incorrect amount of tokens to the highest bidder.
Smart contracts Medium Audit finding +12 collaborators
-
Malicious actor can win an auction unfavorably to the protocol by block stuffing
Business logic Medium Audit finding
-
Sometimes calculateBorrowerReward and calculateSupplierReward return incorrect results
Business logic Medium Audit finding
-
placeBid() Possible participation in auctions that have been modified
Business logic Medium Audit finding
-
Incorrect blocksPerYear constant in WhitepaperInterestRateModel
Business logic High Audit finding +22 collaborators
-
It’s possible to borrow, redeem, transfer tokens and exit markets with outdated collateral prices and borrow interest
Medium Audit finding +13 collaborators
-
liquidateAccount will fail if the transaction is not included in the current block
Business logic Medium Audit finding +3 collaborators
-
RiskFund.swapPoolsAsset does not allow the user to supply deadline, which may cause swap revert
Business logic Medium Audit finding +3 collaborators
-
_ensureMaxLoops causes liquidateAccount to fail in certain conditions
DoS Medium Audit finding +1 collaborator
-
Bad Debt in PoolLens.sol#getPoolBadDebt() is not calculated correctly in USD
Business logic Medium Audit finding +3 collaborators
-
Exchange Rate can be manipulated
Smart contracts Medium Audit finding +16 collaborators
-
Fix utilization rate computation
Business logic Medium Audit finding +1 collaborator
-
Comptroller.healAccount doesn’t distribute rewards for a healed borrower
Business logic Medium Audit finding