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-10-inverse-findings:350
code4rena
2022-10-inverse-findings
#350
Medium
Price feed from `latestAnswer()` could be stale
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 # Vulnerability details ## Impact There is no check for stale price and roun...
https://github.com/code-423n4/2022-10-inverse-findings/issues/350
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:349
code4rena
2022-10-inverse-findings
#349
Medium
Using deprecated Chainlink function `latestAnswer()`
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 # Vulnerability details ## Impact According to Chainlink's documentation, th...
https://github.com/code-423n4/2022-10-inverse-findings/issues/349
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:339
code4rena
2022-10-inverse-findings
#339
Medium
Use of deprecated ChainLink API
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol/#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol/#L116 # Vulnerability details The contracts use Chainlink’s deprecated API `latestAnswer()`. This function might suddenly stop working if Chainlink stopp...
https://github.com/code-423n4/2022-10-inverse-findings/issues/339
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:337
code4rena
2022-10-inverse-findings
#337
Medium
Deprecated Chainlink API ```latestAnswer``` is used
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L6 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L16 # Vulnerability details ## Impact The Chainlink API ```latestAnswer``` used ...
https://github.com/code-423n4/2022-10-inverse-findings/issues/337
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:299
code4rena
2022-10-inverse-findings
#299
Medium
[NAZ-M1] Use of deprecated Chainlink function `latestAnswer`
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ## Impact According to Chainlink's documentation, the latestAnswer function is deprecated. This function does not error if no...
https://github.com/code-423n4/2022-10-inverse-findings/issues/299
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:285
code4rena
2022-10-inverse-findings
#285
Medium
Potential critical error in Oracle's viewPrice / getPrice price normalization
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L87-L88 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L121-L122 # Vulnerability details ## Impact The Oracle's [viewPrice()](https:/...
https://github.com/code-423n4/2022-10-inverse-findings/issues/285
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:283
code4rena
2022-10-inverse-findings
#283
Medium
Chainlik pricer feed is using a deprecated API call
# Lines of code https://github.com/code-423n4/2022-10-inverse/tree/main/src/Oracle.sol#L83 https://github.com/code-423n4/2022-10-inverse/tree/main/src/Oracle.sol#L116 # Vulnerability details ## Description According to Chainlink’s documentation, the `latestAnswer` function is deprecated. This function might suddenl...
https://github.com/code-423n4/2022-10-inverse-findings/issues/283
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:260
code4rena
2022-10-inverse-findings
#260
Medium
Oracle feed price querying is using a highly discouraged function
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L6 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 # Vulnerability details ## Impact Chainlink `latestAnswer()` should never be...
https://github.com/code-423n4/2022-10-inverse-findings/issues/260
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:232
code4rena
2022-10-inverse-findings
#232
Medium
Obtain Undamped Price frmo Oracle if getPrice is not called for 2 days
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L112-L144 # Vulnerability details ## Impact If getPrice is never called for 2 days, the price will be directly from the feed ## Recommended Mitigation Steps Consider reverting getPrice if previous day low is missing. Create a se...
https://github.com/code-423n4/2022-10-inverse-findings/issues/232
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:231
code4rena
2022-10-inverse-findings
#231
Medium
Stale Token Price Feed Data
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ## Impact The token price is obtained using Chainlink feed. However, the timestamp associated with the price data is not veri...
https://github.com/code-423n4/2022-10-inverse-findings/issues/231
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:217
code4rena
2022-10-inverse-findings
#217
Medium
Lack of price freshness check in ChainlinkOracle.sol#getPrice() allows a stale price to be used
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 # Vulnerability details ## Impact In the current implementation of [Oracle.so...
https://github.com/code-423n4/2022-10-inverse-findings/issues/217
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:207
code4rena
2022-10-inverse-findings
#207
Medium
Overflow in oracle for tokens with large number of decimals
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/cc281e5800d5860c816138980f08b84225e430fe/src/Oracle.sol#L87 # Vulnerability details ## Impact Some tokens have more than 18 decimals (e.g., YAM-V2 with 24 decimals) and a Chainlink feed can have 18 decimals. The current oracle contract will not work...
https://github.com/code-423n4/2022-10-inverse-findings/issues/207
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:204
code4rena
2022-10-inverse-findings
#204
Medium
Negative chainlink feed prices not properly handled
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/cc281e5800d5860c816138980f08b84225e430fe/src/Oracle.sol#L6 https://github.com/code-423n4/2022-10-inverse/blob/cc281e5800d5860c816138980f08b84225e430fe/src/Oracle.sol#L83 # Vulnerability details ## Impact In `IChainlinkFeed`, `latestAnswer()` is decl...
https://github.com/code-423n4/2022-10-inverse-findings/issues/204
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:197
code4rena
2022-10-inverse-findings
#197
Medium
Chainlink latestAnswer is deprecated, use latestRoundData() instead
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 # Vulnerability details ## Impact According to Chainlink's documentation, th...
https://github.com/code-423n4/2022-10-inverse-findings/issues/197
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:196
code4rena
2022-10-inverse-findings
#196
Medium
Use of deprecated Chainlink API `latestAnswer`
# Lines of code https://github.com/code-423n4/2022-10-inverse/tree/main/src/Oracle.sol#L6 https://github.com/code-423n4/2022-10-inverse/tree/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/tree/main/src/Oracle.sol#L116 # Vulnerability details ## Impact According to [Chainlink's documentation](...
https://github.com/code-423n4/2022-10-inverse-findings/issues/196
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:193
code4rena
2022-10-inverse-findings
#193
Medium
Improper validation Of Chainlink's `latestAnswer` function
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ## Impact The `latestAnswer` function does not allow `viewPrice ` and `getPrice` to validate the output of the Chainlink orac...
https://github.com/code-423n4/2022-10-inverse-findings/issues/193
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:191
code4rena
2022-10-inverse-findings
#191
Medium
Use of deprecated chainlink API `latestAnswer()`
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ## Impact The contract `Oracle.sol` uses Chainlink’s deprecated API `latestAnswer()`. See [reference](https://docs.chain.lin...
https://github.com/code-423n4/2022-10-inverse-findings/issues/191
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:189
code4rena
2022-10-inverse-findings
#189
Medium
Lack of validation on Chainlink price feeds and use of deprecated API
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 # Vulnerability details ## Impact There are a two issues with the Oracle's [...
https://github.com/code-423n4/2022-10-inverse-findings/issues/189
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:181
code4rena
2022-10-inverse-findings
#181
Medium
USE OF DEPRECATED CHAINLINK FUNCTION LATESTANSWER
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 # Vulnerability details ## Impact Oracle.sol is calling latestAnswer to get the price. This method will return the last value, but you won’t be able to check if the data is fresh. On the other hand, calling the method latest...
https://github.com/code-423n4/2022-10-inverse-findings/issues/181
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:162
code4rena
2022-10-inverse-findings
#162
Medium
[M-01] Usage of deprecated `latestAnswer` to get current price
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ### Impact According to Chainlink's documentation, the `latestAnswer` function is deprecated. This function does not error i...
https://github.com/code-423n4/2022-10-inverse-findings/issues/162
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:151
code4rena
2022-10-inverse-findings
#151
Medium
The Chainlink API (latestAnswer) used in the contract is deprecated
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 # Vulnerability details ## Impact The Chainlink API (latestAnswer) used in the Oracle contract is deprecated: Please see API Reference for the latest Price Feed API. [Chainlink Docs](https...
https://github.com/code-423n4/2022-10-inverse-findings/issues/151
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:148
code4rena
2022-10-inverse-findings
#148
Medium
Oracles don't work if decimals of the asset token plus price feed is larger than 36
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L87 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L121 # Vulnerability details ## Impact The Oracle contract always tries to normalize prices to DOLA. More precisely, the oracle has to account for differ...
https://github.com/code-423n4/2022-10-inverse-findings/issues/148
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:135
code4rena
2022-10-inverse-findings
#135
Medium
Possible reverts in Market functions due to Price issues
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L53 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L87-L88 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L121-L122 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.s...
https://github.com/code-423n4/2022-10-inverse-findings/issues/135
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:131
code4rena
2022-10-inverse-findings
#131
Medium
Chainlink data price feed can be stale / oudated because the code does not check the updatedAt timestamp from chainlink feed, impacting borrowing, withdraw and liquidation severely
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Market.sol#L323 https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f1348...
https://github.com/code-423n4/2022-10-inverse-findings/issues/131
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:116
code4rena
2022-10-inverse-findings
#116
Medium
Use of deprecated latestAnswer
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 # Vulnerability details ## Impact The latestAnswer function has been [deprecated](https://docs.chain.link/docs/data-feeds/price-feeds/api-reference/#...
https://github.com/code-423n4/2022-10-inverse-findings/issues/116
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:92
code4rena
2022-10-inverse-findings
#92
Medium
Use of deprecated Chainlink API may result in `Market` functions breaking
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L116 # Vulnerability details `Market` uses the `Oracle.getPrice()` functions to compute the credit limits and withdrawal limits of users. This function gets the price of a specific token in `DO...
https://github.com/code-423n4/2022-10-inverse-findings/issues/92
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:90
code4rena
2022-10-inverse-findings
#90
Medium
`getPrice` revert for tokens with more than `18` decimals, breaking the `Market` using these tokens as collateral
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/3e81f0f5908ea99b36e6ab72f13488bbfe622183/src/Oracle.sol#L121 # Vulnerability details `Market` uses the `Oracle.getPrice()` functions to compute the credit limits and withdrawal limits of users. Given that `dola` has 18 decimals, this function revert...
https://github.com/code-423n4/2022-10-inverse-findings/issues/90
defi
2026-05-08T04:37:49Z
code4rena:2022-10-inverse-findings:68
code4rena
2022-10-inverse-findings
#68
Medium
Usage of deprecated ChainLink API in Oracle.sol
# Lines of code https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L82 https://github.com/code-423n4/2022-10-inverse/blob/main/src/Oracle.sol#L116 # Vulnerability details ## Impact The Chainlink API (latestAnswer) used in the Oracle.sol contract is deprecated: This API is deprecated. Please see...
https://github.com/code-423n4/2022-10-inverse-findings/issues/68
defi
2026-05-08T04:37:49Z
code4rena:2022-10-juicebox-findings:8
code4rena
2022-10-juicebox-findings
#8
Medium
Dependence on predictable environment variable
# Lines of code https://github.com/jbx-protocol/juice-nft-rewards/blob/f9893b1497098241dd3a664956d8016ff0d0efd0/contracts/JBTiered721DelegateStore.sol#L891 # Vulnerability details ## Impact A control flow decision is made based on The block.timestamp environment variable. The block.timestamp environment variable is...
https://github.com/code-423n4/2022-10-juicebox-findings/issues/8
defi
2026-05-08T04:37:49Z
code4rena:2022-10-traderjoe-findings:222
code4rena
2022-10-traderjoe-findings
#222
High
safeTransferfrom didn't revoke old approval
# Lines of code https://github.com/code-423n4/2022-10-traderjoe/blob/main/src/LBToken.sol#L131 # Vulnerability details ## Impact When you are dealing with transfering a token, you must revoke the old approval, to mitigate theft of funds in the future, in the case erc20 you can set the allowance and everytime someon...
https://github.com/code-423n4/2022-10-traderjoe-findings/issues/222
defi
2026-05-08T04:37:49Z
code4rena:2022-10-traderjoe-findings:144
code4rena
2022-10-traderjoe-findings
#144
Medium
An attack can be made by taking flashLoan on behalf of another user
# Lines of code https://github.com/code-423n4/2022-10-traderjoe/blob/main/src/LBPair.sol#L420-L456 # Vulnerability details ### Impact When taking a flash loan from the protocol, the arbitrary. ` _to ` Address address can be passed as the argument: That may allow anyone to execute a flash loan on behalf of other ...
https://github.com/code-423n4/2022-10-traderjoe-findings/issues/144
defi
2026-05-08T04:37:49Z
code4rena:2022-10-traderjoe-findings:3
code4rena
2022-10-traderjoe-findings
#3
Medium
Admin can set arbitrary Flash Loan Fees
# Lines of code https://github.com/code-423n4/2022-10-traderjoe/blob/79f25d48b907f9d0379dd803fc2abc9c5f57db93/src/LBFactory.sol#L474 # Vulnerability details ## Impact The factory owner has power to set Flash Loan fees to any arbitrary amount . This can be potentially dangerous for users , especially if they don't c...
https://github.com/code-423n4/2022-10-traderjoe-findings/issues/3
defi
2026-05-08T04:37:49Z
code4rena:2022-11-canto-findings:125
code4rena
2022-11-canto-findings
#125
Medium
Deposits and compounds will be frozen after a PirexGmx migration
# Lines of code https://github.com/code-423n4/2022-11-redactedcartel/blob/main/src/vaults/AutoPxGlp.sol#L210-L296 https://github.com/code-423n4/2022-11-redactedcartel/blob/main/src/vaults/AutoPxGlp.sol#L390-L400 https://github.com/code-423n4/2022-11-redactedcartel/blob/main/src/vaults/AutoPxGmx.sol#L281-L283 https://g...
https://github.com/code-423n4/2022-11-canto-findings/issues/125
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:402
code4rena
2022-11-debtdao-findings
#402
High
Legitimate token / USD pairs with more than 8 decimals are not handled correctly
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/EscrowLib.sol#L34-L44 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/EscrowLib.sol#L51-L84 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contr...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/402
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:310
code4rena
2022-11-debtdao-findings
#310
High
No one can invoke `liquidate()`
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/escrow/Escrow.sol#L45-L51 # Vulnerability details ## Impact The `borrower` can steal all the debts and withdraw his collateral out. ## Proof of Concept In case the `Borrower` has deploy the `Escrow.sol` ```...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/310
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:272
code4rena
2022-11-debtdao-findings
#272
High
close() can pass a malicious ID, causing the status to change to REPAID, then the collateral can be release
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L388 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L502 https://github.com/debtdao/Line-o...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/272
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:243
code4rena
2022-11-debtdao-findings
#243
High
Unhandled gas consumption during declaring a line insolvent makes a line solvent forever
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/f32cb3eeb08663f2456bf6e2fba21e964da3e8ae/contracts/utils/EscrowLib.sol#L57 # Vulnerability details ## Impact Increasing the number of collateral tokens can result in unhandled gas consumption in the for loop when the arbiter is trying to calculate coll...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/243
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:210
code4rena
2022-11-debtdao-findings
#210
High
Protocol insolvent due to integer underflow in repayment.
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/SpigotedLine.sol#L146 # Vulnerability details ## Impact The impact caused by this bug spans across the entire protocol: 1. LineOfCredit bricked - lenders cannot receive funds, borrowers ...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/210
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:208
code4rena
2022-11-debtdao-findings
#208
High
Function getOutstandingDebt in CreditLib doesn't check if price = 0
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/CreditLib.sol#L86 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/CreditLib.sol#L91 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/uti...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/208
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:135
code4rena
2022-11-debtdao-findings
#135
High
H-02 Front-runnable trade function
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/SpigotedLineLib.sol#L134 # Vulnerability details ## Proof of Concept Let’s say Alice had approval of 100. Now the treasury custodian reduced the approval to 50. Alice could frontrun the setApprovalFor of 50, a...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/135
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:134
code4rena
2022-11-debtdao-findings
#134
High
Spigot Revenue-Backed Lending mechanism can be bypassed
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/SpigotLib.sol#L96 # Vulnerability details ## Impact A borrowers revenue contract is used to provide security for loans in SpigotedLine/SecuredLine. This mechanism gives security to lenders as the...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/134
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:59
code4rena
2022-11-debtdao-findings
#59
High
Mixing the order of repayment Queue to make it impossible to declare the line insolvent
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L401 # Vulnerability details ## Impact Supposed four credits are already created by the lenders, so `ids = [id0, id1, id2, id3]`. The borrower calls `depositAndRepay` wi...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/59
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:58
code4rena
2022-11-debtdao-findings
#58
High
Setting status of the line to `REPAID` without paying
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L483 # Vulnerability details ## Impact Suppose a line of credit contract is deployed. The borrower first calls `addCredit` by a fake token contract already deployed (so ...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/58
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:51
code4rena
2022-11-debtdao-findings
#51
High
[H-01] Oracle Data Feed can be outdated yet used anyways which will impact payment logic
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22 # Vulnerability details ## Impact The current implementation of FeedRegistryInterface is used without roundId, startedAt, timeStamp and answeredInRound properties. Not checking how stal...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/51
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:13
code4rena
2022-11-debtdao-findings
#13
High
Bypassing `mutualConsent` modifier and increasing the number of lenders to have unhandled for loop gas consumption
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/MutualConsent.sol#L38 # Vulnerability details ## Impact Borrower can bypass the `mutualConsent` modifier by calling `addCredit` twice with following parameters: - drate: something - frate: some...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/13
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:493
code4rena
2022-11-debtdao-findings
#493
Medium
Oracle’s price is not checked for staleness
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/f32cb3eeb08663f2456bf6e2fba21e964da3e8ae/contracts/modules/oracle/Oracle.sol#L22 # Vulnerability details ### Proof of Concept The code makes use of Chainlink’s `latestRoundData()` method but it does no validations on the input from it. The protocol has...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/493
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:484
code4rena
2022-11-debtdao-findings
#484
Medium
[NAZ-M2] Lack of Price Freshness Check In `Oracle.sol#latestRoundData()` Allows A Stale Price To Be Used
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22 # Vulnerability details ## Impact `Oracle.sol` should use the `updatedAt` value from the `Oracle.sol#latestRoundData()` function to make sure that the latest answer is recent enough to b...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/484
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:467
code4rena
2022-11-debtdao-findings
#467
Medium
Lender can reject closing a position
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L489-L493 # Vulnerability details A credit line can be closed by using the `LineOfCredit.depositAndClose()` or `LineOfCredit.close`. The remaining funds deposited by the ...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/467
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:457
code4rena
2022-11-debtdao-findings
#457
Medium
Should Check return data from Chainlink Aggregators
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/CreditLib.sol#L84 # Vulnerability details ### Impact The `create` function in the contract CreditLib.sol fetches the asset price from a Chainlink aggregator using the `latestRoundData` function. However, there...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/457
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:447
code4rena
2022-11-debtdao-findings
#447
Medium
Oracle may return a stale price which causes a significant loss due to arbitraging the price difference.
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L84 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L135 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/447
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:446
code4rena
2022-11-debtdao-findings
#446
Medium
UNHANDLED CHAINLINK REVERT WOULD LOCK ALL PRICE ORACLE ACCESS
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact Call to `latestRoundData` could potentially revert and make it impossible to query any prices. Feeds cannot be changed after they are configured. Th...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/446
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:433
code4rena
2022-11-debtdao-findings
#433
Medium
[rotcivegaf] DoS by out of gas
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L162-L197 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L200-L210 https://github.com/debt...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/433
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:424
code4rena
2022-11-debtdao-findings
#424
Medium
Lender can force early liquidation directly from borrower’s account by calling `line.close`
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L401 # Vulnerability details ## Description The `close` function in `LineOfCredit` can be called by both borrower and lender but it contains `transferFrom` of tokens fro...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/424
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:422
code4rena
2022-11-debtdao-findings
#422
Medium
LATESTROUNDDATA() DOES NOT UPDATE THE ORACLE
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L29 # Vulnerability details ## Impact The method `.latestRoundData()` on an oracle returns the latest updated price from the oracle but this is not the current price of an asset, this may gi...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/422
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:411
code4rena
2022-11-debtdao-findings
#411
Medium
Borrower can bypass all revenue protection for lender by using custom 0x data
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/SpigotedLineLib.sol#L75 # Vulnerability details ## Description SpigotedLineLib's claimAndTrade function allows borrower to choose when to swap their revenue tokens to credit tokens. ``` function...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/411
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:404
code4rena
2022-11-debtdao-findings
#404
Medium
Rebasing tokens are not supported by the protocol
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/credit/LineOfCredit.sol#L223-L244 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/credit/LineOfCredit.sol#L435-L454 https://github.com/debtdao/Line-of-Credit/blob/audi...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/404
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:368
code4rena
2022-11-debtdao-findings
#368
Medium
`latestRoundData()` MIGHT RETURN STALE OR INCORRECT RESULTS
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact `latestRoundData()` is used when trying to get `currentPrice`, but there is no check if the return value indicates stale data and rou...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/368
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:365
code4rena
2022-11-debtdao-findings
#365
Medium
Chainlink's latestRoundData might return incorrect or stale results
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/oracle/Oracle.sol#L22-L29 # Vulnerability details Chainlink's `latestRoundData()` is used but there is no check if the return value indicates stale data. This could lead to stale prices accordin...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/365
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:363
code4rena
2022-11-debtdao-findings
#363
Medium
Lender can call `claimAndRepay()` with no slippage protection
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/SpigotedLine.sol#L111 # Vulnerability details ## Impact Function `SpigotedLine.claimAndRepay()` is callable by both borrower and lender. Callers will provide `zeroExTradeData` to help cal...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/363
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:358
code4rena
2022-11-debtdao-findings
#358
Medium
Possible DOS because of unbounded gas consumption in function `accrueInterest()`
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L203 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L179 # Vulnerability details ## Imp...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/358
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:347
code4rena
2022-11-debtdao-findings
#347
Medium
Manual liquidation
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L192-L207 # Vulnerability details ## Impact According to the currently liquidation mechanism, the line contract will call `liquidate()`, and the collateral will be transferred. Late...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/347
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:345
code4rena
2022-11-debtdao-findings
#345
Medium
Default decimal of 18
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L131-L138 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L138-L146 # Vulnerability details ## Impact In `enabl...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/345
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:305
code4rena
2022-11-debtdao-findings
#305
Medium
Oracle isn't validated for staleness
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/master/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact If price is stale, the wrong value of assets can be used and worst case leading to unwanted liquidations. ## Proof of Concept The oracle feed doesn't validate stalenes...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/305
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:303
code4rena
2022-11-debtdao-findings
#303
Medium
Check timestamp returned by Chainlink
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/oracle/Oracle.sol#L27 # Vulnerability details ### Impact Currently the system does not takes any precaution with Chainlink and does not check any of the parameters returned by Chainlink. It'd ...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/303
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:299
code4rena
2022-11-debtdao-findings
#299
Medium
An old mutual consent might be used for the new credit.
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L254 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L270 # Vulnerability details ## Imp...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/299
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:280
code4rena
2022-11-debtdao-findings
#280
Medium
Centralization risk; Arbiter / escrow owner can misbehave and take the collateral then run away or never call liquidate to clean the bad debt.
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L144 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/escrow/Escrow.sol#L149 # Vulnerability details ## Impact A...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/280
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:270
code4rena
2022-11-debtdao-findings
#270
Medium
Arbiter cannot mark the credit position as insolvent in SecureLine.sol if user keep adding a tiny amount of collateral in Escrow contract
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/SecuredLine.sol#L112 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/SecuredLine.sol#L119 https://github.com/debtdao/Line-of-...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/270
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:269
code4rena
2022-11-debtdao-findings
#269
Medium
Rebase tokens impair collateral value calculation
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L96 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L164 # Vulnerability details ## Impact The Escrow contract d...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/269
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:267
code4rena
2022-11-debtdao-findings
#267
Medium
Weak check for ERC4626 implementation can result in an invalid collateral token
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L115-L124 # Vulnerability details ## Impact A token contract can implement the `asset()` function while not being an ERC4626 implementation. Moreover, the returned value can have a d...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/267
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:252
code4rena
2022-11-debtdao-findings
#252
Medium
[Tomo-M1] Chainlink latestRoundData invalid validation
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details [https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32](https://github.com/debtdao/Line-of-Cre...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/252
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:229
code4rena
2022-11-debtdao-findings
#229
Medium
.latestRoundData() does not update the oracle
# Lines of code https://github.com/debtdao/Line-of-Credit/tree/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L29 # Vulnerability details ## Impact Across these contracts, you are using Chainlink's `latestRoundData` API, but there is only a check on `updatedAt`. This could lead to stale prices accor...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/229
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:212
code4rena
2022-11-debtdao-findings
#212
Medium
Stale Oracle price from chainlink can be used to determine the collateral value and the oustanding debt
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L73 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L84 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f61...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/212
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:206
code4rena
2022-11-debtdao-findings
#206
Medium
Unbounded loop when iterating the ids array in LineOfCredit.sol
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L163 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L179 https://github.com/debtdao/Line-o...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/206
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:197
code4rena
2022-11-debtdao-findings
#197
Medium
[rotcivegaf] The `latestRoundData` of chainlink is not consumed in a completely safe way
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/oracle/Oracle.sol#L22-L32 https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/CreditLib.sol#L84 https://github.com/debtdao/Line-of-Credit/blob/e8...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/197
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:183
code4rena
2022-11-debtdao-findings
#183
Medium
Oracle may return stale prices
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact DebtDAO uses an [Oracle](https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol): > a simpl...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/183
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:174
code4rena
2022-11-debtdao-findings
#174
Medium
Borrower can avoid liquidation through updateOutstandingDebt DOS if the oracle provides prices of too many tokens
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/6987988fe39901cad9a8e5ebb2c6aa719590873d/contracts/modules/credit/LineOfCredit.sol#L223-L244 https://github.com/debtdao/Line-of-Credit/blob/6987988fe39901cad9a8e5ebb2c6aa719590873d/contracts/modules/credit/LineOfCredit.sol#L203-L207 https://github.com/debt...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/174
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:160
code4rena
2022-11-debtdao-findings
#160
Medium
Reentrancy bug allows lender to steal other lenders funds
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/credit/LineOfCredit.sol#L487 # Vulnerability details ## Impact A reentrancy bug allows in `LineOfCredit.sol` allows the lender to steal other lenders tokens if they are lending the same tokens ...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/160
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:139
code4rena
2022-11-debtdao-findings
#139
Medium
Missing validation on latestRoundData
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact & Description The `getLatestAnswer` function is using `latestRoundData` function to obtain the price but in the process in not making basic validati...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/139
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:81
code4rena
2022-11-debtdao-findings
#81
Medium
ETH can be lost in Escrow contract when sending msg.value > amount
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/utils/EscrowLib.sol#L96 # Vulnerability details ## Impact When transferring ETH into the Escrow, an `amount` must be specified. However if `msg.value > amount`, then `msg.value - amount` Wei will be l...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/81
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:52
code4rena
2022-11-debtdao-findings
#52
Medium
`_getCollateralValue` may fail due to exceed gas limit.
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/utils/EscrowLib.sol#L51 # Vulnerability details ### Impact In the Ethereum blockchain, the blocks all have a gas limit. One of the benefits of a block gas limit is that it prevents attackers from creating an infinit...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/52
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:50
code4rena
2022-11-debtdao-findings
#50
Medium
DOS due to gasLimit
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/credit/LineOfCredit.sol#L435 https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/credit/LineOfCredit.sol#L200 # Vulnerability details ### Impact In the Ethereum blockc...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/50
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:23
code4rena
2022-11-debtdao-findings
#23
Medium
Stale price can be used because the price timestamp is not check in Oracle.getLatestAnswer()
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact Stale price can be used because the price timestamp is not check in `Oracle.getLatestAnswer()`. As a result protocol will use old price to make fund...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/23
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:21
code4rena
2022-11-debtdao-findings
#21
Medium
Chainlink `latestRoundData()` May Return Stale or Incorrect Price
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact In `Oracle.sol`, `registry.latestRoundData() is used but there is no check if the returned price entails stale data as documented in the link below:...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/21
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:3
code4rena
2022-11-debtdao-findings
#3
Medium
Oracle data feed is insufficiently validated in Oracle.sol contract
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/audit/code4rena-2022-11-03/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact Price can be stale and can lead to wrong answer return value. ## Proof of Concept ```solidity File: contracts/modules/oracle/Oracle.sol function g...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/3
defi
2026-05-08T04:37:49Z
code4rena:2022-11-debtdao-findings:2
code4rena
2022-11-debtdao-findings
#2
Medium
Lack of validation on Chainlink price feeds
# Lines of code https://github.com/debtdao/Line-of-Credit/blob/e8aa08b44f6132a5ed901f8daa231700c5afeb3a/contracts/modules/oracle/Oracle.sol#L22-L32 # Vulnerability details ## Impact Lack of validation for stale data, which may create conditions for financial loss / attacks. ## Proof of Concept The API latestRoundD...
https://github.com/code-423n4/2022-11-debtdao-findings/issues/2
defi
2026-05-08T04:37:49Z
code4rena:2022-11-ens-findings:5
code4rena
2022-11-ens-findings
#5
Medium
NameWrapper: one can renew to DoS a Name
# Lines of code https://github.com/code-423n4/2022-11-ens/blob/2b0491fee2944f5543e862b1e5d223c9a3701554/contracts/wrapper/NameWrapper.sol#L132 https://github.com/code-423n4/2022-11-ens/blob/2b0491fee2944f5543e862b1e5d223c9a3701554/contracts/wrapper/NameWrapper.sol#L288-L293 # Vulnerability details ## Impact Anyone...
https://github.com/code-423n4/2022-11-ens-findings/issues/5
defi
2026-05-08T04:37:49Z
code4rena:2022-11-non-fungible-findings:96
code4rena
2022-11-non-fungible-findings
#96
High
Direct theft of buyers ETH funds.
# Lines of code https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e800305d/contracts/Exchange.sol#L168 https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e800305d/contracts/Exchange.sol#L565 https://github.com/code-423n4/2022-11-non-fungible/bl...
https://github.com/code-423n4/2022-11-non-fungible-findings/issues/96
defi
2026-05-08T04:37:49Z
code4rena:2022-11-non-fungible-findings:186
code4rena
2022-11-non-fungible-findings
#186
Medium
Pool designed to be upgradeable but does not set owner, making it unupgradeable
# Lines of code https://github.com/code-423n4/2022-11-non-fungible/blob/323b7cbf607425dd81da96c0777c8b12e800305d/contracts/Pool.sol#L13 # Vulnerability details ## Description The docs state: "*The pool allows user to predeposit ETH so that it can be used when a seller takes their bid. It uses an ERC1967 proxy patt...
https://github.com/code-423n4/2022-11-non-fungible-findings/issues/186
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:493
code4rena
2022-11-paraspace-findings
#493
High
Some arbitrary feeders will not be removable, even by admin.
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L332 # Vulnerability details ## Description NFTFloorOracle receives data from different "feeders". They are added using addFeeders() and removed by removeFe...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/493
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:464
code4rena
2022-11-paraspace-findings
#464
High
THE FUNCTION LOGIC OF _REMOVEFEEDER() IS FLAWED
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/main/paraspace-core/contracts/misc/NFTFloorOracle.sol#L326-L338 # Vulnerability details ## Impact When the admin calls `removeFeeder()`, it will internally call `_removeFeeder()` that will have the feeder removed from `feeders` before getting its ...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/464
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:443
code4rena
2022-11-paraspace-findings
#443
High
Missing access control in `NFTFloorOracle::removeFeeder`
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/6542d6e946762fc7a914a3f6f2e08fcbbf6c8a13/paraspace-core/contracts/misc/NFTFloorOracle.sol#L167 # Vulnerability details ### Proof of Concept THe `removeFeeder` method is lacking `onlyRole(*DEFAULT_ADMIN_ROLE*)` modifier, even though the NatSpec st...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/443
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:408
code4rena
2022-11-paraspace-findings
#408
High
Wrong logic in function `_removeFeeder()` cause feeders unable to be removed.
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L332 # Vulnerability details ## Impact In NFTFloorPrice, there are multiple components to allow easy adding/removing keepers - address[] public feeders - Lis...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/408
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:402
code4rena
2022-11-paraspace-findings
#402
High
Anyone can prevent themselves from being liquidated as long as they hold one of the supported NFTs
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L167-L169 # Vulnerability details Contrary to what the function comments say, `removeFeeder()` is able to be called by anyone, not just the owner. By removin...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/402
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:386
code4rena
2022-11-paraspace-findings
#386
High
Dangerous casting from i256 to u256 of the price returned by the Chainlink oracle
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/main/paraspace-core/contracts/misc/ParaSpaceOracle.sol#L128 https://github.com/code-423n4/2022-11-paraspace/blob/main/paraspace-core/contracts/misc/ParaSpaceOracle.sol#L130-L132 # Vulnerability details ## Impact Referring to the [docs](https://doc...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/386
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:365
code4rena
2022-11-paraspace-findings
#365
High
NFTFloorOracle Might Return Stale Price
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L351 # Vulnerability details ## Proof of Concept During initialization, the `MAX_DEVIATION_RATE` is set to `150`. This means that price is rejected if it in...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/365
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:328
code4rena
2022-11-paraspace-findings
#328
High
Feeder index is not updated in `feederPositionMap` after a feeder is removed
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L331-L334 # Vulnerability details ## Impact The NFTFloorOracle admin may not be able to remove a malicious or a hacked feeder due to the flawed feeder indexe...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/328
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:285
code4rena
2022-11-paraspace-findings
#285
High
ApeCoin Supply Intended For ParaSpace's Ape Staking Feature Can Be Abused By Malicious Users
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/protocol/libraries/logic/FlashClaimLogic.sol#L28 # Vulnerability details ## Background By supplying NFTs and ERC-20s in ParaSpace, users can borrow ERC-20 tokens via `PoolCore.borr...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/285
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:197
code4rena
2022-11-paraspace-findings
#197
High
NFTFloorOracle removeFeeder() can corrupt feeder recordkeeping storage, resulting in ability for single feeder to determine an arbitrary median price (also DOS some further calls to removeFeeder() and continued use of prices from removed feeders)
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L331-L334 # Vulnerability details ## Impact NFTFloorOracle's removeFeeder() calls _removeFeeder(), which moves the last feeder in the feeders array to positi...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/197
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:187
code4rena
2022-11-paraspace-findings
#187
High
function _removeFeeder() in NFTFloorOracle removes feeder improperly and doesn't update feederPositionMap for changed feeders so the contract would be in wrong state and feeders can't be removed
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/misc/NFTFloorOracle.sol#L326-L338 # Vulnerability details ## Impact Function `_removeFeeder()` in NFTFloorOracle is supposed to remove a feeder and in doing so it should update `fee...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/187
defi
2026-05-08T04:37:49Z
code4rena:2022-11-paraspace-findings:85
code4rena
2022-11-paraspace-findings
#85
High
Unable to Remove Feeder
# Lines of code https://github.com/code-423n4/2022-11-paraspace/blob/main/paraspace-core/contracts/misc/NFTFloorOracle.sol#L330-L333 # Vulnerability details ## Impact In `NFTFloorOracle.sol`, the second condition in the if block of `_removeFeeder()` could revert, preventing the owner from removing a feeder. This co...
https://github.com/code-423n4/2022-11-paraspace-findings/issues/85
defi
2026-05-08T04:37:49Z