Term · 11 of 12 · Who is accountable when it goes wrong

Prompt injection

Also called indirect prompt injection

Prompt injection
Prompt injection is an attack where instructions hidden inside content a model reads, such as a web page or an email, get followed as though the operator had issued them, because a model cannot reliably tell data from commands.

01Why it matters

Why does prompt injection matter?

Prompt injection is not a bug with a patch behind it. The same channel carries your instructions and the attacker's, and no amount of prompt engineering separates them dependably, because separating them is not something the architecture does. Every published defence lowers the success rate. None of them close it.

Anyone telling you otherwise has not been asked a hard enough question.

The risk scales with what the system is allowed to do. A model that writes text back to a user has a content problem. A model that can send mail, query a customer database or call a payment API has an authorisation problem. The hostile instruction arrives through content nobody screened: a support ticket, a scraped page, a supplier's invoice, a comment in a repository. The useful question is never whether injection can happen. It is what the system is permitted to do in the seconds after it has.

How Stratition handles it

We treat it as authorisation design rather than as a filtering exercise. Least privilege on every tool an agent can reach, an allow-list instead of a deny-list, no credential the agent can read in plain text, and a human step standing in front of anything irreversible. It is also the first thing we look for in inherited AI-generated code, where a tool wired up with far more access than its task ever needed is the finding we expect to reach first.

See also

The terms this one leans on, and how they connect to each other.

Start here

Tell us what you're trying to build.

One call. We'll tell you how we'd ship it — and what it would take.

  • You own your data and IP
  • NDA on request
  • Reply in one business day