Code4rena
Papr contest
Every publicly disclosed report for Papr contest and what kind of bugs they were.
- disclosed reports
- 22
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Papr contest chose to make public.
-
User fund loss because function purchaseLiquidationAuctionNFT() takes extra liquidation penalty when user’s last collateral is liquidated, (set wrong value for maxDebtCached when isLastCollateral is true)
Business logic Medium Audit finding +1 collaborator
-
Incorrect usage of safeTransferFrom traps fees in Papr Controller
Business logic Medium Audit finding
-
Stealing fund by applying reentrancy attack on removeCollateral , startLiquidationAuction , and purchaseLiquidationAuctionNFT
Race condition High Audit finding +4 collaborators
-
PaprController pays swap fee in buyAndReduceDebt , not user
Business logic Medium Audit finding +14 collaborators
-
Grieving attack by failing user’s transactions
DoS Medium Audit finding +1 collaborator
-
Borrowers may earn auction proceeds without filling the debt shortfall
Business logic High Audit finding +3 collaborators
-
Disabled NFT collateral should not be used to mint debt
Business logic Medium Audit finding +4 collaborators
-
PaprController.buyAndReduceDebt: msg.sender can lose paper by paying the debt twice
Business logic Medium Audit finding +3 collaborators
-
Missing deadline checks allow pending transactions to be maliciously executed
Business logic Medium Audit finding
-
Last collateral check is not safe
Business logic Medium Audit finding
-
Users may be liquidated right after taking maximal debt
Business logic High Audit finding
-
Collateral NFT deposited to a wrong address, when transferred directly to PaprController
Access control High Audit finding +3 collaborators
-
Borrowers lose funds if they call repayAndCloseLoan instead of closeLoan
Business logic Medium Audit finding
-
requiredImprovementRate can not work as expected when previousInterestRate less than 10 due to precision loss
Business logic Medium Audit finding
-
Borrower can be their own lender and steal funds from buyout due to reentrancy
Race condition High Audit finding
-
currentLoanOwner can manipulate loanInfo when any lenders try to buyout
Race condition High Audit finding
-
Might not get desired min loan amount if _originationFeeRate changes
Business logic Medium Audit finding
-
sendCollateralTo is unchecked in closeLoan() , which can cause user’s collateral NFT to be frozen
Business logic Medium Audit finding
-
Protocol doesn’t handle fee on transfer tokens
Business logic Medium Audit finding
-
When an attacker lends to a loan, the attacker can trigger DoS that any lenders can not buyout it
DoS Medium Audit finding
-
Can force borrower to pay huge interest
Business logic High Audit finding