first commit
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user