The trustlessness and self execution makes them vulnerable against a wide variety of attacks, from reentrancy to frontrunning.