Submitted by oakcobalt, also found by Ch_301, bin2chen, and SpicyMeatball
There are two checks on price staleness in PriceOracle::getAssetPriceFromChainlink, but both checks are invalid.
https://github.com/code-423n4/2024-07-benddao/blob/117ef61967d4b318fc65170061c9577e674fffa1/src/PriceOracle.sol#L124-L125
Consider using asset-specific heartbeat (e.g., ETH/USD has 1 hour heartbeat) and check against (block.timestamp - updatedAt).
Oracle
thorseldon (BendDAO) acknowledged and commented:
0xTheC0der (judge) commented:
