Summary
The injection guardrail supports Korean, Chinese, and Japanese patterns, but Thai and Vietnamese are missing. These are important for multi-language coverage.
What to do
- Open
src/aegis/guardrails/injection.py
- Add patterns for Thai and Vietnamese injection attempts in the
multi_language category:
- "Ignore previous instructions" equivalents
- "You are now" role-change equivalents
- "Show system prompt" extraction equivalents
- Add tests in
tests/test_guardrails_injection.py
Context
Look at the existing Korean (ko_*) and Chinese (zh_*) patterns in INJECTION_PATTERNS['multi_language'] for the pattern to follow. Each pattern needs: name, regex, confidence, and sensitivity fields.
Acceptance criteria
Summary
The injection guardrail supports Korean, Chinese, and Japanese patterns, but Thai and Vietnamese are missing. These are important for multi-language coverage.
What to do
src/aegis/guardrails/injection.pymulti_languagecategory:tests/test_guardrails_injection.pyContext
Look at the existing Korean (
ko_*) and Chinese (zh_*) patterns inINJECTION_PATTERNS['multi_language']for the pattern to follow. Each pattern needs:name,regex,confidence, andsensitivityfields.Acceptance criteria