Start a project
Security/AI agent security

Security testing for AI agents.

Agents read untrusted content and act with real credentials. We test what that combination allows.

reading emailLLM01
hidden instructionbody
01
What we test

Injection, agency and disclosure. Fourteen checks across the three.

Indirect prompt injection · OWASP LLM01
01Retrieved content

Injection through documents, email, web pages and repositories that the model retrieves or is given.

02Tool output and tool descriptions

Injection through the results a tool returns and through MCP tool descriptions the model reads as instructions.

03Exfiltration paths

Data moved out through rendered links and images, and through outbound tool calls such as email or HTTP requests.

04Persistence

Instructions written into agent memory, notes or saved settings that carry into later sessions.

05Agent-to-agent propagation

A compromised agent passing instructions to another agent or to a shared workspace.

Excessive agency · OWASP LLM06
06Tool allowlists

Which tools each agent can call, per agent and per task, compared with what the task requires.

07Argument validation

Whether tool calls are checked against allowed values, recipients, amounts and record ownership.

08Credential scope

The tokens and OAuth scopes an agent holds, and what else those credentials can reach.

09Approval gates

Which writes, payments and outbound messages require a person, and whether the gate can be bypassed.

10Execution and egress

Sandboxing for code execution and limits on where an agent can send network requests.

Disclosure and retrieval · OWASP LLM02, LLM07, LLM08
11Cross-tenant data

Whether one user or customer can obtain another’s data through shared context, memory or retrieval.

12System prompt and tool schema extraction

What the system reveals about its own instructions, tools and internal structure.

13Credentials in prompts

Keys, tokens and connection strings placed where the model, and so a user, can read them.

14Retrieval access control

Whether retrieved chunks are filtered by the caller’s permissions, and whether the index can be poisoned.

02
Example

Access granted to three agents in one business.

A permission review starts from a table like this: each agent, each system, and the access the task requires.

CalendarCustomersPaymentsEmailFiles
Booking agent
Support agent
Reporting agent
Read and writeRead onlyNo access
03
Hardening

What we change when access is too broad.

Controls we implement

  • Per-agent tool allowlists
  • Validation of tool arguments against allowed values
  • Credentials scoped to the task
  • Approval steps on writes, payments and outbound messages
  • Limits on network egress and code execution

How they are verified

  • Each injection path is retested after the change
  • Each tool is called with out-of-policy arguments
  • Credentials are tested against systems outside the task
  • Approval steps are tested for bypass
  • Results are recorded in the report

Discuss a project or a security review.

Contact us →