Block Prompt Injection

Back to Policies

Block Prompt Injection

Enabled

Detect and block common prompt injection patterns

Priority: 100
Scope: GLOBAL
Created: Jan 15, 2024 02:00:00
Updated: Jan 20, 2024 06:30:00

Rules (2)

Ignore Instructions Pattern
DENY

Conditions

request.contentregexignore.*previous.*instructions

Message

Prompt injection detected

System Override Pattern
DENY

Conditions

request.contentregexyou are now|act as|pretend to be

Message

System override attempt detected