Glossary · AI & automation

Prompt injection

An attack in which text supplied to an AI system, directly or hidden in a document or web page, tries to override its instructions.

Language models process instructions and data in the same stream of text. Prompt injection exploits that. A web page, email, or document might contain text such as an instruction to ignore previous rules and send data elsewhere. If the system treats that text as a command, it can be manipulated.

The risk grows when AI agents can read untrusted content and also take actions. Defenses include treating all retrieved content as data rather than instructions, limiting tool permissions, requiring approval for sensitive actions, isolating untrusted content, and monitoring for unusual behavior.

Bring the goal. We’ll shape the technical path.

Tell us what needs to work better. We reply within one business day with a clear next step.