Tinker Prompt injection & guardrails

by Samy (Kondasamy Jayaraman)

OK

Step 14 of 14 · Model → Host appWe have refunded $460.00 on order 1051 in full. Card refunds usually appear within seven business days. Larkspur Supply Co.0 sent by send_email

Chapter 5 of 7

Defence in depth

Each chapter added one defence, and each stopped the attack it was tried on. Now Larkspur runs every defence against every test email, attacks and customers alike.

This chapter: No single defence stops every attack without blocking a customer. Can a stack of them?

About this chapter

You will learn

  • What each defence stops, and misses, across every attack
  • How layers that miss different attacks cover each other’s gaps
  • Why attack success rate and false-block rate, over a fixed test set, are an eval

Words you’ll meet

Defence in depth
Several defences stacked, so an attack that gets past one is stopped by another.
Attack success rate
The share of attacks in a test set whose goal was met: money refunded, data sent out, a link planted.
False-block rate
The share of ordinary customers in a test set that the defences stopped: held, refused, or left without what they asked for.

Step 1 of 3

Five defences now meet the 3 attacks and 2 customers from chapter 2.

Predict before the table fills in.

Each chapter so far added one defence. Is there one that, on its own, stops all 3 injection attacks and blocks none of the 2 customers?