02 — AI agent security
AI agent security: prompt injection, permissions and credentials
An assistant that reads emails, documents or web pages can take orders from whoever wrote them. We check what it could do with those orders in your company and what needs limiting, without real data and with written permission.
The security of an AI agent depends less on the model than on three things: what outside content it reads, what data it can reach and what it can do on its own. We review those three things and test whether the agent obeys instructions hidden in that content (prompt injection), using test markers instead of real data and under written authorisation. You get the risks ranked by impact and what to restrict.
Who it is for
For the leadership of a company that already uses, or is about to launch, an AI assistant or agent connected to its systems: one that answers customer emails, one that summarises supplier documents, an agent that queries the ERP or the booking system, a website chat that can open tickets or change orders. It makes no difference whether your team built it, a supplier did, or it comes inside a tool you already pay for.
It is requested by whoever has to sign off that agent for production, or whoever is asking what would happen if someone wrote to it with bad intentions.
Why “the model is secure” is not enough
Prompt injection is first on OWASP’s list of risks for applications built on language models (LLM01 in the current 2026 edition), and OWASP acknowledges it is unclear whether any fool-proof prevention exists. In December 2025 it also published a separate list for agentic applications, because an agent that acts on its own multiplies what can go wrong. The UK’s National Cyber Security Centre (NCSC) went further in December 2025: current models do not enforce a boundary between instructions and data in what they read, and are best treated as an intermediary that is inherently open to confusion.
The practical consequence for leadership is clear: the goal is not to find the perfect filter, but to keep the possible damage small when the agent does get confused. That is a design and permissions decision, and it can be reviewed.
The three questions that set the risk
Before testing anything, we recommend answering these three questions for each agent. If all three come out “yes”, the risk is high even if the agent performs well in demos.
| Question | Examples of “yes” | What gets reviewed |
|---|---|---|
| Does it read content written by outsiders? | Incoming email, web forms, supplier documents, web pages, reviews | Where a hidden instruction could get in |
| Can it reach data that must not leave? | Customer data, prices, contracts, credentials, its own instructions | What the agent sees and under which account |
| Can it act or send something out? | Send emails, call APIs, create orders, open links, write to the ERP | Which actions it has and which need a person to confirm |
If one of the three is properly closed off, the most serious data-leak route is cut, but not every risk: a hidden instruction can still alter answers or trigger actions with whatever permissions the agent has. For example: an agent that reads customer emails and looks up bookings, but cannot send anything without a person approving it, still needs a review of what it sees and what it proposes. OWASP calls the risk of giving an agent more functions, permissions or autonomy than it needs “excessive agency”, and its first recommendation is to cut back all three.
What we review
- Inputs: everything the agent reads and who can write it. That includes hidden text in emails and documents, which a person does not see but the model does.
- Permissions and tools: which functions it has, which account it acts under and whether it follows least privilege. An agent that looks up bookings does not need to be able to delete them.
- Credentials: where the API keys are, who can see them and whether the agent could reveal them.
- Human confirmation: which actions require a person to approve them, and whether that approval can be bypassed.
- Logging: whether there is a record of what the agent did and of the calls it attempted that failed.
- Prompt injection test: we send the agent content with hidden instructions that point at a test marker (a string or a made-up record we plant beforehand). If the agent returns the marker or does what the instruction asked, it has obeyed. We never ask for real data.
What your company receives
- A map of the agent: what it reads, what it reaches and what it can do, on one page the leadership team can follow.
- The test result against a pass/fail criterion signed before work begins. A fail, for example: the agent returns the marker, reveals its internal instructions or carries out an action the hidden content asked for.
- Risks ranked by business impact, each with the measure that reduces it: removing a tool, separating an account, requiring confirmation, filtering hidden content before it reaches the model.
- A retest once your team or supplier has made the changes.
What it does not include
We do not choose or roll out the agent: if you want one built, Arteco Consulting’s development team does that under a different service, and here we only review. We do not test with real data belonging to your customers or to third parties. We do not assess answer quality, bias or compliance with the EU AI Act: this is a security review. We do not monitor the agent continuously. And we do not promise it will be immune to prompt injection: nobody can today.
Written authorisation and scope
The test runs on your system and with your signature: a test plan that sets which agent, which channels, which window, which markers and what counts as a fail. If the agent belongs to a supplier, they need to know. No test message is sent outside the agreed window. The details are in the method.
Frequently asked questions
Our assistant comes from a major vendor. Does it still need reviewing?
Yes, if you have connected it to your data or given it tools. The vendor answers for the model; the connection to your email, your ERP or your documents, and the permissions you granted, are yours.
Can the test break anything?
We design it not to. The test content asks for a made-up marker, not for real data or real actions, and risky actions are tested in a test environment or with an account that has no effect. What may be touched is written into the plan.
How often should it be repeated?
Whenever something the table measures changes: a new content source, a new tool, more permissions or a change of model. An agent that cannot send emails today and can tomorrow is a different agent.
Does it cover agents using MCP or other integrations?
Yes. However the agent connects to its tools, we review which tools it has, with what permissions and who can influence what it reads.
Next step
If you want to understand the problem before asking for anything, the guide to AI agent security and prompt injection explains it for leadership teams. How we authorise and test is in the method. If you already have an agent running, write to us with your answers to the three questions in the table.
Sources
- OWASP GenAI Security Project, Top 10 for LLM Applications 2026 (August 2026): LLM01 (prompt injection) and LLM03 (excessive agency). Accessed 2 December 2026.
- OWASP GenAI Security Project, Top 10 for Agentic Applications for 2026, 9 December 2025. Accessed 2 December 2026.
- NCSC (UK), Prompt injection is not SQL injection (it may be worse), 8 December 2025. Accessed 2 December 2026.
Which system worries you?
Email us what you want reviewed and by when. We will reply with what we would review first and how we would scope it. Please do not send us credentials or sensitive data.