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

Embedding Collision and Near-Duplicate Attacks

Indirect & Retrieval · L2/L4 · RAG + memory

Crafted records that collide with high-value embeddings let one poisoned vector stand in for many queries. The attack exploits the geometry: the attacker's record is the nearest neighbor for content they don't even own.

01Control Architecture

How it is defended

Collision testing on ingest: anomaly detection on embedding proximity per topic cluster, with provenance checks that quarantine any record claiming to represent content it has no origin for. Geometry is audited, not trusted.

02Why It Breaks Naive Defenses

Crafted records that collide with high-value embeddings let one poisoned vector stand in for many queries. The attack exploits the geometry: the attacker's record is the nearest neighbor for content they don't even own. Collision testing on ingest: anomaly detection on embedding proximity per topic cluster, with provenance checks that quarantine any record claiming to represent content it has no origin for. Geometry is audited, not trusted.

👤 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

What is an embedding collision attack?

An attacker embeds records that collide with high-value vectors, hijacking retrieval for content they don't own. Ingest-time proximity anomaly detection plus provenance checks quarantine collision records before they can hijack queries.

How do you defend against embedding collision and near-duplicate attacks?

Collision testing on ingest: anomaly detection on embedding proximity per topic cluster, with provenance checks that quarantine any record claiming to represent content it has no origin for. Geometry is audited, not trusted.

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