The instructions can be typed in directly or hidden in a document, an email or a web page the tool is asked to read. A model cannot reliably tell the content it is reading from the instructions it should follow.
The harm depends on what the tool is able to do, so limiting its access and requiring approval for actions both reduce it.
- How you’ll hear it
- “An invoice contained hidden text telling the agent to change the bank details, which is a case of prompt injection.”
- Often confused with
- A badly written prompt. Prompt injection is a deliberate attack by someone else.
- A question to ask
- What could this tool do if it followed instructions hidden in a file it reads?
- Related terms
- Read more
- Sources
- U.S. National Institute of Standards and Technology, Computer Security Resource Center glossary: prompt injection
The example is fictional. This is general guidance, not advice for your situation.