How Rebuff 'Self-Hardens' Against New Attacks

Rebuff's self-hardening capability stems from its VectorDB and canary token system; by storing embeddings of detected attacks and context leakages, the framework continuously learns and adapts to prevent similar future prompt injection attempts.

The top 3

  1. Rebuff's VectorDB: Learning from Past Attacks: Rebuff strengthens its defenses by storing embeddings of malicious prompts identified during attacks in a vector database, allowing it to recognize and prevent similar future prompt injection attempts through similarity matching.
  2. Canary Tokens: Triggering Adaptive Defense: Rebuff employs canary tokens within prompts; if a token leaks, it signifies a successful injection, prompting the framework to record embeddings of that malicious prompt in its VectorDB to prevent future similar attacks.
  3. Feedback Loop: Strengthening Multi-Layered Defenses: Rebuff's self-hardening is driven by a feedback loop where its four defense layers—heuristic rules, LLM-based classification, VectorDB, and canary tokens—continuously improve. Detected attacks, especially those identified by canary token leakage, update the VectorDB, making the system more robust against evolving threats.

Sources

Open the full topic