There is a bug in ICPSwap

The transfer time of user zd4df was at 12:49:44 UTC, while the trading time of the sandwich bot was surprisingly at 12:49:40 UTC. It managed to know in advance and conduct the swap 4 seconds earlier. How did it achieve that???