I think you need to take the same approach as the British during WW2 with the Enigma. They could decrypt the messages and know when attacks would happen, but if they stopped every attack, the Nazis would know and change encryption device. So you need to accept that some people will die and only mitigate the disaster in small but impactful ways.