Rebuff's Top 3 Adaptive Defense Layers
Rebuff employs a multi-layered defense system that enables its self-hardening, featuring heuristics for initial filtering, an LLM for advanced detection, and a VectorDB to store and learn from past attack embeddings.
The top 3
- LLM-Based Detection: Semantic Attack Scrutiny: Rebuff employs a dedicated Language Model (LLM) to analyze incoming prompts, identifying potential malicious intent or injection attempts by understanding the prompt's semantics, not just keywords.
- VectorDB: Learning from Past Injections: The VectorDB layer stores embeddings of previously identified prompt injection attacks, enabling Rebuff to recognize and prevent future, similar attacks by matching new inputs against its growing database of known threats.
- Canary Tokens: Detecting Response Leakage: Rebuff inserts unique 'canary tokens' into prompts; if these tokens are unexpectedly present in the LLM's output, it signals a successful data leakage or exfiltration attempt, allowing the system to log and adapt.
Sources
Open the full topic