Bill Gates warns AI-agent cyberattacks will hit banks and hospitals before AI code secures software

Bill Gates warns AI-agent cyberattacks will hit banks and hospitals before AI code secures software

Bill Gates expects AI to replace insecure human-written code within five or six years. His concern is the stretch before that happens. In an interview with The Economist, he predicts that banks, hospitals and critical infrastructure will face attacks they can't always stop. He sees successful attacks by AI agents as inevitable and expects them to make headlines every week, in part because attackers can use cryptocurrency to collect ransoms without revealing who they are.

Gates names open-weight models as the biggest risk, because anyone can copy them, which puts them beyond their developers' oversight. Powerful models can stay free to use and customize, he argues, but only if they run on platforms where operators can catch attempts to strip away safeguards against cyber and biological attacks. China's standards body TC260 has warned separately that safeguards in open models can be removed or bypassed, a process known as "abliteration." Gates wants the U.S. and China to work toward a global oversight standard, and he expects China to cooperate because both countries face risks from cyberattacks and bioterrorism. He also calls for air and wastewater monitoring and blood testing to detect biological attacks early.

In an open letter to Congress, Gates puts AI at the top of a seven-point agenda for lawmakers' first 100 days beginning in January. "The rise of artificial intelligence is an unprecedented opportunity for the American people as well as a threat," he writes. The personal computer took two decades to reshape the workplace; AI is spreading much faster, he argues, because it runs on hardware people already own and they can use it in everyday language. He expects its reach to extend to manual work within a few years as humanoid robots take on physical tasks.

Gates backs regulatory proposals from Anthropic CEO Dario Amodei in "We Must Pace the Frontier, Part 2" and from OpenAI executives Sam Altman and Greg Brockman in "People must remain in control of the future." On cybersecurity he calls for better defensive tools, stronger isolation of critical infrastructure, and an AI-powered early warning system to counter autonomous attack agents like ARTEX. He proposes a single federal office to coordinate AI oversight across agencies and develop independent benchmarks. Congress should use AI to analyze legislation, and federal agencies should use it for services such as processing benefits applications.

On work, anticipating job losses, some permanent, he calls for retraining programs to start early and for tax incentives that favor hiring people over automating their work. For AI companions used by minors, he wants binding safety standards, reliable age verification, and a ban on designs intended to replace human relationships. He sees promise in AI assistants for doctors, personal health agents, and tutoring that costs almost nothing, but argues that teaching and similar professions should stay in human hands. The market alone won't manage the risks or ensure broad access to the benefits.

The letter also points to gaps in who already uses AI. People with a college degree are nearly three times as likely to have used ChatGPT as those with no more than a high school diploma, and rural adoption runs at about half the rate of cities and suburbs.

Gates made a similar case for international oversight in August 2026, when he accused the tech industry of downplaying the risks of AI-driven cyberattacks and bioweapons for financial reasons. He argued then that a model's useful capabilities are nearly impossible to separate from its dangerous ones, which led him to reject industry self-regulation and call for oversight modeled on nuclear arms control.

Key facts

  • Gates expects AI to replace insecure human-written code within five or six years, but says banks, hospitals and critical infrastructure will face attacks they can't always stop in the meantime.
  • He sees successful attacks by AI agents as inevitable and expects them to make headlines every week, helped by cryptocurrency ransoms that hide the attackers.
  • Open-weight models are his biggest worry; he would keep them free only on platforms where operators can catch attempts to strip away safeguards, and wants a U.S.-China global oversight standard.
  • His open letter to Congress puts AI at the top of a seven-point agenda for lawmakers' first 100 days beginning in January, including a single federal AI oversight office and independent benchmarks.
  • He also asks for early retraining programs, tax incentives that favor hiring people over automating, and binding safety standards, age verification and a design ban for AI companions used by minors.

Why it matters

Gates is one of the best-known voices in technology, and here he pairs a concrete security forecast with a legislative agenda. The forecast is a gap: AI-generated code may eventually make software more secure, but he says the dangerous period comes first, with AI-agent attacks hitting banks, hospitals and critical infrastructure and making headlines every week. The agenda is notable for who it endorses: he backs regulatory proposals from Anthropic's Dario Amodei and from OpenAI's Sam Altman and Greg Brockman. It also repeats his August 2026 call for international oversight modeled on nuclear arms control and his rejection of industry self-regulation.

Who it affects

Banks, hospitals and operators of critical infrastructure are the targets in his forecast. Developers of open-weight models would face the proposed condition that powerful models run on platforms where operators can catch attempts to strip safeguards. Congress and federal agencies are the audience of the letter, which suggests a single federal AI oversight office and AI use in analyzing legislation and processing benefits applications. Workers face the job losses he anticipates, some permanent. Minors who use AI companions are covered by his proposed safety standards and age verification. The letter also notes that people with a college degree are nearly three times as likely to have used ChatGPT as those with no more than a high school diploma, and that rural adoption runs at about half the rate of cities and suburbs.

How to use it

There is no product or tool here; this is a set of positions to read as a policy agenda. The defensive measures Gates lists on cybersecurity are better defensive tools, stronger isolation of critical infrastructure, and an AI-powered early warning system to counter autonomous attack agents like ARTEX. For biological threats he lists air and wastewater monitoring and blood testing. For open-weight models, the condition he names is hosting on platforms where operators can catch attempts to strip away safeguards against cyber and biological attacks.

How solid is it

This is a forecast and a set of recommendations from Gates, as reported by The Decoder from an Economist interview and an open letter to Congress, not a research finding. The five-or-six-year timeline and the prediction of weekly headline attacks are his expectations; the source does not say how the timeline is derived. The adoption figures on education and rural use are attributed to the letter, with no further source given. The one outside voice is China's standards body TC260, which has warned separately that safeguards in open models can be removed or bypassed.

Risks and caveats

No specific attack, victim or incident is named; the attacks are Gates's prediction. The source does not list all seven points of the agenda, so the retelling above covers only the proposals it describes. It does not report any reaction from Anthropic, OpenAI, Congress or China to Gates's proposals, and his expectation that China will cooperate is his own. The proposals are also not settled policy: they depend on Congress acting on the agenda beginning in January.

“The rise of artificial intelligence is an unprecedented opportunity for the American people as well as a threat”

— Bill Gates, open letter to Congress