Research 04 / Track 01 / What goes wrong with AI-built software

Prompt injection in AI features: designing for the trick you cannot prevent

If a model can read it, an attacker can try to instruct through it. Design for that.

Swallowtail Systems™  /  Published November 30, 2026  /  3 min read

Key points
  • Prompt Injection is LLM01 in the OWASP Top 10 for LLM Applications 2025.
  • Private data plus untrusted content plus an outbound channel is the combination to break.
  • Most practical fixes remove the outbound leg or put a human in front of it.

Why it persists

A language model does not reliably separate instructions from data. Text in an email, a document, a web page or a tool response can be read as a command. OWASP lists Prompt Injection first in its 2025 LLM list and describes both direct and indirect forms 12.

Three legs

Simon Willison's framing has become a common reference: the dangerous case is an agent that combines access to private data, exposure to untrusted content, and the ability to communicate externally 3. In a later piece he argues the most reliable mitigation is to remove one of the legs, most often the outbound one, through network allowlists, link and image filtering, and human approval for sends 4.

Design patterns we use

  • Split roles. The component that reads untrusted content does not hold credentials to sensitive systems.
  • Constrain outputs. Structured outputs checked against an allowlist before any action.
  • Gate the exits. No sending, posting or fetching to new destinations without approval.
  • Bound the blast radius. Scoped, expiring credentials and spend limits.
  • Test like an attacker. Seed test content with injected instructions and confirm nothing happens.

Our read

Vendors keep improving model resistance, and that matters. We still design as if an injection will eventually succeed, because the cost of being wrong is set by what the agent can reach, not by how clever the prompt was.

For teams shipping AI-built software

What this means for your team

  1. List every AI feature that reads content your organization did not write.
  2. For each, confirm it cannot both read sensitive data and send data out.
  3. Add injection test cases to your pre-launch checks.
  4. Require approval for any new outbound destination.

This is Swallowtail Systems™ analysis of public sources. Figures belong to the organizations cited, and we link every one. Nothing here describes a client engagement.

Sources

  1. OWASP Gen AI Security Project, Top 10 for LLM Applications 2025
  2. OWASP, LLM01:2025 Prompt Injection
  3. Simon Willison, "The lethal trifecta for AI agents" (June 16, 2025)
  4. Simon Willison, "How to stop AI's lethal trifecta" (Sept 26, 2025)

/ Next step

Want this read against your own systems?

In a 30-minute briefing we walk through what we would look for in your environment and what a written scope would include.

Request a briefing