AI, Safety and What Goes WrongLesson 44 of 73

Module 6 · Manipulation, attack and abuse

The three ingredients of a disaster

In this lesson

  • 9 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 3 of 8 in this chapter

This chapter’s goalExplain how an instruction embedded in ordinary content reaches a model and gets executed, and separate the attacks an individual user can defend against from those only the system’s builder can.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableWatch2:42
Full audiobookNot availableNot available
The lethal trifecta, as one morning’s emailReads yourmailboxLeg one: accessto private dataReads theattacker’smessageLeg two:exposure tountrustedcontent, withinstructionsbelow thesign-offSearches for‘passwordreset’Following theplantedinstructionFetches a URLcarrying theresultsLeg three: theability tocommunicateexternallyYou see anormal summaryThe data hasalready leftThe model is not compromised in any technical sense. It did what it was told, by someone who was notsupposed to be able to tell it anything. Remove any one of the three legs and the same messageproduces a wrong summary rather than a stolen mailbox.
The model is not compromised in any technical sense. It did what it was told, by someone who was not supposed to be able to tell it anything. Remove any one of the three legs and the same message produces a wrong summary rather than a stolen mailbox.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

From answering to acting

An assistant that writes text can be wrong. An assistant that can send email, run code, browse, buy things, edit files and call APIs can be wrong and do something about it. That transition (from a chat box to an agent with tools) is where the security problem of Instructions hidden in the content becomes a security problem with consequences.

Simon Willison’s formulation is the most useful summary anyone has produced, and it is worth memorising. Three properties, and the danger arises only when all three are present in one system:

  1. Access to private data. Your email, your files, your company’s database.
  2. Exposure to untrusted content. Anything from outside: a web page, an incoming email, a shared document, a package from a repository.
  3. The ability to communicate externally. Send a message, make a request, write to a location someone else can read.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Rukmini, your AI tutor

How to cite: Addaly (2026) ‘The three ingredients of a disaster’, in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/when-the-assistant-can-act (Accessed: 29 November 2026).