1) "how it never should have been" and "how it should never have been" are both OK. 2) "if it hadn't been for" and "if it wasn't for" are both acceptable here. 3) "hacking attack" is OK.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.