The short answer
If your product has a chatbot, copilot, RAG search or AI agent, a standard penetration test will not cover its biggest risks. An AI or LLM penetration test adds attacks such as prompt injection, data leakage through retrieval, system prompt extraction and agent tool misuse, mapped to the OWASP Top 10 for LLM Applications (2025). Scope the test around what the AI can read, what it can do, and who can talk to it.
The OWASP Top 10 for LLM Applications (2025), as a test checklist
| # | Risk | What we try during a test |
|---|---|---|
| LLM01 | Prompt injection | Direct and indirect injection, including instructions hidden in documents, web pages, emails or tickets the AI reads |
| LLM02 | Sensitive information disclosure | Getting the AI to reveal other users' data, secrets, PII or internal documents |
| LLM03 | Supply chain | Reviewing models, plugins, SDKs and third-party AI APIs for known issues and unsafe defaults |
| LLM04 | Data and model poisoning | Checking whether users can plant content that later changes answers or behavior |
| LLM05 | Improper output handling | Testing whether AI output can trigger XSS, SQL, command execution or unsafe links downstream |
| LLM06 | Excessive agency | Making an agent call tools, send emails, change records or spend money beyond the user's rights |
| LLM07 | System prompt leakage | Extracting hidden instructions, keys or business logic from the system prompt |
| LLM08 | Vector and embedding weaknesses | Cross-tenant retrieval, missing access checks in the vector store, embedding inversion |
| LLM09 | Misinformation | Forcing confident wrong answers in high-impact flows and checking guardrails and citations |
| LLM10 | Unbounded consumption | Cost and denial-of-service attacks: huge prompts, loops, token flooding, missing rate limits |
How to scope the test
Answer these before asking for a quote:
- Which AI features are in scope? Chatbot, internal copilot, RAG search, agent, AI API.
- What can the AI read? Knowledge bases, tickets, emails, CRM, files, the open web. Every source is an injection path.
- What can the AI do? List every tool or API it can call and the permissions behind it.
- Who can talk to it? Anonymous visitors, logged-in customers, staff, other tenants.
- Which model and hosting? OpenAI, Anthropic, Azure, Bedrock, Vertex or self-hosted, and whether data is retained.
- Multi-tenant? If yes, cross-tenant leakage tests are mandatory.
- Environment: a staging copy with realistic test data and test accounts at each role.
A single chatbot with read-only retrieval is a small test. An agent with write access to a CRM, email and payments is a large one, because each tool multiplies the attack paths.
What a good engagement looks like
- Days 1 to 2: threat model of data flows, tools and trust boundaries.
- Days 3 to 7: manual attacks across the OWASP LLM Top 10, plus the normal web, API and authorization tests around the AI.
- Day 8: report with prompts, evidence, impact and fixes.
- After fixes: retest and a letter you can share with buyers.
Fixes that close most findings
- Treat all retrieved content as untrusted input, never as instructions.
- Enforce access control in the retrieval layer, per user and per tenant, not in the prompt.
- Give agents least-privilege tools, with human approval for risky actions.
- Validate and encode AI output before it reaches browsers, databases or shells.
- Keep secrets out of system prompts.
- Add rate limits, token caps and spend alerts.
- Log prompts, tool calls and outputs for investigation, with PII handled carefully.
What it costs
Public prices for specialist AI and LLM penetration tests often start around $8,000 to $10,000 for one application, and agents with many tools cost more. Combining the AI test with your yearly web and API test is usually cheaper than buying them separately. Zuroth's web and API penetration testing starts from $499; AI tests are scoped after a short call.
How Zuroth helps
- Penetration testing for web apps, APIs, cloud and AI features, with reports buyers recognize.
- Secure AI development: we design RAG and agents with tenant isolation, least privilege and guardrails from day one.
- AI governance: testing evidence that feeds ISO 42001, SOC 2 and customer questionnaires.
Next step: book a 30-minute scoping call and get a fixed quote.
Related reading
- Securing AI agents: permissions, guardrails and monitoring
- Penetration test scoping guide
- RAG vs fine-tuning
- Penetration testing services
- SaaS & Technology
Frequently asked questions
What is an LLM penetration test?
It is a manual security assessment of an application that uses a large language model, such as a chatbot, copilot, RAG search or AI agent. Testers try to make the AI leak data, ignore its rules, misuse its tools or run up costs, and they test the normal web and API layers around it at the same time.
Is a normal web app pentest enough for an AI feature?
No. A standard test checks authentication, access control and injection in your web app and APIs, but it does not try prompt injection, system prompt leakage, retrieval leaks or agent tool misuse. Enterprise buyers increasingly ask specifically whether AI features were tested against the OWASP LLM Top 10.
How much does an AI or LLM penetration test cost?
Public prices for specialist AI pentests commonly start around $8,000 to $10,000 for a single application, and rise with the number of models, tools and data sources an agent can reach. Zuroth scopes AI tests after a 30-minute call and can combine them with your yearly web and API test to cut cost.
How often should we test AI features?
Test before launch, after any major change to the model, system prompt, tools or data sources, and at least once a year. Teams shipping AI changes every sprint should add automated prompt-injection checks to CI and keep a manual test for major releases.
What does the report include?
A good report has an executive summary, each finding mapped to the OWASP LLM Top 10 and a severity, the exact prompts or steps used, evidence such as leaked data or unsafe tool calls, business impact, and specific fixes. It should also include a retest letter once issues are closed, which buyers often ask for.