Data leakage across users or tenants: enforce permissions in the retrieval query and test with adversarial users.
Indirect prompt injection: retrieved documents can contain instructions; treat them as untrusted data, delimit them in the prompt, and limit what tools the model can use after reading them.
Knowledge-base poisoning: control who can write to the corpus, track provenance, and review or scan new content; also redact secrets and personal data before indexing.
Loading…