Illustrative retrieval flowRetrieved content
User query
Retrieval
Context
LLM application
Connected APIs
LLM & RAG Penetration Testing

Test What Your AI Retrieves, Reveals and Trusts.

An assistant can look secure in a demo and still expose private documents, cross tenant boundaries or follow malicious instructions buried in retrieved content. Our specialists test your LLM application, RAG pipeline and connected APIs for security failures with real business impact.

Expert-led TestingOWASP-alignedCREST Accredited

CREST Security Testing of AI accreditation

Why conventional app tests miss AI risks

The attack may arrive through a trusted-looking answer

A user query is not the only input. Retrieved files, knowledge-base articles, search snippets, embeddings and model tool outputs may contain attacker-controlled text.

The access control must survive every retrieval step

Security cannot rely on an LLM remembering tenant boundaries. Authentication and authorisation should constrain document retrieval, context construction and downstream actions.

Inputs that may carry attacker-controlled text
Retrieved filesKnowledge-base articlesSearch snippetsEmbeddingsModel tool outputs
Document retrieval
Context construction
Downstream actions
Authentication and authorisation at every step

LLM application coverage

Direct and indirect prompt injection

Test adversarial instructions in user prompts, retrieved passages and external content, including multi-turn conversations.

Sensitive information disclosure

Assess whether application responses expose secrets, hidden instructions, customer data or internal content the requester should not access.

Insecure output handling

Test whether AI-generated outputs become unsafe HTML, commands, SQL, URLs or API parameters in downstream systems.

Authentication and API boundaries

Review user roles, backend API authorisation, session handling and overprivileged service connections.

Session and memory isolation

Check whether prior conversations, saved memory or shared context can bleed between users or tenants.

Abuse and resource consumption

Review rate limits, cost-amplification scenarios and usage controls under a safe, agreed test plan.

RAG-specific coverage

Illustrative RAG architecturePublicPrivate
Ingestion01
Vectors02
Retrieval03
Context04
Generation05
Ingestion

Document ingestion and trust

Evaluate how uploaded files, retrieved data and knowledge sources are classified, filtered and allowed into the model context.

Vectors + Retrieval

Vector store and retrieval permissions

Assess whether document permissions persist through indexing, chunking, embedding queries and result ranking.

Retrieval

Cross-tenant isolation

Test multi-tenant search conditions and whether one organisation can retrieve another organisation's private context.

Context

Poisoned retrieval content

Use controlled malicious passages to test whether instructions within retrieved material can redirect the assistant or connected tools.

The assessment in practice

  1. 01

    Scope models and features

    Identify prompt templates, model providers, environments, retrieval sources, user roles and the data each role should reach.

  2. 02

    Map trust boundaries

    Document where untrusted content enters the application and where responses influence downstream actions.

  3. 03

    Execute targeted scenarios

    Test single-turn and multi-turn input sequences and data-isolation scenarios, focusing on high-priority risk areas.

  4. 04

    Present validated findings

    Provide clear steps, evidence, impact and remediation recommendations tailored to your implementation.

  5. 05

    Retest remediation

    Verify agreed fixes including access controls, retrieval filters, output encoding and permission changes.

What you receive

A practical technical report

Validated findings, relevant logs or transcripts where captured, risk ratings and prioritised recommendations.

A scope and coverage summary

A clear record of assessed features, trust boundaries and test limitations.

Stakeholder-ready assurance information

An executive summary and remediation status that can support appropriate customer or security reviews.

Your AI may know more than the user should.

Tell us what your application retrieves, who uses it and what data it can access. We will outline a focused assessment of your highest-risk paths.

Book an LLM Security Assessment
  • No. Severity depends on whether the input can cause real security impact, such as unauthorised actions or exposure of sensitive data.

  • It assesses the retrieval-augmented application, including data ingestion, indexing, retrieval permissions, tenant boundaries and malicious retrieved context.

  • Yes, focusing on your authorised integration and application controls. Model-provider terms may limit direct model-level attacks.

  • Grey-box access to retrieval design, roles and test documents can improve coverage. We agree the minimum access needed during scoping.

  • Yes. Staging environments are often preferable for intensive or potentially disruptive test cases.

  • No. We report the system, scenarios and conditions assessed rather than claiming universal prevention of prompt injection or jailbreaks.