Safemoon exchange was hit by a bug-driven exploit that allowed a hacker to drain $8.9 million from its liquidity pool.