AI APPLICATION SECURITY
A New Attack Surface
A large language model follows instructions in whatever text it reads. In an application, that text does not only come from your users: it comes from documents, emails, web pages, and the output of tools the model calls. Anyone who can place text in front of the model can try to change what it does. How much damage that causes depends on the rest of your application: which data the model can see, which tools it can call, and what happens with its output. That is why we test both the model’s behavior and the code around it.
What We Test
We test whether prompt injection, typed by a user or hidden in a document, a web page, or a tool’s output, can make the model leak data or take actions it should not. We check that the model can reach only the tools and data that the current user is allowed to use, and that this is enforced in your code rather than requested in a prompt. Where the model retrieves documents to answer a question, we check that it cannot retrieve those of other users or tenants. And we follow the model’s output to where it is used: rendered in a browser, passed to a database or an API, or handed to another agent, where it can turn into classic vulnerabilities such as cross-site scripting or injection.
We check these applications against the OWASP Top 10 for LLM Applications. Our focus is the security of your application, meaning what an attacker can make it do, rather than whether the model can be talked into saying something it should not.
Starting From the Code
As in all our security assessments, we read the code as well as testing the running system. The code shows how prompts are assembled, which tools are exposed and with which permissions, and where authorization checks happen or are missing. This matters for the fix: most of these vulnerabilities are not solved by a better prompt, but by limiting what the model can reach and treating its output as untrusted input. We help your developers make those changes.
An assessment can cover the AI features alone or the whole application around them.
Talk to Us About Your Project
Tell us what you are building and what worries you about it. We reply within one business day.
Contact Us