Prompt injection
An attack where instructions hidden in content an AI reads, such as an email or web page, make it do things its user never requested.
How settled is it?
Mostly settled
Most people and products mean the same thing, with small differences.
How did we score this?Who uses it?
Everyone
You'll hear it across the company, in rollout emails, meetings and policies.
What it is
When an AI reads something on your behalf, like an inbox, a shared file or a web page, that content can carry instructions planted by someone else, and the AI may follow them as if they came from you. The risk grows with what the AI can do: an agent with connectors and tools might forward files, change records or send messages. It's like a forged note slipped into an assistant's in-tray that looks like it came from the boss.
Keeping it straight
How you'll hear it
“Before we let the agent triage the shared inbox, what stops a vendor email from telling it to forward our invoices?”
People also say indirect prompt injection or document attack.
Not to be confused with
In a jailbreak, the person typing tries to get the AI past its own safety rules. In prompt injection, someone else hides instructions in content your AI reads, and you are the target.
The honest part
No major AI lab claims to have solved this. Anthropic calls it "far from a solved problem" and OpenAI describes it as social engineering aimed at the AI instead of at you. The defenses that hold up are about limits, not cleverness: give the AI access only to what the task needs, keep a person approving actions that matter, and give it specific instructions rather than open-ended ones. The more an AI can do, the more an injected instruction can do, which is why IT may block agents or browser extensions at work that you can use freely at home.
Your move
What this looks like in your work, and how to handle it.
People and HR
When AI helps screen résumés, remember a résumé can contain text aimed at the AI rather than at you. Have it summarize each candidate against your criteria, then make the shortlist yourself instead of accepting its ranking as final.Finance
If an AI summarizes supplier emails, never let it change payment details on its own. Treat any request for new bank details it surfaces as a flag, and confirm the change by calling a contact you already have on file.Sales
When an AI researches prospects across the open web, give it a narrow task, such as pulling recent news into a summary, and keep it from sending emails or updating the CRM in the same run. You review its findings before anything leaves your hands.Marketing
If you use an AI browser extension to review competitor sites, run it in a separate browser profile that isn't signed in to your ad accounts or social channels. You still get the competitive summary, and a hidden instruction on a page has nothing of yours to act on.Operations
Before connecting an agent to a shared inbox or ticket queue, list the actions it can take and switch on approval for anything that moves money, data or orders. It drafts and sorts; a person confirms before anything leaves.Legal
When you ask AI to review a contract from the other side, read its summary against the document rather than trusting it alone, and tell it to point out any text addressed to an AI. Ask your AI vendor how their tools handle instructions found inside documents.Customer Support
An AI reading inbound tickets should draft replies, not issue refunds or change account settings without approval, because a ticket can carry instructions. If its draft does something the customer never asked for, stop and report it.
In your tools
- Claude: Use Claude in Chrome safelyOfficial docs for Use Claude in Chrome safely (opens in a new tab)
- Claude: Mitigate jailbreaks and prompt injectionsOfficial docs for Mitigate jailbreaks and prompt injections (opens in a new tab)
- ChatGPT: Understanding prompt injectionsOfficial docs for Understanding prompt injections (opens in a new tab)
- Gemini: Indirect prompt injections and Google's layered defense strategy for GeminiOfficial docs for Indirect prompt injections and Google's layered defense strategy for Gemini (opens in a new tab)
- Microsoft: Prompt Shields (document attacks) (closest equivalent)Official docs for Prompt Shields (document attacks) (opens in a new tab)
- Microsoft: Defend against indirect prompt injection attacksOfficial docs for Defend against indirect prompt injection attacks (opens in a new tab)
Read next
- JailbreakA request crafted to get an AI to ignore its own safety rules or instructions and produce something it would normally refuse.
- GuardrailsLimits built into an AI tool that automatically check or block what goes in, what comes out or what actions it takes.
- Data privacyIn AI tools, what happens to what you type, paste or upload, including whether it is stored, seen by people or used to train models.
Missing a word? Suggest one