Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Indirect prompt injection

Definition

Prompt injection delivered through content the model reads, such as a web page, email or tool output, not typed by the user.

In more detail

The person using the assistant may be the victim rather than the attacker. Any agent that browses, reads email or processes uploaded documents is exposed.

The attack hides instructions in content the model will read: a web page, an email, a code comment, a PDF, a tool description or the output of another tool. Nothing in today's models reliably separates data from instructions, so defences are architectural: limit what the agent can do after reading untrusted content, require approval for actions that send data out, and avoid combining private data, untrusted content and an exfiltration path in one agent.

  • Browser agent

    An agent that navigates websites and acts on them, such as filling forms, clicking through flows or extracting information from pages.

  • Prompt injection

    Input that overrides or subverts a model's instructions, either typed in directly or hidden in content the model reads while it works.

  • Tool poisoning

    Malicious instructions hidden in a tool's description, parameters or output that manipulate the agent using it without the user seeing them.

  • Agentic browser

    A web browser with a built-in assistant that can click, type, fill in forms and move between sites for you, inside your own browsing session.

  • Lethal trifecta

    Access to private data, exposure to untrusted content and a way to send data out: together they make data theft by prompt injection possible.

  • Prompt injection basics for builders

    How direct and indirect prompt injection work, why agents with tools raise the stakes, and the design choices that limit the damage when no complete fix exists.

    TutorialBeginner30 min

  • Lethal trifecta

    Access to private data, exposure to untrusted content and a way to send data out: together they make data theft by prompt injection possible.

    Glossary

  • AGENTS.md vs Agent Skills: which one you need, and where MCP fits

    AGENTS.md vs Agent Skills: what an instruction file and a skill each do for a coding agent, when to use which, and how MCP servers fit alongside both of them.

    Article