id large_stringlengths 16 92 | source_platform large_stringclasses 3
values | contest large_stringclasses 418
values | issue_id large_stringlengths 0 25 | severity large_stringclasses 2
values | title large_stringlengths 3 307 | description large_stringlengths 0 495k | source_url large_stringlengths 0 86 | domain large_stringclasses 1
value | scraped_at large_stringdate 2026-05-08 04:37:49 2026-05-08 04:37:49 |
|---|---|---|---|---|---|---|---|---|---|
code4rena:2022-12-backed-findings:262 | code4rena | 2022-12-backed-findings | #262 | Medium | code doesn't check that To address is not 0x0 in contract function, if user call contract's function with wrong value he would lose his funds | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L138-L146
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L182-L205
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f8... | https://github.com/code-423n4/2022-12-backed-findings/issues/262 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:260 | code4rena | 2022-12-backed-findings | #260 | Medium | Start an auction without an NFT | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L279
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L444
# Vulnerability details
## Impact
Requires that the account being liquidated has... | https://github.com/code-423n4/2022-12-backed-findings/issues/260 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:258 | code4rena | 2022-12-backed-findings | #258 | Medium | Operator can buy papr with PaprController as the debtor. | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L279
# Vulnerability details
## Impact
This requires that an NFT is in auction.
When an operator calls `purchaseLiquidationAuctionNFT` the price variable is determined by a call to `_purchaseNF... | https://github.com/code-423n4/2022-12-backed-findings/issues/258 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:255 | code4rena | 2022-12-backed-findings | #255 | Medium | user fund loss because function purchaseLiquidationAuctionNFT() take extra liquidation penalty when user's last collateral is liquidated, (set wrong value for maxDebtCached when isLastCollateral is true) | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L264-L294
# Vulnerability details
## Impact
Function `purchaseLiquidationAuctionNFT()` purchases a liquidation auction with the controller's papr token. the liquidator pays the papr amount which ... | https://github.com/code-423n4/2022-12-backed-findings/issues/255 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:254 | code4rena | 2022-12-backed-findings | #254 | Medium | Protocol does not support fee-on-transfer token | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L234
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L225-L227
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd... | https://github.com/code-423n4/2022-12-backed-findings/issues/254 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:241 | code4rena | 2022-12-backed-findings | #241 | Medium | Using transfer on ERC721 tokens could lock tokens | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
In the function buyAndReduceDebt() of contract PaprController.sol, the transfer keyword is used instead of safeTransfer.
If the adress 'account' is not awa... | https://github.com/code-423n4/2022-12-backed-findings/issues/241 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:240 | code4rena | 2022-12-backed-findings | #240 | Medium | Unhandled return values of transfer in PaprController.sol | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202-L203
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
Some implementations of transfer could r... | https://github.com/code-423n4/2022-12-backed-findings/issues/240 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:233 | code4rena | 2022-12-backed-findings | #233 | Medium | Function increaseDebt/_increaseDebt() don't check that isAllowed is true for this collateral. attacker can create debt for unallowed collaterals if he add collaterals in the past | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L138-L145
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L456-L479
# Vulnerability details
## Impact
Function `_increaseDebt()` and `incr... | https://github.com/code-423n4/2022-12-backed-findings/issues/233 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:232 | code4rena | 2022-12-backed-findings | #232 | Medium | MISSING VALIDATION FOR TOKEN TRANSFER | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L101
# Vulnerability details
## Impact
Some tokens (like USDT) don’t correctly implement the EIP20 standard and their transfer/transferFrom function return void instead of a success
boolean on re... | https://github.com/code-423n4/2022-12-backed-findings/issues/232 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:231 | code4rena | 2022-12-backed-findings | #231 | Medium | underlying token in PaprController can be drained by attacker | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
In this buyAndReduceDebt function, user pay underlying token directly to univ3 pool (via uniswapV3SwapCallback) to swap for Papr token, and this function t... | https://github.com/code-423n4/2022-12-backed-findings/issues/231 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:230 | code4rena | 2022-12-backed-findings | #230 | Medium | buyAndReduceDebt() when swapFeeBips ! =0 does not work | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
buyAndReduceDebt() when swapFeeBips ! =0 does not work
The buyAndReduceDebt() method is used to buy PaprTokens via uniswap, and then use the purchased Pa... | https://github.com/code-423n4/2022-12-backed-findings/issues/230 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:226 | code4rena | 2022-12-backed-findings | #226 | Medium | USE OF `ECRECOVER` IS SUSCEPTIBLE TO SIGNATURE MALLEABILITY WHICH COULD LEAD TO REPLAY ATTACKS | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/ReservoirOracleUnderwriter.sol#L68-L86
# Vulnerability details
The `ecrecover` function is used to verify and execute Meta transactions. The built-in EVM precompile `ecrecover` is susceptible to signature malleabil... | https://github.com/code-423n4/2022-12-backed-findings/issues/226 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:223 | code4rena | 2022-12-backed-findings | #223 | Medium | NFT are no longer on the allowed list and can still increase debt | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L138-L145
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L493-L517
# Vulnerability details
## Impact
NFT are no longer on the allowed li... | https://github.com/code-423n4/2022-12-backed-findings/issues/223 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:222 | code4rena | 2022-12-backed-findings | #222 | Medium | ERC20 return values not checked | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L203
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/222 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:220 | code4rena | 2022-12-backed-findings | #220 | Medium | buyAndReduceDebt() incorrectly specifies the recipient of the uniswap | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L217
# Vulnerability details
## Impact
buyAndReduceDebt() may be don't work
The buyAndReduceDebt() method is used to buy PaprToken by uniswap and then use the PaprToken to repay the debt.
This ... | https://github.com/code-423n4/2022-12-backed-findings/issues/220 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:217 | code4rena | 2022-12-backed-findings | #217 | Medium | Liquidation calculation is wrong | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L277
# Vulnerability details
## Impact
Liquidation will not work correctly, especially excess handler
## Proof of Concept
There is a function `purchaseLiquidationAuctionNFT()` to allow liquida... | https://github.com/code-423n4/2022-12-backed-findings/issues/217 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:216 | code4rena | 2022-12-backed-findings | #216 | Medium | Last collateral check is not safe | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L273
# Vulnerability details
## Impact
Liquidation might work incorrectly
## Proof of Concept
There is a function `purchaseLiquidationAuctionNFT()` to allow liquidators to purchase NFTs on auc... | https://github.com/code-423n4/2022-12-backed-findings/issues/216 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:208 | code4rena | 2022-12-backed-findings | #208 | Medium | PaprController._reduceDebt: reverts if amount greater debt which can lead to DOS | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L481
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L486-L489
# Vulnerability details
## Impact
There are two ways to reduce debt.
The... | https://github.com/code-423n4/2022-12-backed-findings/issues/208 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:206 | code4rena | 2022-12-backed-findings | #206 | Medium | buyAndReduceDebt() tries to transfer swapFee in underlying token from contract address while it should be from user address | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L207-L232
# Vulnerability details
## Impact
Function `buyAndReduceDebt()` removes debt from a vault and burns it by buying it on Uniswap in exchange for the controller's underlying token, but in ... | https://github.com/code-423n4/2022-12-backed-findings/issues/206 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:202 | code4rena | 2022-12-backed-findings | #202 | Medium | `reduceDebt` can be frontrun with `startLiquidationAuction` | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L297
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L148
# Vulnerability details
## Impact
When account's debt reaches the max allowed de... | https://github.com/code-423n4/2022-12-backed-findings/issues/202 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:199 | code4rena | 2022-12-backed-findings | #199 | Medium | The design logic of `liquidationsLocked` can result in many bad debts not being cleared | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L302
# Vulnerability details
## Impact
If you want to liquidate bad debts, you must call the `startLiquidationAuction()` function, but this function has a `liquidationsLocked` switch, which can o... | https://github.com/code-423n4/2022-12-backed-findings/issues/199 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:196 | code4rena | 2022-12-backed-findings | #196 | Medium | `PaprController` pays swap fee in `buyAndReduceDebt`, not user | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
Since `PaprController` is not designed to hold any underlying tokens, calling `buyAndReduceDebt` with a swap fee set will result in a revert. The function c... | https://github.com/code-423n4/2022-12-backed-findings/issues/196 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:193 | code4rena | 2022-12-backed-findings | #193 | Medium | Target price falls after deployment and before first trade in the pool | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L142-L147
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L50
# Vulnerability details
## Impact
Th... | https://github.com/code-423n4/2022-12-backed-findings/issues/193 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:192 | code4rena | 2022-12-backed-findings | #192 | Medium | Auction pricing model can't track volatile NFTs because auction price depends on constant start price and not the real-time price of the NFT | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/NFTEDA.sol#L114-L123
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L332-L344
# Vulnerability details
## Impact
when user debt exceeds max debt of hi... | https://github.com/code-423n4/2022-12-backed-findings/issues/192 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:189 | code4rena | 2022-12-backed-findings | #189 | Medium | Can't pay fees when paying debt | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208
# Vulnerability details
## Impact
In [PaprController#buyAndReduceDebt](https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232), t... | https://github.com/code-423n4/2022-12-backed-findings/issues/189 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:187 | code4rena | 2022-12-backed-findings | #187 | Medium | PaprController.buyAndReduceDebt: msg.sender can lose paper by paying the debt twice | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/libraries/UniswapHelpers.sol#L31-L61
# Vulnerability details
## Impact
The `PaprController.buyAndRe... | https://github.com/code-423n4/2022-12-backed-findings/issues/187 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:179 | code4rena | 2022-12-backed-findings | #179 | Medium | BAD SOURCE OF RANDOMNESS | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L321
# Vulnerability details
Using block.number and block.timestamp as a source of randomness is commonly advised against, as the outcome can be manipulated by calling contracts. In this case a c... | https://github.com/code-423n4/2022-12-backed-findings/issues/179 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:175 | code4rena | 2022-12-backed-findings | #175 | Medium | `increaseDebt()` should check if the asset is in isAllowed | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L456-L479
# Vulnerability details
## Impact
There is no check on the asset in `increaseDebt()`, resulting in any asset being able to add debt.
```solidity
function increaseDebt(
addre... | https://github.com/code-423n4/2022-12-backed-findings/issues/175 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:174 | code4rena | 2022-12-backed-findings | #174 | Medium | Attacker can empty the underlying tokens from the PaprController. | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
The bug exists in the `buyAndReduceDebt` function.
```solidity
function buyAndReduceDebt(address account, ERC721 collateralAsset, IPaprController.SwapParams calldata... | https://github.com/code-423n4/2022-12-backed-findings/issues/174 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:173 | code4rena | 2022-12-backed-findings | #173 | Medium | A user malicious can use phishing for that other reduce your debt in PaprController.sol | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L148
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L481
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/173 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:168 | code4rena | 2022-12-backed-findings | #168 | Medium | `safeTransferfrom()` powered by `Solmate's SafeTransferLib` does not check the code size of the token address | # Lines of code
https://github.com/masaun/2022-12-backed_papr-9528f2711f/blob/main/src/PaprController.sol#L6
https://github.com/masaun/2022-12-backed_papr-9528f2711f/blob/main/src/PaprController.sol#L27
https://github.com/masaun/2022-12-backed_papr-9528f2711f/blob/main/src/PaprController.sol#L253
# Vulnerability det... | https://github.com/code-423n4/2022-12-backed-findings/issues/168 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:165 | code4rena | 2022-12-backed-findings | #165 | Medium | Can still borrow by `increaseDebt()` for not allowed collateral | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L456-L479
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L493-L517
# Vulnerability details
## Impact
If some collateral is used, but lat... | https://github.com/code-423n4/2022-12-backed-findings/issues/165 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:164 | code4rena | 2022-12-backed-findings | #164 | Medium | miscalculation of the fee transferred will be caused if ERC20 token that the number of decimals is not 18 (eg. USDC) is used as a `underlying` token | # Lines of code
https://github.com/masaun/2022-12-backed_papr-9528f2711f/blob/main/src/PaprController.sol#L203
https://github.com/masaun/2022-12-backed_papr-9528f2711f/blob/main/src/PaprController.sol#L226
# Vulnerability details
## Impact
This vulnerability lead to miscalculation of the fee transferred if ERC20 to... | https://github.com/code-423n4/2022-12-backed-findings/issues/164 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:163 | code4rena | 2022-12-backed-findings | #163 | Medium | `fundingPeriod` change will break the target mark ratio bounds | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L24-L27
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L122-L129
# Vulnerability details
## Impac... | https://github.com/code-423n4/2022-12-backed-findings/issues/163 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:162 | code4rena | 2022-12-backed-findings | #162 | Medium | Negative interest could be severe issue | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L34-L42
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/UniswapOracleFundingRateController.sol#L156-L173
# Vulnerability details
## Impa... | https://github.com/code-423n4/2022-12-backed-findings/issues/162 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:157 | code4rena | 2022-12-backed-findings | #157 | Medium | Solmate's safeTransfer function does not check the code size of the contract | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/NFTEDA.sol#L91
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/NFTEDA.sol#L93
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/P... | https://github.com/code-423n4/2022-12-backed-findings/issues/157 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:152 | code4rena | 2022-12-backed-findings | #152 | Medium | Underlying token not using safeTransfer | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202-L203
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd... | https://github.com/code-423n4/2022-12-backed-findings/issues/152 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:141 | code4rena | 2022-12-backed-findings | #141 | Medium | Restriction on `newDebt` is less than expected when we `_increaseDebt()` | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L473
# Vulnerability details
## Impact
We can increase debt by less than intended due to a wrong check in `_increaseDebt()`. It will revert before the expected amount is reached.
## Proof of Con... | https://github.com/code-423n4/2022-12-backed-findings/issues/141 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:140 | code4rena | 2022-12-backed-findings | #140 | Medium | Unhandled return values of transfer and transferFrom | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L101
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202-L203
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd... | https://github.com/code-423n4/2022-12-backed-findings/issues/140 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:139 | code4rena | 2022-12-backed-findings | #139 | Medium | Burn access control can be bypassed | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprToken.sol#L28-L31
# Vulnerability details
## Impact
Burn access control can be easly bypassed by the users
## Proof of Concept
[```transferFrom```](https://github.com/transmissions11/solmate/blob/main/src/tok... | https://github.com/code-423n4/2022-12-backed-findings/issues/139 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:137 | code4rena | 2022-12-backed-findings | #137 | Medium | Any ether sent to the contract is stuck permanently and can not be withdrawn | # Lines of code
https://github.com/Vectorized/solady/blob/e98d112afe01c2b7b9bfb39057ab9ad2593f3263/src/utils/Multicallable.sol#L17
# Vulnerability details
## Impact
Native ether isn't used in the protocol, therefore, no **payable** nor `receive()` functions are implemented. However, the contract can still accept na... | https://github.com/code-423n4/2022-12-backed-findings/issues/137 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:130 | code4rena | 2022-12-backed-findings | #130 | Medium | Protocol burns it's liquidation fees | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L264-L294
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L532-L552
# Vulnerability details
## Impact
When liquidation happens and excess ... | https://github.com/code-423n4/2022-12-backed-findings/issues/130 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:127 | code4rena | 2022-12-backed-findings | #127 | Medium | Missing checks of return value of `transfer()` | # Lines of code
https://github.com/with-backed/papr/blob/1933da2e38ff9d47c17e2749d6088bbbd40bfa68/src/PaprController.sol#L202-L203
# Vulnerability details
Some implementations of ERC20 tokens do not revert during failure - they only return `false`. Callers of `transfer()` must check the return code to see whether t... | https://github.com/code-423n4/2022-12-backed-findings/issues/127 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:126 | code4rena | 2022-12-backed-findings | #126 | Medium | Forcing `IERC20` when calling `transfer()` reverts when used with some ERC20 tokens | # Lines of code
https://github.com/with-backed/papr/blob/1933da2e38ff9d47c17e2749d6088bbbd40bfa68/src/PaprController.sol#L202-L203
# Vulnerability details
Some tokens do not implement the ERC20 standard properly but are still accepted by most code that accepts ERC20 tokens. For example Tether (USDT)'s `transfer()`... | https://github.com/code-423n4/2022-12-backed-findings/issues/126 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:123 | code4rena | 2022-12-backed-findings | #123 | Medium | ````buyAndReduceDebt()```` function will revert while ````params.swapFeeBips != 0```` | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
The ````buyAndReduceDebt()```` function wrongly charges swap fee from ````PaprController```` contract itsself rather than the ````msg.sender````. As normal... | https://github.com/code-423n4/2022-12-backed-findings/issues/123 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:122 | code4rena | 2022-12-backed-findings | #122 | Medium | UNHANDLED RETURN VALUES OF TRANSFER AND TRANSFERFROM | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L101
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/122 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:116 | code4rena | 2022-12-backed-findings | #116 | Medium | PaprController underlying asset can be drained via buyAndReduceDebt | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232
# Vulnerability details
## Impact
PaprController.buyAndReduceDebt() does not validate `params.swapFeeBips`, which can be set to any value by the user. This allows the user to arbitraril... | https://github.com/code-423n4/2022-12-backed-findings/issues/116 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:115 | code4rena | 2022-12-backed-findings | #115 | Medium | Use `safeTransfer()/safeTransferFrom()` instead of `transfer()/transferFrom()` for ERC20 transfers | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L101
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L202-L203
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd... | https://github.com/code-423n4/2022-12-backed-findings/issues/115 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:113 | code4rena | 2022-12-backed-findings | #113 | Medium | buyAndReduceDebt doens't take fees from correct party | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232
# Vulnerability details
## Impact
PaprController#buyAndReduceDebt will either revert or steal underlying from contract when the swap has a fee
## Proof of Concept
if (hasFee)... | https://github.com/code-423n4/2022-12-backed-findings/issues/113 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:112 | code4rena | 2022-12-backed-findings | #112 | Medium | PaprController#buyAndReduceDebt will double charge msg.sender if they attempt to pay off debt for other users | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232
# Vulnerability details
## Impact
PaprController#buyAndReduceDebt double charges msg.sender if msg.sender != account. This leads to either loss of funds or the inability to reduce debt... | https://github.com/code-423n4/2022-12-backed-findings/issues/112 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:110 | code4rena | 2022-12-backed-findings | #110 | Medium | Incorrect usage of safeTransferFrom traps fees in Papr Controller | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L382-L384
# Vulnerability details
## Impact
Because the Papr Controller never gives approval for ERC20 transfers, calls to `safeTransferFrom` on the Papr token will revert with insufficient appro... | https://github.com/code-423n4/2022-12-backed-findings/issues/110 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:107 | code4rena | 2022-12-backed-findings | #107 | Medium | [M-01] Return values of `transfer()`/`transferFrom()` not checked | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L101
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L514
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/107 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:106 | code4rena | 2022-12-backed-findings | #106 | Medium | Cross-chain replay attacks are possible with `computeAddress` | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/libraries/PoolAddress.sol#L31-L47
# Vulnerability details
The computeAddress() function can generate the same address on different networks if the network is forked (Ethereum network has been forked in the past and... | https://github.com/code-423n4/2022-12-backed-findings/issues/106 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:103 | code4rena | 2022-12-backed-findings | #103 | Medium | PaprController.buyAndReduceDebt sends fee from PaprController's funds instead of user's | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L226
# Vulnerability details
## Impact
`PaprController.buyAndReduceDebt` sends fee from PaprController's funds instead of user's. Because PaprController usually doesn't hold funds the function wi... | https://github.com/code-423n4/2022-12-backed-findings/issues/103 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:101 | code4rena | 2022-12-backed-findings | #101 | Medium | PaprController.increaseDebtAndSell function will revert if fee is 0 when token doesn't support 0 amount transfer | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L200-L204
# Vulnerability details
## Impact
If user swaps small amount of underlying tokens and feeAmount will result in 0 amount then some tokens will revert on transfer and as result it will be... | https://github.com/code-423n4/2022-12-backed-findings/issues/101 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:92 | code4rena | 2022-12-backed-findings | #92 | Medium | Grieving attack by failing user's transactions | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L486
# Vulnerability details
## Impact
An attacker can apply grieving attack by preventing users from interacting with some of the protocol functions. In other words whenever a user is going to ... | https://github.com/code-423n4/2022-12-backed-findings/issues/92 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:91 | code4rena | 2022-12-backed-findings | #91 | Medium | Disabled NFT collateral should not be used to mint debt | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L365
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L138
# Vulnerability details
## Impact
Disabled collateral can still be used to mint... | https://github.com/code-423n4/2022-12-backed-findings/issues/91 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:87 | code4rena | 2022-12-backed-findings | #87 | Medium | The transfer of papr from the contract by the administrator will cause purchaseLiquidationAuctionNFT() to not function properly | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L383
# Vulnerability details
## Impact
The sendPaprFromAuctionFees() function allows the administrator to transfer all the papr in the contract. There is no limit on the number.
```solidity
f... | https://github.com/code-423n4/2022-12-backed-findings/issues/87 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:75 | code4rena | 2022-12-backed-findings | #75 | Medium | Adversary can break controller deployment completely by deploying papr-underlying pool beforehand | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L67-L95
# Vulnerability details
## Impact
PaprController can't be deployed at all
## Proof of Concept
paprController#constructor
maxLTV = _maxLTV;
token0IsUnderlying = address(underly... | https://github.com/code-423n4/2022-12-backed-findings/issues/75 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:74 | code4rena | 2022-12-backed-findings | #74 | Medium | ETH attached in Multicallable will be lost and locked in the contract PaprController | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L22
https://github.com/Vectorized/solady/blob/e46081029ed03a008983826177bfaa310da5fbfe/src/utils/Multicallable.sol#L17
# Vulnerability details
## Impact
ETH attached in multicall will be lost an... | https://github.com/code-423n4/2022-12-backed-findings/issues/74 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:64 | code4rena | 2022-12-backed-findings | #64 | Medium | Missing deadline checks allow pending transactions to be maliciously executed | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L182
# Vulnerability details
# Missing deadline checks allow pending transactions to ... | https://github.com/code-423n4/2022-12-backed-findings/issues/64 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:61 | code4rena | 2022-12-backed-findings | #61 | Medium | Solmate safetransfer and safetransferfrom does not check the code size of the token address, which may lead to funding loss | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L253
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L383
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/61 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:60 | code4rena | 2022-12-backed-findings | #60 | Medium | [DOS] WHEN INTRODUCING A SWAP FEE DIFFERENT FROM 0 ON `buyAndReduceDebt` , THE FUNCTION WILL ALWAYS REVERT | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L225-L227
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/test/paprController/BuyAndReduceDebt.t.sol#L12-L43
# Vulnerability details
## Impact
When the User spec... | https://github.com/code-423n4/2022-12-backed-findings/issues/60 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:56 | code4rena | 2022-12-backed-findings | #56 | Medium | Implementation in PaprController.sol does not match the documentation: excess fee during liquidation is burned instead of giving to the protocol | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L540
# Vulnerability details
## Impact
Implementation in PaprController.sol does not match the documentation: excess fee during liquidation is burned instead of giving to the protocol
## Proof ... | https://github.com/code-423n4/2022-12-backed-findings/issues/56 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:55 | code4rena | 2022-12-backed-findings | #55 | Medium | SOLMATE SAFETRANSFERFROM DOES NOT CHECK THE CODESIZE OF THE TOKEN ADDRESS, WHICH MAY LEAD TO FUND LOSS | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L253
# Vulnerability details
## Impact
In uniswapV3SwapCallback function in PaprController
the safetransfer and safetransferfrom doesn’t check the existence of code at the token address. This i... | https://github.com/code-423n4/2022-12-backed-findings/issues/55 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:50 | code4rena | 2022-12-backed-findings | #50 | Medium | A malicous or comproised owner of paprController | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L350
# Vulnerability details
## Impact
Detailed description of the impact of this finding.
A malicious or compromised owner of paprCroller can set up a fake pool and thus steal tokens from the co... | https://github.com/code-423n4/2022-12-backed-findings/issues/50 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:49 | code4rena | 2022-12-backed-findings | #49 | Medium | Signature replay attack with OracleInfo | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L122
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L316
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/49 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:46 | code4rena | 2022-12-backed-findings | #46 | Medium | Set remain to 0 if totalOwed > debtCached | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L542
# Vulnerability details
## Impact
If we owe them more papr than they have in debt, the remaining should be set as 0 here.
## Proof of Concept
Provide direct links to all referenced code in... | https://github.com/code-423n4/2022-12-backed-findings/issues/46 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:37 | code4rena | 2022-12-backed-findings | #37 | Medium | Lack of a denominator for the calculation of maxLoanUnderlying | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L557
# Vulnerability details
## Impact
Detailed description of the impact of this finding.
Typically, to calculate the maximum credit for loan, we multiply the collateral value to a percentage LT... | https://github.com/code-423n4/2022-12-backed-findings/issues/37 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:36 | code4rena | 2022-12-backed-findings | #36 | Medium | Insufficient authorization checks in setAllowed function | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L68
# Vulnerability details
## Impact
The setAllowed function allows any caller to change the value of the isAllowed mapping for any address. This could allow an attacker to manipulate the behavi... | https://github.com/code-423n4/2022-12-backed-findings/issues/36 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:35 | code4rena | 2022-12-backed-findings | #35 | Medium | Uninitialized variables in _vaultInfo and collateralOwner mappings | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L35,#L45
# Vulnerability details
## Impact
The _vaultInfo and collateralOwner variables are both declared as mappings, but they are not initialized in the contract constructor. This means that an... | https://github.com/code-423n4/2022-12-backed-findings/issues/35 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:32 | code4rena | 2022-12-backed-findings | #32 | Medium | Potential frontrunning attack vulnerability | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/ReservoirOracleUnderwriter.sol#L66
# Vulnerability details
## Impact
The contract calls external contract functions in the ecrecover and getCollateralPrice functions, which may be susceptible to frontrunning attac... | https://github.com/code-423n4/2022-12-backed-findings/issues/32 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:31 | code4rena | 2022-12-backed-findings | #31 | Medium | Potential integer overflow vulnerability | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/ReservoirOracleUnderwriter.sol#L49
# Vulnerability details
## Impact
The TWAP_SECONDS constant is defined as 30 days, which is equivalent to 2,592,000 seconds. If this value is multiplied by a large number, it may ... | https://github.com/code-423n4/2022-12-backed-findings/issues/31 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:27 | code4rena | 2022-12-backed-findings | #27 | Medium | Protecting against integer overflow/underflow | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/extensions/NFTEDAStarterIncentive.sol#L45
# Vulnerability details
## Impact
There is no protection against integer overflow/underflow in the FixedPointMathLib.mulWadUp() function. An attacker could potential... | https://github.com/code-423n4/2022-12-backed-findings/issues/27 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:26 | code4rena | 2022-12-backed-findings | #26 | Medium | Protecting against publicly readable state mapping | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/extensions/NFTEDAStarterIncentive.sol#L8
# Vulnerability details
## Impact
The auctionState mapping is publicly readable, which means anyone can see the start time and starter of any auction. This could pote... | https://github.com/code-423n4/2022-12-backed-findings/issues/26 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:24 | code4rena | 2022-12-backed-findings | #24 | Medium | Unchecked Math Vulnerability | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprToken.sol#L17,#L21
# Vulnerability details
## Impact
The mint and burn functions both use the _mint and _burn functions, respectively, to update the balances of the to and account addresses. However, these func... | https://github.com/code-423n4/2022-12-backed-findings/issues/24 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:23 | code4rena | 2022-12-backed-findings | #23 | Medium | Reentrancy Vulnerability | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprToken.sol#L4
# Vulnerability details
## Impact
The ERC20 contract imported from "solmate/tokens/ERC20.sol" may contain functions that are susceptible to reentrancy attacks. This could allow an attacker to repe... | https://github.com/code-423n4/2022-12-backed-findings/issues/23 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:22 | code4rena | 2022-12-backed-findings | #22 | Medium | Function Access Control Vulnerability | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprToken.sol#L9
# Vulnerability details
## Impact
The onlyController modifier is used to restrict access to the mint and burn functions to only the contract's controller. However, if the controller's address is l... | https://github.com/code-423n4/2022-12-backed-findings/issues/22 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:21 | code4rena | 2022-12-backed-findings | #21 | Medium | The contract owner could mint an infinite number of tokens. | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprToken.sol#L24-#L26
# Vulnerability details
## Impact
It can potentially lead to inflation or devaluation of the token, as well as potential losses for token holders. Because there is no supply limit of the toke... | https://github.com/code-423n4/2022-12-backed-findings/issues/21 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:20 | code4rena | 2022-12-backed-findings | #20 | Medium | 'buyAndReduceDebt()' will always revert if called with a fee parameter set | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L208-L232
# Vulnerability details
## Impact
There is a bug in ```PaprController.buyAndReducedebt()``` in which a caller-set fee is incorrectly transfered via ```transfer()``` to the fee receiver.... | https://github.com/code-423n4/2022-12-backed-findings/issues/20 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:16 | code4rena | 2022-12-backed-findings | #16 | Medium | Missing ZERO CHECK VALIDATION | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L109-L135
# Vulnerability details
## Impact
Missing checks for zero-addresses may lead to send funds to zero address, if the variable addresses are set incorrectly.
variable: sendTo
## Proof of... | https://github.com/code-423n4/2022-12-backed-findings/issues/16 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:15 | code4rena | 2022-12-backed-findings | #15 | Medium | Solmate's `safeTransferFrom` does not check the codesize of the token address, which may lead to fund loss | # Lines of code
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/interfaces/INFTEDA.sol#L5
https://github.com/with-backed/papr/blob/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/NFTEDA/NFTEDA.sol#L93
# Vulnerability details
#### Description
In `_purchaseNFT`, `safeTransfer... | https://github.com/code-423n4/2022-12-backed-findings/issues/15 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-backed-findings:14 | code4rena | 2022-12-backed-findings | #14 | Medium | Admin privilege - A single point of failure can allow a hacked or malicious owner use critical functions in the project | # Lines of code
https://github.com/with-backed/papr/tree/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L350
https://github.com/with-backed/papr/tree/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/src/PaprController.sol#L355
https://github.com/with-backed/papr/tree/9528f2711ff0c1522076b9f93fba13f88d5bd5e6/s... | https://github.com/code-423n4/2022-12-backed-findings/issues/14 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:546 | code4rena | 2022-12-escher-findings | #546 | High | overflow in buy function | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/FixedPrice.sol#L57
# Vulnerability details
## Impact
the function doesn't check if the input is more the supply
## Proof of Concept
the function doesn't have any condition check of amount
## Tool... | https://github.com/code-423n4/2022-12-escher-findings/issues/546 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:541 | code4rena | 2022-12-escher-findings | #541 | High | `LPDA` refund logic is broken, meaning buyers always get lowest price sale | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L101
# Vulnerability details
## Impact
The protocol intends the LPDA to refunds buyers with the difference between the price they paid and the last sale price
```
Once the sale has ended,... | https://github.com/code-423n4/2022-12-escher-findings/issues/541 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:538 | code4rena | 2022-12-escher-findings | #538 | High | Possible malicious _uri in initialize() of Escher721.sol | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/Escher721.sol#L32-L46
# Vulnerability details
## Impact
Loss of user funds if user approves malicious transaction
## Description
Trace: createContract() of Escher721.Factory.sol calls initialize() of Escher721.sol
The initialize() function... | https://github.com/code-423n4/2022-12-escher-findings/issues/538 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:534 | code4rena | 2022-12-escher-findings | #534 | High | underflow in the `getPrice()` function can block the `buy` and `refund` in the `LPDA` sale | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L117-L125
# Vulnerability details
## Impact
In the `LPDA` sale the price decrease in values after each second, and when creating the sale the value of the lowest price possible is not checked, so the price could go below ze... | https://github.com/code-423n4/2022-12-escher-findings/issues/534 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:514 | code4rena | 2022-12-escher-findings | #514 | High | Buys and refunds can get stuck forever if the parameters are not set sensibly in the LPDA | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L117-L125
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L63
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L101
# Vulnerability details
## Impact
In the [LPDA]() con... | https://github.com/code-423n4/2022-12-escher-findings/issues/514 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:510 | code4rena | 2022-12-escher-findings | #510 | High | Loss of ETH for NFT buyers in LPDA contract | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L81-L88
# Vulnerability details
## Impact
The `buy` function of LPDA sale contract can be invoked with `0` as the input value and `0` ETH as the sent value(`msg.value = 0`). The `buy` function automatically ends the sale whe... | https://github.com/code-423n4/2022-12-escher-findings/issues/510 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:501 | code4rena | 2022-12-escher-findings | #501 | High | Dutch auction getPrice() formula can lead to price reaching 0 and eventually reverting and locking the function. | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L124
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L143
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L63
# Vulnerability details
## Impact
In the function getPrice... | https://github.com/code-423n4/2022-12-escher-findings/issues/501 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:497 | code4rena | 2022-12-escher-findings | #497 | High | The LPDA will fail, because the Arithmetic underflow | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDAFactory.sol#L29-L42
# Vulnerability details
## Impact
- The **LPDA** will fail to `buy()` (mint) new NFTs even if `block.timestamp >= temp.startTime` , `block.timestamp >= temp.endTime` and `newId <= temp.finalId`
- Both the `fee... | https://github.com/code-423n4/2022-12-escher-findings/issues/497 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:490 | code4rena | 2022-12-escher-findings | #490 | High | The `buy()` function on Last Price Dutch Auction Sale doesn't check if auction ended, may lead to user loss asset | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L58-L89
# Vulnerability details
## Impact
The `buy()` function on Last Price Dutch Auction Sale doesn't check if auction is ended, may lead to user loss asset if user call with `amount` 0 with msg.value > 0
## Proof of Conc... | https://github.com/code-423n4/2022-12-escher-findings/issues/490 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:486 | code4rena | 2022-12-escher-findings | #486 | High | LPDA price is not calculated correctly such that it won't end at the final price as expected | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L117-L125
# Vulnerability details
## Impact
LPDA price is not calculated correctly such that it won't end at the final price as expected
## Proof of Concept
```solidity
function getPr... | https://github.com/code-423n4/2022-12-escher-findings/issues/486 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:485 | code4rena | 2022-12-escher-findings | #485 | High | LPDA can be initialized with parameters that will revert getPrice() | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L117-L125
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDAFactory.sol#L29-L42
# Vulnerability details
## Impact
LPDA Sales can s... | https://github.com/code-423n4/2022-12-escher-findings/issues/485 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:472 | code4rena | 2022-12-escher-findings | #472 | High | Ether can be lost in LPDA contract if sale.dropPerSecond is set improperly | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L123-L124
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L143
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L63
https://github.com/code-423n4/2022-12-escher/blob/main/s... | https://github.com/code-423n4/2022-12-escher-findings/issues/472 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:470 | code4rena | 2022-12-escher-findings | #470 | High | Denial of Service on the LPDA.sol contract due to incorrect validation of parameters. | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/main/src/minters/LPDA.sol#L124
# Vulnerability details
## Impact
The impact is that the contract will be on Denial Of Service, not allowing anyone to get ether out, neither the creator or people via `refund()`.
## Proof of Concept
The functions `b... | https://github.com/code-423n4/2022-12-escher-findings/issues/470 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:463 | code4rena | 2022-12-escher-findings | #463 | High | Buy can be executed after sale end | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L58
# Vulnerability details
## Impact
In LPDA.sol `buy` function when all tokens are minted, the final price is set and the ether from the sale and fee is sent to the saleReceiver and fee... | https://github.com/code-423n4/2022-12-escher-findings/issues/463 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:462 | code4rena | 2022-12-escher-findings | #462 | High | LPDA sale `getPrice()` will be broken after time because of overflow calculation | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L117
# Vulnerability details
## Impact
LPDA sale is stand for “Last Price Dutch Auction”, which means price will drop every second from `startPrice`. After all NFTs are saled, it will reco... | https://github.com/code-423n4/2022-12-escher-findings/issues/462 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:457 | code4rena | 2022-12-escher-findings | #457 | High | Funds reserved for refunding users can be steal in LPDA sale | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/LPDA.sol#L81-L88
# Vulnerability details
## Impact
LPDA sale works like a Dutch Auction, where early buyers will get refund after the sale ended.
In addition, in `buy()` function, when last NFT ... | https://github.com/code-423n4/2022-12-escher-findings/issues/457 | defi | 2026-05-08T04:37:49Z |
code4rena:2022-12-escher-findings:455 | code4rena | 2022-12-escher-findings | #455 | High | Implementation can be self destruct by deployer, effectively break all running sale and lock all assets. | # Lines of code
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/FixedPrice.sol#L110
https://github.com/code-423n4/2022-12-escher/blob/5d8be6aa0e8634fdb2f328b99076b0d05fefab73/src/minters/OpenEdition.sol#L120-L123
# Vulnerability details
## Impact
Sale in Escher... | https://github.com/code-423n4/2022-12-escher-findings/issues/455 | defi | 2026-05-08T04:37:49Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.