Which is to say, if you have perfect knowledge, you might be able to prevent the spoofer from reaping the benefits of their spoofing, but you won't actually have harmed them, and of course the effect on the market is just as bad as if you let the spoofer spoof in peace.
Also, I would assume spoofers don't typically place orders in illiquid markets, precisely because they risk having someone use their new order as a source of liquidity. I mean, spoofers don't actually want their orders filled. Plus, the whole point of the spoofed order is to trick market makers into moving their positions, and if the market isn't liquid then clearly there's no market makers (because if there were market makers, then the market would be liquid), and if there's no market makers then spoofing isn't going to work to begin with.