What Are “Just-in-Time” (JIT) Liquidity Provision Attacks?
JIT attacks are a form of front-running where a malicious actor provides a large amount of liquidity just before a large swap, collects the trading fees from that single swap, and then immediately withdraws their liquidity. This allows them to capture a disproportionate amount of fees for a very short period, essentially stealing potential fee revenue from long-term LPs.
This exploit is common in high-throughput, low-latency environments.