Only certain types of attacks are based on hashing at a rate which is a significant percentage of the network hash rate. Many other types of attacks have nothing to do with hashing, for example, the transaction malleability attacks.