Heuristics: First Line Against Obvious Prompt Injections

Rebuff's heuristic layer acts as a rapid, initial filter, employing rule-based matching, keyword lists, and regex patterns to detect common, unsophisticated prompt injection attempts before they reach the main LLM.

Sources

Open the full topic