As it can be deployed to L2 like Optimism, Arbitrum, it should check sequencer uptime feed to check if L2 sequencer is down or restarted in less than grace period.
In that cases, price feed will stop being updated and become stale, thus it might trigger massive liquidation events.
https://docs.chain.link/data-feeds/l2-sequencer-feeds
To prevent such scenario, Aave v3 for example pause liquidation and borrowing when sequencer is down or restarted in less than grace period.
https://docs.aave.com/developers/core-contracts/priceoraclesentinel
https://github.com/aave/aave-v3-core/blob/27a6d5c83560694210849d4abf09a09dec8da388/contracts/protocol/configuration/PriceOracleSentinel.sol#L57C1-L81C1
An innocent user might be a target of unfair massive liquidation by MEV searchers in case of L2 sequencer down event.
Should set sequencer uptime oracle feed if contract is deployed in Arbitrum or Optimism.
If should check L2 sequencer uptime status before liquidation.
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.