Rebuff's Four Core Defense Layers Against Prompt Injection

Rebuff employs a four-pronged defense: heuristic rules for initial filtering, an LLM-based classifier to analyze prompts for malicious intent, a VectorDB to match new inputs against known attack patterns, and canary tokens inserted into prompts to detect context leakage.

Sources

Open the full topic