Skip to content

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
Find Papr contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

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

ReportClassSeverityBountyCVSSVotesDisclosed
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 – – – 31 Jan 2023
Incorrect usage of safeTransferFrom traps fees in Papr Controller Business logic Medium – – – 31 Jan 2023
Stealing fund by applying reentrancy attack on removeCollateral , startLiquidationAuction , and purchaseLiquidationAuctionNFT Race condition High – – – 31 Jan 2023
PaprController pays swap fee in buyAndReduceDebt , not user Business logic Medium – – – 31 Jan 2023
Grieving attack by failing user’s transactions DoS Medium – – – 31 Jan 2023
Borrowers may earn auction proceeds without filling the debt shortfall Business logic High – – – 31 Jan 2023
Disabled NFT collateral should not be used to mint debt Business logic Medium – – – 31 Jan 2023
PaprController.buyAndReduceDebt: msg.sender can lose paper by paying the debt twice Business logic Medium – – – 31 Jan 2023
Missing deadline checks allow pending transactions to be maliciously executed Business logic Medium – – – 31 Jan 2023
Last collateral check is not safe Business logic Medium – – – 31 Jan 2023
Users may be liquidated right after taking maximal debt Business logic High – – – 31 Jan 2023
Collateral NFT deposited to a wrong address, when transferred directly to PaprController Access control High – – – 31 Jan 2023
Borrowers lose funds if they call repayAndCloseLoan instead of closeLoan Business logic Medium – – – 21 Apr 2022
mintBorrowTicketTo can be a contract with no onERC721Received method, which may cause the BorrowTicket NFT to be frozen and put users’ funds at risk Business logic Medium – – – 21 Apr 2022
requiredImprovementRate can not work as expected when previousInterestRate less than 10 due to precision loss Business logic Medium – – – 21 Apr 2022
Borrower can be their own lender and steal funds from buyout due to reentrancy Race condition High – – – 21 Apr 2022
currentLoanOwner can manipulate loanInfo when any lenders try to buyout Race condition High – – – 21 Apr 2022
Might not get desired min loan amount if _originationFeeRate changes Business logic Medium – – – 21 Apr 2022
sendCollateralTo is unchecked in closeLoan() , which can cause user’s collateral NFT to be frozen Business logic Medium – – – 21 Apr 2022
Protocol doesn’t handle fee on transfer tokens Business logic Medium – – – 21 Apr 2022
When an attacker lends to a loan, the attacker can trigger DoS that any lenders can not buyout it DoS Medium – – – 21 Apr 2022
Can force borrower to pay huge interest Business logic High – – – 21 Apr 2022