APEX 100 · AI Security Red Teaming · #026 · Indirect & Retrieval — L2/L4 · RAG + memory

Vector Database Record Poisoning

Indirect & Retrieval · L2/L4 · RAG + memory

Attackers who can add records embed records engineered to win retrieval for chosen queries — the store itself becomes the injection vector. The attack is silent: every retrieval looks like a legitimate nearest neighbor.

01Control Architecture

How it is defended

Adversarial store tests: canary queries per tenant, cosine-anomaly detection on ingest, and signed provenance on every vector. A record that cannot prove its origin never reaches the model.

02Why It Breaks Naive Defenses

Attackers who can add records embed records engineered to win retrieval for chosen queries — the store itself becomes the injection vector. The attack is silent: every retrieval looks like a legitimate nearest neighbor. Adversarial store tests: canary queries per tenant, cosine-anomaly detection on ingest, and signed provenance on every vector. A record that cannot prove its origin never reaches the model.

👤 Dr. Deepanjan Saha · Chief AI Security Red Team Principal & Chief Cybersecurity Architect (CAISO) · 15+ yrs · 47+ CVEs · 200+ pentests · 12 patents
📞 +91 98317 43870 · 💬 WhatsApp · ✉️ core.deepanjan@gmail.com · 🔗 LinkedIn: DRDEEPANJANSAHA · 🌐 drdeepanjansaha.github.io

Book the engagement that kills this, measured

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.

03FAQ

How do you detect poisoned records in a vector database?

Run adversarial tests against the store: canary queries, anomaly detection on embedding proximity, and provenance attestation per record. Records that fail provenance are quarantined before they can be retrieved.

How do you defend against vector database record poisoning?

Adversarial store tests: canary queries per tenant, cosine-anomaly detection on ingest, and signed provenance on every vector. A record that cannot prove its origin never reaches the model.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · AI SECURITY RED TEAM · EST. 2010 · 47+ CVEs · 200+ PENTESTS · 12 PATENTS