The same buried-order trick that broke a website’s login box, now aimed at something that can act for you instead of just answering you. By the end of this lesson you will have broken a toy version of it yourself, and know exactly where the fix has to live.
Before you start.Web Vulnerabilities (the OWASP classics) showed a website taking a stranger’s typed text and running it as if it were a command, a login box or a comment field where a hidden instruction can turn into a database order, from Web Vulnerabilities (the OWASP classics). This lesson does the same thing to something newer: a language model wired up with jobs it is allowed to do on your behalf, the setup from Agents & Tool Use. A quick primer on that setup, so you need nothing else: an agent with tools is a language model that can ask for ordinary functions to be run, such as sending an email or opening a file. The model never runs a tool itself, it only writes a request, and the program around it (the harness) runs the function and feeds the result back. The model reads that result and then either asks for another tool or gives its final answer.
Lesson 27 of 39 in Security
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.