Part V · AI in the real world

AI and cybersecurity

Chapter 2014 min readUpdated: September 2026

20.1AI in the service of attack

20.2AI in the service of defense

20.3The security of AI systems themselves

20.4A permanent offense-defense race

Diagram20.1. The three faces of AI in cybersecurity. AI is at once an offensive weapon, a defensive shield, and a new system to protect. The three advance together, in a permanent race.

On the horizon, the prospect of increasingly autonomous cyberattacks (and cyberdefenses) raises issues that go beyond technology alone and connect to defense (Chapter 22), safety (Chapter 24), and governance (Chapter 25). Cybersecurity thus becomes one of the arenas where the mastery of AI will concretely be decided.


Key takeaways (Chapter 20)

  • AI lowers the cost of cyberattacks (phishing at scale, deepfake fraud, assistance with malicious code, offensive agents): a democratization of offensive capability.
  • It is also a powerful defense (anomaly detection, automated response, threat analysis), but an asymmetry could favor the offense in the short term.
  • AI systems themselves are vulnerable: prompt injection, jailbreak, data poisoning, model theft. Securing AI is a new discipline.
  • Since the summer of 2026, the risk has included agents that break out of their test environment on their own and attack third parties, with no human hacker (Hugging Face incident, Chapter 24), and quasi-autonomous attacks assembled with public tools.
  • It is a permanent attack-defense race, which connects to defense (Ch. 22), safety (Ch. 24), and governance (Ch. 25).

From technical threats to the frameworks meant to govern them: Chapter 21 takes up law and society, and Chapter 22, defense.