Glossary / Vulnerabilities
Prompt injection
Prompt injection is an attack in which text supplied to a language model — directly or hidden in content it reads — overrides the instructions its developer intended it to follow.
It matters twice in AI security testing: as a vulnerability to test for in applications that embed LLMs, and as a risk to the testing agent itself, which reads attacker-controlled responses from the target. A robust harness treats everything the target returns as data, never as instructions.