Module 13: AI Security · 9 min read

Prompt injection and AI agents

Language models read instructions and data as the same thing: text. Prompt injection is text that tries to give the model new orders, such as "ignore your instructions" or "send this file to…".

A chatbot that can only write text can at worst write something wrong. An agent with tools (email, files, payments) can be tricked into doing things. The model only requests a tool call; your system decides whether it runs.

This lesson is part of the full RootQuest game, together with its practice rooms and the module's knowledge check. The first lesson of every module is free: AI at work: what can go wrong.