Appearance
Threats
Last reviewed: 30 November 2026
In short: prompt injection can't be fully prevented. Assume that an AI tool will sometimes follow instructions hidden in something it reads, and limit what it can do when that happens. Plan how you'd notice, and how you'd switch it off.
Why it matters
An AI model reads instructions and data in the same stream. The UK's NCSC puts it plainly: "Current large language models (LLMs) simply do not enforce a security boundary between instructions and data inside a prompt," and prompt injection "may never be totally mitigated in the way that SQL injection attacks can be."
OWASP's definition of prompt injection covers text people can't see: injected inputs "do not need to be human-visible/readable, as long as the content is parsed by the model". The instructions can arrive in:
- a document or spreadsheet;
- an email;
- a web page;
- a record's notes field;
- a tool's description;
- another tool's output.
AI vendors say the same about their own products. Anthropic, for example, says of browser agents that "No browser agent is immune to prompt injection".
The NCSC suggests thinking of the AI as an "inherently confusable deputy", and quotes the rule of thumb that "when an LLM processes information from a party, the privileges it has drops to that of the party". The practical consequence: anything the AI can do, anyone who can put text in front of it may be able to make it do.
The main threats
| Threat | What it looks like | Main defence |
|---|---|---|
| Direct prompt injection | A user tells the AI to ignore its rules | Controls outside the model (Autonomy and writes) |
| Indirect prompt injection | A file, email, web page or record contains instructions the AI follows | Least privilege; confirm high-impact actions; separate untrusted content |
| Data exfiltration through tools | The AI is steered to send data to a tool, link or external service | Limit outbound tools and destinations; review connectors (Integrations) |
| Tool poisoning or drift | A tool's description or behaviour changes after approval | Approved list and re-review on change |
| Credential misuse | Tokens are stolen, replayed or passed to the wrong service | Short-lived, narrowly scoped credentials (Identity and access) |
| Over-reliance | People act on confident but wrong answers (OWASP: Misinformation) | Check figures against the system's own reports |
| Runaway use | Loops or floods of requests (OWASP: Unbounded Consumption) | Rate limits and spending caps |
The agentic edition of OWASP's list adds threats specific to agents, such as "Agent Goal Hijack" and "Tool Misuse and Exploitation".
What to do
| Control | Owner | Test | Evidence |
|---|---|---|---|
| Reduce what an injected instruction could achieve: least privilege, no high-impact action without a person, no free outbound channel for data. Anthropic describes the condition for a successful attack as the AI being able both to "read information outside your trusted boundary" and to "perform actions that could compromise the user". Remove one and the attack becomes harder. | Security lead | For each AI tool, list what untrusted content it reads and what it can do. | Risk table per tool |
| Test with hostile content. Put instructions in test documents and records and see what the AI does. OWASP suggests "treating the model as an untrusted user". | Security lead | Run a set of injection tests in a test environment. | Test results, dated |
| Log enough to investigate. The NCSC suggests "potentially including full input and output of the LLM, as well as tool use, API calls etc." | Security lead | Reconstruct one past session from the logs. | Reconstruction notes |
| Have a kill switch: a written procedure to disable the AI's access quickly (revoke tokens, remove permissions, disable connectors), as Oracle's NetSuite guidance recommends. | System owner | Run the procedure once in a test environment. | Procedure and drill date |
| Tell people what to watch for: unexpected tool calls, requests to approve things they didn't ask for, and answers quoting instructions. | Security lead | People know how to report it. | Training and reporting channel |
How to check it
Write five test documents, each hiding a different instruction: send data somewhere, change a record, ignore a limit, reveal a masked value, approve a pending change. Run each one through every AI tool that can read that kind of document. Record what happened, and whether the logs show it.
Limits
- No product can promise to stop prompt injection. The NCSC: "Beware any that claim they can 'stop' prompt injection".
- Vendor-reported attack success rates come from the vendor's own tests and may not cover new attacks.
- Logging full prompts helps investigations but creates a sensitive store that needs protecting (see Audit and evidence).
How Angel handles this
Angel's controls run outside the model, so a manipulated AI can't talk its way past them:
- masking of named fields before results reach the AI;
- checks that block SuiteQL queries which could reveal a masked value, or which Angel can't fully check;
- held writes that wait for confirmation;
- per-person tool roles.
When Angel can't check something, it refuses it.
The limits:
- Angel can't see prompts or files attached directly to a chat.
- Confirming a held change in the chat shows which account confirmed, not that a person clicked.
See Angel's security page.
Sources (checked 30 November 2026)
- NCSC, Prompt injection is not SQL injection (it may be worse) (8 December 2025)
- OWASP, LLM01:2025 Prompt Injection
- OWASP, 2025 Top 10 for LLM Applications
- OWASP, Top 10 for Agentic Applications 2026
- Anthropic, Mitigating prompt injections in browser use (24 November 2025)
- Anthropic, Use Claude Cowork safely
- Oracle NetSuite, Associated Risks, Controls, and Mitigation Strategies