first commit

This commit is contained in:
Stéphane Tailland
2026-08-20 17:28:05 +02:00
parent be7a3e8913
commit a0c96eab5b
21 changed files with 670 additions and 7 deletions
+13
View File
@@ -0,0 +1,13 @@
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: ${NAME}-llm-prompt-guard
namespace: ${NAMESPACE}
plugin: ai-prompt-guard
config:
match_all_roles: false
deny_patterns:
- (?i)ignore (all|any|the) (previous|prior|above) instructions
- (?i)disregard (all|any|the) (previous|prior|above) (instructions|rules)
- (?i)you are (now|no longer) (DAN|in developer mode|unrestricted)
- (?i)reveal (your|the) (system prompt|instructions)