The RAACPrimeRateOracle accepts any prime rate value from the Chainlink oracle without validation bounds, allowing manipulation of protocol interest rates through malicious or erroneous off-chain data.
No bounds checks on the prime rate from off-chain, allowing extreme values (e.g., 0 or 1e30).
RAACPrimeRateOracle.sol#_processResponse
Attack Path, let's say.
Oracle reports extreme rate (0 or 1e30)
Rate accepted without validation
LendingPool interest calculations distorted
Protocol economics break down
Distorted interest rates, protocol insolvency.
manual
Add sanity checks (for example, require(lastPrimeRate > 0 && lastPrimeRate < MAX_RATE)
).
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.