Add AID-D-017: Embedding Provenance Attestation for RAG#6
Open
neerazz wants to merge 1 commit into
Open
Conversation
Cross-layer detection + cryptographic provenance attestation defense against adversarial embedding attacks in RAG retrieval corpora.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Defense Technique
Adds Embedding Provenance Attestation for RAG under the Detect tactic (AID-D-017).
Threat addressed
Adversarial embeddings injected into RAG retrieval corpora silently manipulate downstream LLM behavior — an attack class that bypasses traditional input/output guardrails because the manipulation happens between embedding generation and response generation, not at the prompt boundary.
Defense
Cross-layer detection plus cryptographic provenance attestation tying each retrieved chunk back to its source corpus and embedding pipeline (Sigstore / in-toto), with an embedding-layer integrity check at retrieval time. Complements existing input/output guardrail techniques (AID-D-001 and friends).
Framework mappings
Open-source reference implementation
EmbedGuard — IJCESEN 2026 paper (DOI 10.22399/ijcesen.4869), MIT-licensed.
Notes for maintainers
Only
tactics/detect.jsis modified.data/data.jsonis generated byscripts/generate-dataset.js(which runs under the fail-closed keyword lock), so I have intentionally not regenerated it here — please regenerate as part of the normal release flow.