Sandwich attacks are illegal in the traditional stock market, but when it comes to cryptocurrency, that’s not the case. The problem with sandwich attacks on the stock market is that they rely on insider information, which is illegal to use for trading purposes, whereas much of the cryptocurrency is decentralized and the necessary information is available to anyone.