Part V · AI IN THE REAL WORLD

AI and cybersecurity

Chapter 2010 min readUpdated: June 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.
  • 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.