AI Patches Vulnerabilities Before Attackers Can Exploit Them