Embedding & Vector Store Attacks
An embedding is not an anonymous number. It can be turned back into much of the text it came from, it leaks attributes of that text, and whoever can write near it can decide what your AI retrieves. We test whether your vectors are protected like the documents they encode.
Book a ConsultationAI Security › Embedding & Vector Store Attacks
A vector store is as sensitive as the documents it was built from
Vectors tend to get treated as derived data: encrypted less, logged freely, copied to analytics, left out of deletion and retention plans. Published research says that is a mistake. Researchers have reconstructed input text from its embedding, including names in clinical notes; others did it without ever querying the original embedding model; others inferred attributes such as authorship from a handful of labelled vectors. A raw-vector API, a trace log or a backup can be enough.
The other direction matters as much. Retrieval decides what the model reads, so anyone who can place content near the right queries controls the answer, and published work shows a handful of crafted passages can be enough even in a very large corpus. Add a shared index with a tenant filter the application forgets once, and one customer’s documents shape another’s answers. Those are research results on the authors’ own setups, not your risk; your risk is what we measure, with the number of trials, the embedder and the method named.
Who can read your vectors, write near them, or steer them
Vector exposure inventory
Every embedding model and every place vectors live or pass through: the vector database, search fields, semantic caches, logs and traces, exports, backups and the provider’s own retention. Raw vectors reaching a caller are the precondition for everything else.
Embedding inversion
We embed canary text through your real pipeline, retrieve the vectors the way an attacker could, and try to reconstruct the text offline. You get the recovery rate across many canaries, for whole passages and for the sensitive part, with the embedder and method named.
Attribute & membership inference
Can a small model trained on labelled canary vectors predict a sensitive attribute from yours? Can a user tell whether a document is in the index, or enumerate titles and chunks they aren’t allowed to open, from scores, counts and ranks?
Access control & multi-tenancy
Separate indexes, namespaces or a shared index with a filter: we find which one you have and test the boundary it really gives, with two tenants, filter tampering, key scope, write paths, deletion and the vector database’s own authentication and known vulnerabilities.
Nearest-neighbour poisoning
Crafted passages that get retrieved for the queries an attacker chooses, items that show up for many unrelated queries, and triggers that fire only on a rare term. Measured in a test namespace fed by your real pipeline: rank, retrieval rate and how often the answer follows.
Controls that actually hold
Opaque IDs instead of raw vectors, bounded scores, per-tenant isolation enforced by the server, scrubbing before embedding, and inversion-resistant transforms, each one measured before and after rather than assumed.
From canary text to measured rates
Scope & authorise
We agree which stores, pipelines and embedding models are in scope. A hosted vector service’s platform belongs to its operator and needs their permission; your configuration of it is yours to authorise.
Map the vectors
Every embedder, every store, every copy, the tenancy model and what source data each index holds. The classification of a vector is the classification of its source.
Canary experiments
Inversion, inference, isolation and poisoning, each on canary text we wrote. Results are probabilistic, so each is run over many canaries and queries and reported as a rate with its count.
Chain to impact
An exposed vector, an inversion that works and a shared index are one path to another tenant’s data. A poisoned passage that controls an answer feeding a decision is another.
Report & walkthrough
A vector store register, the measured rates with their method, impact-ranked findings and the controls that would have stopped each path, walked through with your engineers.
Retest
We re-run the experiments at the same counts after your fixes and report the new rates. One round of retesting is part of the engagement.
Canary text, test namespaces, nothing left in your index
- We only invert what we wrote — inversion and inference run offline on vectors of canary text we embedded; if we find a real vector exposed, the exposure is the finding and we don’t process that vector further
- Poisoning goes into a test namespace — crafted passages enter a namespace or collection created for the engagement, fed by your real pipeline, and dropped at the end; we never write into a shared production index to prove a point
- Every write is logged and reverted — upserts, metadata changes, namespaces created and index rebuilds go into a write/revert register as they happen, and we confirm no canary reached a shared index or cache
- No traffic to a service you don’t own without its operator’s permission — a hosted vector database or third-party embedding API sets its own rules, and you can’t grant permission on its behalf
- Two real tenants for isolation tests — cross-tenant leakage can’t be shown without a second tenant to play the victim, so we provision them before we start
- Rates, not anecdotes — every result names the embedder and version, the dimension, the method, the number of canaries or trials and the date, so it can be reproduced and compared after a fix
- Research is cited as research — published results describe their authors’ setups; the report states your measured figures and never borrows a paper’s number as your risk
What the testing is built on
Embedding risk is mostly described in research and community guidance rather than law. Checked in November 2026; we confirm the current versions at kickoff.
| Document | Status | How we use it |
|---|---|---|
| OWASP Top 10 for LLM Applications 2026 | Guidance · current edition | LLM09:2026 Vector & Embedding Weaknesses is the home category; disclosure findings also map to LLM02:2026. Always cited with the year, because the 2025 numbering differs. |
| MITRE ATLAS 2026.10 | Knowledge base · adversary techniques | Techniques covering exfiltration through an inference API (which names embeddings), data from retrieval databases and RAG poisoning; identifiers checked against the 2026.10 release. |
| OWASP Top 10 for Agentic Applications (2026) Dec 9, 2025 | Guidance · community list | Retrieval poisoning and isolation failures in agents map to ASI06 Memory & Context Poisoning. Inversion and inference have no entry there, and we don’t force one. |
| Published research | Research · published 2020–2025 | Inversion, transfer inversion, attribute inference, corpus poisoning and adversarial hubness, cited by paper in the report as the basis for each method. |
What you get
- Vector store register — every store and copy, its tenancy model, whether raw vectors are exposed, the embedder and dimension, and the classification of the source data
- Measured attack results — inversion recovery, attribute-inference accuracy and poisoning retrieval rates, each with the method, the embedder and the number of canaries or trials behind it
- Reproducible attack chains — from the first exposure or write path to another tenant’s data or a controlled answer, with the earliest control that breaks each one
- Impact-ranked findings — ranked by what an attacker gains, not by how sophisticated the method was
- Control gaps and coverage gaps, kept separate — weaknesses with no demonstrated impact, and tests whose preconditions weren’t met, with the reason
- Fixes at the right layer — server-enforced isolation, opaque IDs and bounded scores, least-privilege keys and deletion that reaches every copy, before probabilistic transforms
- Data-protection notes — where vectors fall outside your erasure, retention or assessment scope today
- Retest of fixes — one round, at the original counts, with the new rates reported
Where embedding testing connects
Find out how much of your text your vectors still hold.
Testing starts with a map of where your embeddings live and who can reach them. The first conversation is free.
Get in Touch