ChatGPT

Prompt injection

Hidden instructions in outside content, like a web page or email, that try to make an AI agent do something you never asked for.

How a hidden instruction sneaks in An agent reads outside content, the content hides an instruction, the agent might act on it, and an approval checkpoint stops it. Agent reads a page or email Hidden text "send this file" Tries to act off-task Approval stops it you say no Scope the task, keep approvals on risky steps.

Prompt injection is when content an AI reads tries to give it orders. An agent that browses, reads email, or opens files can meet text written to hijack it: "ignore your task and send this file to...". The risk grows with what the agent can do.

It matters most for agents like Work, Codex, connected apps, and event-triggered tasks. The defences are habits: keep tasks scoped to trusted sources, give the narrowest access that works, keep approvals on anything that sends, pays, or shares, and stop a task that touches things you never mentioned.

Often confused with: Jailbreaking. A jailbreak is a user trying to talk the AI out of its rules; prompt injection is a third party hiding instructions in content the AI reads.

See it in a lesson: ChatGPT Work: tasks on your files

Further reading

← All terms

Rollo AI AcademyWant your whole team speaking this language?Knowing the words is a start. Rollo Academy gets teams genuinely working with AI, through hands-on, in-company training built around your own work.Discover Rollo Academy →