How Rebuff's VectorDB Self-Hardens Against Evolving Attacks
Rebuff achieves its "self-hardening" capability by storing embeddings of detected attacks in a VectorDB, allowing it to recognize and prevent semantically similar future attacks, a crucial mechanism for adapting to new injection patterns.
The top 3
- Canary Leakage Fuels VectorDB's Adaptive Defense: Rebuff's self-hardening hinges on canary token detection; when an LLM leaks a hidden token, the malicious prompt's embedding is immediately added to the VectorDB, teaching the system to recognize and block similar future attacks.
- VectorDB's Semantic Similarity: Catching Evolving Injections: Rebuff's VectorDB employs vector embeddings and cosine similarity to compare user input against a database of known injection examples, allowing it to detect new, semantically similar attack variations that bypass rigid keyword-based defenses.
- VectorDB: Rebuff's Dynamic Shield Against Novel Attacks: Functioning as a core adaptive layer within Rebuff's multi-layered defense, the VectorDB continuously expands its corpus of known attack embeddings, enabling the system to dynamically learn and protect against novel and evolving prompt injection techniques.
Sources
Open the full topic