TESTMERA

AI security

To test an application built on a language model, we need to know whose instructions it follows, whose data it can read and on whose behalf it can act. An application that can choose its next step and use tools to carry it out is an agent. How it interprets a sentence can affect both the answer a user sees and an action it takes in another system.

Our services

LLM and agent red teaming

We test whether a user message or material an agent reads can induce a large language model (LLM) application to disclose data or use a tool without permission. For each finding, you receive the relevant conversation and a record of the agent's actions, a severity score and a specific fix.

AI evaluation and grader audits

We independently check whether a model can earn a good score for unfinished work. The audit includes hardening recommendations and a retest. We quote separately to implement the changes.

AI Act technical testing evidence

Your organisation and its legal adviser identify the legal questions and assess how the test evidence can be used. We document the behaviour we observed, the test conditions and the limits of the results. The service excludes legal advice and conformity assessment.

Text can give an agent instructions

A user can authorise an agent to summarise an email. That gives the sender no authority to assign work to the agent. Yet the language model reads sentences written by both people. If the application treats an instruction in the email as the user's request, the task can change. Documents, web pages and text returned by tools raise the same issue.

Prompt injection occurs when untrusted input redirects an application away from its intended instructions or beyond its permissions. Conventional access controls can work exactly as designed. The right person opened the mailbox and the application read the message that person selected. The test examines whether an instruction in that message influenced the agent's next decision.

Example (example.ee). A support worker asks an assistant to summarise a customer's latest email. The customer asks for the team's internal notes on the order. The worker has permission to read the notes. Whether the customer may receive them is a separate question. It matters which details appear on the worker's screen, which make it into a draft reply and whether anyone sends it.

Tools give an agent authority to act

A tool is a connection an agent can use to read a record, change it or send a message. The account behind the connection determines what the tool can do. If several groups share a connection, that account may have broader permissions than the person asking the agent to act. Hiding a button in the interface tells us little about what the tool itself will allow.

The order of events matters. Someone might approve a message after checking the recipient and reading the text. If the agent changes the recipient or adds an attachment later, the approval was for a different message. A short reply in the chat could mean the agent described sending the message, prepared a draft or handed it over for delivery. Each outcome calls for different evidence.

The recipient matters when testing access to data

When an assistant draws on several sources, each lookup needs permissions that fit the user's task. Access to one department's folder confers no rights over another's. The person composing a reply may also have wider access than its intended recipient. Before testing, we agree who owns the data, which role the user holds and who may receive the information. We can then identify the step at which it crossed a boundary.

A fictional note with a known location and readership can make that boundary visible. If the note appears in an answer, we can trace where it went and compare that with the agreed permissions. We also check that the authorised user can still do the work. Otherwise, a fix might appear successful simply because document search stopped working for everyone.

Where to start

Start with the decision your team needs to make. If you are introducing an agent with tools, choose one complete workflow and identify the points where a person must approve an action. If you select models by their scores, start with what the grader accepts as a completed task. If your legal adviser has a technical question, we can connect it to a test, the observations and the known limits.

For an initial quote, describe the workflow, the user roles and the systems the agent can reach. We agree the scope, methods and test window with you. The system owner gives written authorisation before testing starts. We tie each finding to the action and version tested so your team can decide what to change and which test to repeat afterwards.