Proactive threat prevention