Step 18 of 18 · Model → Host appThank you. The delivery address on the invoice, 14 Mill Lane, Ashford, matches the one we have on file for you. Larkspur Supply Co.all three legs in place · 1 sent by send_email
Chapter 4 of 7
The lethal trifecta
Each output check stopped only the leaks it was written for. Larkspur wants a rule that needn’t spot the attack.
This chapter: What does an attack need to steal data, and which piece can Larkspur safely remove?
About this chapter
You will learn
- The three legs of the lethal trifecta: private data, untrusted text, a way out
- What removing each leg costs the customer
- How a taint rule removes the way out only once untrusted text is in
Words you’ll meet
- Lethal trifecta
- Simon Willison's lethal trifecta: access to private data, exposure to untrusted content, and the ability to communicate externally. Together they let an attacker steal data.
- Leg
- One of the trifecta’s three parts. Here each is a tool or an input: get_customer, the email, send_email.
- Taint rule
- A rule in Larkspur’s app: once the model has read untrusted text, stop offering tools that send data out, for the rest of the case.
Step 1 of 4
Unchecked, the invoice always ends: a customer's private record sent to an outside address. The assistant has every of the .
Predict first.
Private data: get_customer. Removed: get_customer is no longer offered.
Untrusted text: read_inbox. Removed: every email is quarantined before the model reads it.
The way out: send_email. Removed: send_email is no longer offered.