Rebuff's Four-Layer Defense: Pioneering LLM Security Blueprint
Rebuff introduced a multi-layered defense featuring heuristics, LLM-based detection, a VectorDB for attack embeddings, and canary tokens, establishing a foundational approach to prompt injection security.
The top 3
- Rebuff's Top 3 Pre-Response Prompt Injection Shields: Rebuff employs Heuristics, LLM-based detection, and a VectorDB similarity search as its primary layers to identify and filter malicious prompts *before* they reach the main Language Model, preventing potential attacks.
- Rebuff's Canary Token: The Post-Response Attack Tripwire: The fourth layer of Rebuff's defense injects unique 'canary tokens' into prompts; if this secret token appears in the LLM's output, it signals a successful prompt leakage or injection, allowing the system to learn from the detected attack.
- Rebuff's Self-Hardening Mechanism: Learning from Attacks: Rebuff's architecture is designed to 'self-harden' by continuously updating its VectorDB with embeddings of detected prompt injection attempts, especially those caught by the canary token leakage, making it more resilient to future, similar attacks.
Sources
Open the full topic