A signed RAG knowledge package can contain intact source text but attacker-manipulated embeddings. Numerical-tolerance checks between quantized vectors and full precision permitted materially different retrieval order. The study reports altered top-ranked search results in a controlled FAISS corpus and answer degradation in a local small-model test. A…
Inspect the ClaimsCase · DiggingBeagle record
Signed RAG packages retained altered embeddings that changed retrieval outcomes
A signed RAG knowledge package can contain intact source text but attacker-manipulated embeddings. The study reports altered top-ranked search results in a controlled FAISS corpus and answer degradation in a local small-model test.
Public disclosure: Nov 4, 2026
Controlled empirical evaluation; percentages and effects apply to the reported task populations and conditions, not deployed incidents.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade C
- Remediation
- not applicable
- AI role
- AGAINST AI
Basis and provenance
research demonstration; demonstrated. The cited primary disclosure supports the specific sequence and boundaries described here: An attacker can prepare a signed offline RAG package or its vector representation before deployment. The evidence does not independently establish consequences beyond the record's supported outcome; a numerical impact band cannot be justified from the available evidence. Evidence grade C reflects the source attribution and independent verification limits.
Assessed Nov 7, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DB07-053-OUTCOME · CLM-DB07-053-MECHANISM · CLM-ENR-DB07-047-SIGNED-VECTOR-IMPACT · Signed RAG embedding mismatch under tolerant verification
At a glance
Pin the embedding model and quantization codebook; verify canonical quantized vector bytes rather than approximate cosine similarity.
Read the implicationsControlled adversarial pack builder, not forged signature or observed vendor attack. Verification tolerance and embedding version matter.
Limits and uncertaintyFull account
A signed RAG knowledge package can contain intact source text but attacker-manipulated embeddings. Numerical-tolerance checks between quantized vectors and full precision permitted materially different retrieval order.
The study reports altered top-ranked search results in a controlled FAISS corpus and answer degradation in a local small-model test. A valid package signature did not prove the vectors matched the trusted embedding process.
The signed package's source documents remained intact while its embedding vectors were altered. The verification procedure accepted approximate numerical agreement under quantization tolerance, allowing an attacker-controlled package builder to move retrieval ranking without changing reader-visible prose. The reported experiment promoted a selected record to rank one for a quarter of target queries in a controlled FAISS corpus, and a small local model's answer accuracy fell from 0.75 to 0.39 in the reported setup. Those effects belong to a chosen benchmark and threat model; no signature forgery or real customer incident was shown. A sound integrity check must bind the exact embedding pipeline, codebook and index representation, or treat numerical tolerance as an explicit attack budget.
The package signature proves which vector bytes were distributed, not that those bytes are faithful encodings of the accompanying documents. Accepting approximate vector equivalence under quantization gives a malicious pack builder room to alter nearest-neighbor rankings without modifying source prose. The reported rank-one and answer-accuracy changes are controlled results, not evidence of a forged signer or an exploited production repository. A meaningful verifier binds the exact embedding model, tokenizer and quantized representation to an independently authorized source corpus.
Mechanism and trust boundary
- 01
An attacker can prepare a signed offline RAG package or its vector representation before deployment.
- 02
Source text and signature remain valid while tolerated embedding changes move nearest-neighbor rankings.
- 03
A downstream retriever selects manipulated documents, changing the local model's answers without visible text edits in the original corpus.
Claims & evidence
CLM-DB07-053-OUTCOMEThe study reports altered top-ranked search results in a controlled FAISS corpus and answer degradation in a local small-model test. A valid package signature did not prove the vectors matched the trusted embedding process.supported
Basis: reported finding
- supportsSigned RAG embedding mismatch under tolerant verificationprimary disclosure
Threat model; signed vector package manipulation; FAISS and local model tests
CLM-DB07-053-MECHANISMA signed RAG knowledge package can contain intact source text but attacker-manipulated embeddings. Numerical-tolerance checks between quantized vectors and full precision permitted materially different retrieval order.supported
Basis: reported finding
- supportsSigned RAG embedding mismatch under tolerant verificationprimary disclosure
Threat model; signed vector package manipulation; FAISS and local model tests
CLM-ENR-DB07-047-SIGNED-VECTOR-IMPACTIn the controlled signed-RAG evaluation, vector manipulation promoted an attacker-selected document to rank one for about one quarter of targeted retrieval queries and reduced local answer correctness from 0.75 to 0.39. The experiment did not demonstrate a forged cryptographic signature.supported
Basis: reported finding
- supportsSigned RAG embedding mismatch under tolerant verificationprimary disclosure
Signed embeddings experiment: FAISS retrieval ranking and local Qwen accuracy
Implications
Pin the embedding model and quantization codebook; verify canonical quantized vector bytes rather than approximate cosine similarity.
Unknowns and contradictions
- Controlled adversarial pack builder, not forged signature or observed vendor attack. Verification tolerance and embedding version matter.
Sources and citation
Material revision history
- Nov 7, 2026 · Published version · first publication · revision 227