Highlights
Introducing TrustGraph Understand Incode’s approach to age assurance Introducing GovFaceMatch 3 years in a row named a Leader
01/04
01/04
Agentic fraud

Indirect prompt injection

An attack in which someone hides instructions inside content an artificial intelligence (AI) agent will read, such as a web page, an email, a product listing, or a document, so the agent follows them without the user knowing.

For example, a fake store could hide text on a product page telling a shopping agent to buy there at any price, or an email could tell an inbox assistant to forward the user's security codes.

FAQ

Frequently asked questions

Still have questions? Talk to an expert
What is indirect prompt injection?

Indirect prompt injection is an attack in which hidden instructions in a web page, email, or document make an AI agent that reads it act for the attacker.

How is indirect prompt injection different from direct prompt injection?

In direct prompt injection, the attacker types instructions into the AI system. In indirect prompt injection, the attacker plants them in content an agent will read, so the victim is usually the agent's user.

Can indirect prompt injection affect shopping agents?

Yes. A product page or review can hide text telling a shopping agent to pick a seller or ignore price limits, so purchase limits belong outside the agent.

Who first described indirect prompt injection?

Kai Greshake and colleagues named indirect prompt injection in a 2023 paper that attacked real AI-powered search tools.

How can businesses reduce indirect prompt injection risk?

Businesses reduce indirect prompt injection risk by limiting what agents can do after reading untrusted content, enforcing limits in ordinary code, and requiring approval for sensitive actions.