RAG SHIELD · LIVE

Stop indirect prompt injection hidden in the documents your RAG pipeline retrieves

Documents can carry instructions. LLM Shield screens retrieved chunks and ingested documents for indirect prompt injection before they reach your model, with the same API and the same call as every other surface. It works in any language or encoding, shows the evidence span inside the chunk, and fails closed on any error.

Live today, same API, same call.

01 · THE RAG THREAT MODEL

What is indirect prompt injection in a RAG pipeline?

DOCUMENT POISONING

Adversarial content planted in your knowledge base.

Any system that ingests external documents: web scrapers, document uploads, email attachments, shared knowledge bases. Each is a poisoning target. A single document containing embedded instructions can influence every query that retrieves it. Because RAG systems pass retrieved content directly into context, the model has no way to distinguish poisoned chunks from legitimate ones.

SEARCH RESULT INJECTION

Retrieval itself can be weaponized.

Attackers who understand your retrieval system can craft queries, or plant documents that consistently surface adversarial content at the top of results. The model receives clean-looking chunks ranked as highly relevant, with adversarial instructions embedded in what appears to be the most authoritative retrieved context.

THE SHARED KNOWLEDGE BASE RISK

Enterprise RAG systems frequently ingest content from shared repositories, wikis, or third-party data feeds. Any contributor to those sources, internal or external, can plant a Trojan document. The attack doesn’t require access to your infrastructure; it only requires access to a document source your RAG system trusts.

02 · HOW IT WORKS

How does LLM Shield screen retrieved documents?

Live today, same API, same call.

01 · RETRIEVE

Your pipeline retrieves chunks

Retrieved chunks, ingested documents, web pages and email bodies: anything your RAG pipeline is about to place in the model’s context.

retriever · top-k
02 · SCREEN

Send each chunk to the same endpoint

The same call you use for prompts. In any language or encoding, the response carries a risk score, the evidence span inside the chunk and a recommended action.

POST /v1/analyze · fails closed
03 · ACT

Drop or flag poisoned chunks

Your application applies PASS, LOG, FLAG or BLOCK before the model reads the chunk, so a planted instruction never reaches the answer.

DETECT · SHOW · BLOCK
03 · DEPLOYMENT

Where can it run next to my knowledge base?

  • Hosted API
  • In your VPC
  • On-premises
  • Air-gapped

Same detection quality everywhere it runs: hosted, in your VPC, on-premises or air-gapped. It is the same model we trained.

MEASURED

How well does LLM Shield detect attacks?

99.78% ROC AUC. 1,700 of 1,700 attack samples flagged or blocked, none passed. Zero errors across 7,084 requests.Measured on our live public API, September 2026, over 7,084 requests.

See the measured results
BOOK A DEMO

Want to see it on your own documents?

Live today, same API, same call. Bring a few documents and we will show you the evidence span inside each poisoned chunk.

Book a demo

Stop poisoned documents before they reach your model.

Book a live demo and bring your own documents.

Book a demo LLM Shield Overview