← Videos
02 Prompt Injection

Explainer22 Nov 2026

02 Prompt Injection

Prompt Injection: Follow the Input, Check the Result | AI Security Testing 02

In this episode

Chapter times come from the published description.

From the episode description

Prompt Injection: Follow the Input, Check the Result | AI Security Testing 02 A warehouse assistant should summarize a service-desk bulletin. What happens when the bulletin starts giving the assistant instructions instead? Follow the agent loop, then inspect concrete curl requests, JSON responses and an original document-delivery trace. We compare a useful baseline, a direct instruction that conflicts with the configured task, and an indirect instruction inside retrieved material. Learn to define failure, separate an answer change from a tool action, and replay the same cases after changing controls. The HarborDesk requests, responses and traces are clearly labelled teaching mocks. They demonstrate how to design and interpret a test; they are not live P2501 results or a claim that a particular defense has been verified. Optional practice: P2501 Lab 1.1 — Stand Alone Complex. Use your assigned lab address and manual. P2501 access is optional; the lesson is self-contained. https://p2501.ai Next: MCP discovery, tool metadata and server-side permission boundaries. Chapters 0:00 A bulletin tries to take over 0:32 Where the document enters 1:07 Direct and indirect are delivery routes 1:40 Define the task before the test 2:18 Read the baseline command 2:56 A useful answer and its delivery path 3:31 Direct override against configured scope 4:06 Move the instruction into source text 4:38 Update the source, replay the same request 5:14 Describe the demonstrated impact 5:49 Use a narrow evidence check 6:26 Change controls, replay the cases 7:13 Explain one boundary with evidence

Descriptions and chapter markers are supplied by the channel. They are not a transcript or an independent check of every claim in the video.