06 Glossary
Prompt injection
Manipulating an AI system through crafted inputs so it follows malicious or unintended instructions.
Why it matters. It is a core risk when AI systems can access internal data or tools.
How it works
In a prompt injection, the attacker hides instructions inside text the model will read: a message, a document, a web page or an email. If the AI system can access data or tools, those instructions can make it leak information or take actions nobody authorized.
Key points
- Direct: the user writes instructions to bypass the system's rules.
- Indirect: the instructions are hidden in external content the AI processes.
- The risk grows when the AI can read internal data or use tools.
- It is mitigated with least privilege, human approval for sensitive actions and specific testing.
An example
An assistant that summarizes emails receives a message with hidden text asking it to forward the latest invoices to an external address; if the assistant can send email without confirmation, the attack works.
A Related services
· Related concepts
§ Related regulation in Uruguay
? Frequently asked questions
Can it be eliminated completely?
There is no definitive fix today, so systems are designed assuming it can happen and limiting what the AI can do unsupervised.
How do you test whether a system is vulnerable?
With AI-specific security testing: direct and indirect malicious inputs against the real system, with its data and tools.