Use of deprecated Chainlink API
The smart contracts use Chainlink's deprecated latestAnswer() function to fetch price data. If Chainlink stops supporting this deprecated API, the protocol would be unable to obtain prices and would halt, requiring contract redeployment.
Submitted by 0xRajeev, also found by adelamo, cmichel and shw_
The contracts use Chainlink’s deprecated API latestAnswer(). Such functions might suddenly stop working if Chainlink stopped supporting deprecated APIs.
The impact is that, if the deprecated API stops working, prices cannot be obtained, the protocol stops and contracts have to be redeployed.
Recommend using V3 interface functions.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the developers used a deprecated Chainlink API function instead of the current recommended interface.
Impact
If the deprecated API stops working, prices cannot be obtained, the protocol stops and contracts have to be redeployed.
What the attacker needed
Chainlink discontinues deprecated API
The fix
The contracts should be updated to use the V3 interface functions recommended by Chainlink.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a smart contract audit finding. The code relies on an old version of a price data service (Chainlink). If that old version is switched off, the contract cannot get prices and stops working. The fix is to use the newer recommended version.
What is Smart contracts?
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.