Code4rena
Revert Lend
Every publicly disclosed report for Revert Lend and what kind of bugs they were.
- disclosed reports
- 33
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2024
Disclosed reports
Newest first. Only what Revert Lend chose to make public.
-
Risk of reentrancy onERC721Received function to manipulate collateral token configs shares
Race condition High Audit finding +1 collaborator
-
V3Utils.execute() does not have caller validation, leading to stolen NFT positions from users
Access control High Audit finding +5 collaborators
-
_getReferencePoolPriceX96() will show incorrect price for negative tick deltas in current implementation cause it doesn’t round up for them
Smart contracts High Audit finding +2 collaborators
-
Owner of a position can prevent liquidation due to the onERC721Received callback
DoS High Audit finding +22 collaborators
-
Protocol can be repeatedly gas griefed in AutoRange external call
DoS Medium Audit finding +2 collaborators
-
Due to interest rates update method, Interest-Free Loans are possible and the costs of DoS are reduced
Business logic Medium Audit finding +3 collaborators
-
Users can lend and borrow above allowed limitations
Business logic Medium Audit finding +10 collaborators
-
Large decimal of referenceToken causes overflow at oracle price calculation
Smart contracts Medium Audit finding +6 collaborators
-
Lack of safety buffer in _checkLoanIsHealthy could subject users who take out the max loan into a forced liquidation
Business logic Medium Audit finding +3 collaborators
-
Wrong global lending limit check in _deposit function
Business logic Medium Audit finding +6 collaborators
-
V3Vault is not ERC-4626 compliant
Business logic Medium Audit finding +13 collaborators
-
AutoExit could receive a reward calculated from the entire position’s fund even if onlyFee is true in AutoExit.execute()
Business logic Medium Audit finding +2 collaborators
-
Some ERC20 can revert on a zero value transfer
DoS Medium Audit finding
-
Tokens can’t be removed as a collateral without breaking liquidations and other core functions
DoS Medium Audit finding +1 collaborator
-
Missing L2 sequencer checks for Chainlink oracle
Medium Audit finding
-
Asymmetric calculation of price difference
Business logic Medium Audit finding +3 collaborators
-
Incorrect liquidation fee calculation during underwater liquidation, disincentivizing liquidators to participate
Business logic Medium Audit finding
-
AutoRange execution can be front-ran to avoid protocol fee, causing loss for protocol
Business logic Medium Audit finding
-
dailyDebtIncreaseLimitLeft is not updated in liquidate()
Business logic Medium Audit finding +2 collaborators
-
Dangerous use of deadline parameter
Business logic Medium Audit finding +7 collaborators
-
V3Oracle susceptible to price manipulation
Business logic Medium Audit finding +15 collaborators
-
Repayments and liquidations can be forced to revert by an attacker that repays minuscule amount of shares
DoS Medium Audit finding +23 collaborators
-
Users’ newly created positions can be prematurely closed and removed from the vault directly after they are created
Business logic Medium Audit finding +1 collaborator
-
User might execute PositionToken of token set by previous token owner
Access control Medium Audit finding
-
No minLoanSize means liquidators will have no incentive to liquidate small positions
Business logic Medium Audit finding +1 collaborator
-
An attacker can easily bypass the collateral value limit factor checks
Business logic Medium Audit finding +1 collaborator
-
V3Vault::transform does not validate the data input and allows a depositor to exploit any position approved on the transformer
Access control High Audit finding
-
V3Vault.sol permit signature does not check receiving token address is USDC
Business logic High Audit finding +4 collaborators
-
Users cannot stop loss in AutoRange and AutoExit
Business logic Medium Audit finding
-
setReserveFactor fails to update global interest before updating reserve factor
Business logic Medium Audit finding