Artificial intelligence is making cyberattacks faster and more sophisticated, but a former White House cybersecurity official argues that the same technology could give defenders a powerful advantage. From automatically repairing software vulnerabilities to testing threats against digital replicas of critical infrastructure, AI may help governments and businesses protect essential services before an attack causes widespread disruption.
WHAT’S HAPPENING
Artificial intelligence is increasingly being viewed as both a cybersecurity threat and a potential defense against some of the world’s most dangerous digital attacks.
Anne Neuberger, a former U.S. Deputy National Security Adviser for Cyber and Emerging Technology, argues that governments should move faster to deploy AI to protect essential infrastructure.
In an opinion article for The Economist, Neuberger warns that the world’s power grids, water utilities, transportation systems, and communications networks remain vulnerable to cyberattacks, often because operators cannot identify and repair known security weaknesses quickly enough.
Her argument challenges a common assumption about AI and cybersecurity: that more powerful AI systems inevitably give attackers the advantage.
Instead, Neuberger believes defenders could benefit more because they have direct access to their own software, network activity, and operational systems.
There is already evidence that AI can help discover and repair vulnerabilities.
During DARPA’s 2025 AI Cyber Challenge, competing AI systems patched 43 deliberately planted security flaws, discovered 18 previously unknown vulnerabilities, and successfully repaired 11 of those newly identified problems.
The competition demonstrated the potential for AI to automate important cybersecurity tasks that traditionally require highly trained specialists.
However, competition results do not establish that the same systems can independently protect complex infrastructure under real-world conditions.
WHY IT MATTERS
Modern society relies on interconnected computer systems that were often developed over decades.
Electric utilities, hospitals, water-treatment facilities, airports, and transportation networks depend on software that cannot always be easily updated or taken offline.
Attackers exploit those weaknesses.
The 2017 NotPetya cyberattack caused extensive disruption to international businesses, including shipping giant Maersk.
In 2023, Iranian-linked hackers compromised equipment associated with American water utilities, forcing some operators to switch to manual controls.
U.S. authorities have also warned that Chinese state-sponsored hackers have infiltrated critical infrastructure networks, creating concerns about possible disruptions during a geopolitical conflict.
AI could help defenders respond by continuously examining software, detecting suspicious network behavior, and identifying vulnerabilities before attackers exploit them.
Another promising application involves digital twins—virtual representations of physical infrastructure.
These systems could allow operators to simulate cyberattacks, evaluate security changes, and test potential fixes without immediately exposing essential services to operational risks.
The advantage is particularly important for aging equipment that cannot be easily patched.
Still, AI-generated changes must be carefully validated. An incorrect security adjustment could disrupt the same infrastructure it is intended to protect.
WHO BENEFITS
Critical infrastructure operators could gain faster methods for identifying weaknesses in power grids, water systems, and transportation networks.
Small utilities and hospitals may benefit from AI cybersecurity tools that help compensate for limited security staffing and resources.
Cybersecurity professionals could use AI to prioritize threats, analyze suspicious activity, and develop fixes more efficiently.
Governments and national security agencies could improve coordination by sharing verified vulnerabilities and protective measures with trusted partners.
Consumers and businesses would benefit from fewer service disruptions if AI-assisted defenses successfully prevent attacks.
WHO LOSES
Cybercriminals and state-sponsored attackers could face stronger defenses if vulnerabilities are discovered and repaired before they can exploit them.
Organizations relying on outdated cybersecurity practices may struggle to respond as the pace of automated attacks increases.
Infrastructure operators that delay security upgrades could become increasingly exposed as attackers adopt more capable AI tools.
WHAT HAPPENS NEXT
Neuberger is calling for coordinated action involving governments, AI developers, infrastructure operators, and cybersecurity specialists.
Her proposal prioritizes systems whose failure could create widespread disruption.
AI companies could help identify security weaknesses in commonly used industrial software, develop protective measures, and test potential repairs before they reach operational equipment.
International cooperation would also be essential.
A vulnerability discovered in one country’s infrastructure could affect similar equipment operating elsewhere. Coordinated disclosure would allow trusted partners to deploy protections without prematurely revealing exploitable weaknesses.
Existing initiatives, including NATO’s Locked Shields cybersecurity exercises, could provide opportunities to test these approaches.
The challenge is moving from successful demonstrations to dependable deployment.
AI-generated security fixes will still require testing, oversight, and safeguards against unintended consequences.
Neuberger has also proposed a broader public-private plan targeting essential sectors, including power, water, banking, communications, and hospitals.
The larger signal: The AI cybersecurity debate has largely focused on how artificial intelligence makes attacks more dangerous. But the technology could also change how quickly defenders discover and eliminate weaknesses. The real measure of progress will not be how many vulnerabilities AI identifies, but whether those discoveries translate into safer systems, faster repairs, and fewer disruptions to the infrastructure society depends on every day.