The AI feature you just shipped is a new attack surface, and your old testing does not cover it. Securing it means testing the model, the tools it can call, and the data it can reach as one system. Here is how, mapped to the OWASP LLM Top 10.
Planck Defense · Offensive Security Team · August 25, 2026 · 8 min read
Shipping an LLM feature is easy; securing it is not. An assistant, a copilot, or an autonomous agent adds something a normal web application never had: a natural-language attack surface where the instructions and the data flow through the same channel, and where the model can be steered by content it reads at runtime. Point a traditional scanner at it and you learn almost nothing, because the interesting failures are not signatures in a response, they are behaviors you have to provoke.
Testing an AI system means treating three things as a single target: the model, the tools it can call, and the data it can reach. A weakness in any one becomes real risk only in combination, so the job is to find the combination.
The OWASP LLM Top 10 is the standard reference for what to cover. In practice, a handful of classes carry most of the real risk:
The failures worth finding are chains, not single prompts. A representative example, of the kind an agentic tester assembles and reproduces:
No signature scanner finds that, because nothing in it is a known bad pattern. It is a reasoning failure across model, tools, and data — which is exactly what an agent that reasons about multi-step manipulation, and reproduces the chain end to end, is built to surface.
Testing an AI agent is, fittingly, a job for an agent. The tester has to hypothesize a manipulation, carry it through several steps, observe non-deterministic behavior across repeated attempts, and confirm real impact rather than a one-off fluke. That is the same loop an agentic penetration testing agent runs against any target, applied to the model, its tools, and its data — and because every finding is reproduced before it is reported, you get proven AI risk instead of a screenshot of the model saying something odd once.
Automation covers breadth and repetition; people bring the creative, context-heavy attacks a framework cannot enumerate: the social-engineering angle on a specific workflow, the business-logic abuse unique to your product, the judgment call on whether a behavior is acceptable risk or a real finding. As with the rest of offensive security, the strongest AI testing pairs continuous agentic coverage with human depth on the hard cases.
You test the model, the tools it can call, and the data it can reach as one system. That means probing for direct and indirect prompt injection, checking how the application handles model output, testing whether the agent's tools can be abused to take unintended actions, and trying to exfiltrate sensitive data through the model. The OWASP LLM Top 10 gives the standard set of attack classes to cover.
Prompt injection testing checks whether untrusted input can override an application's instructions to the model. Direct injection comes from the user; indirect injection hides instructions in content the model later reads, such as a document, web page, or record in a RAG pipeline. The test is not just whether the model can be tricked, but whether that trick reaches a tool call or data access with real consequences.
An AI agent adds a natural-language attack surface and non-deterministic behavior. The same input can produce different outputs, the model can be steered by data it reads at runtime, and an agent with tools can turn a manipulated response into an action. Testing has to reason about multi-step manipulation and confirm real impact, which is why an agentic tester that reproduces exploits fits the problem well.
Why every finding is reproduced before it reaches you, chained end to end.
Read → ServiceTesting for prompt injection, tool abuse, and data exfiltration, mapped to the OWASP LLM Top 10.
Read → PlatformAgents, tools, and RAG pipelines, tested by an agent that reasons and proves.
Read →Give us the assistant, agent, or RAG pipeline and the rules of engagement. We will return a scoped run and prove what an attacker could actually do.