Been studying up on uniswap logic, and the time weighted average oracle system. From what I know, on chain oracles have traditionally been susceptible to manipulation attacks, and generally in my mind so far don't seem very useful or safe. It adds some extra gas to the first transaction per block per pair, and I'm considering if that additional gas spent is really worth it for the service it provides.
I was wondering if anyone knew of any good examples of dex TWAP oracles being used safely for a good application.