multi-language prompt injection detection
Open
@sarahxsanders is already working on this.
Since Apr 22, 2026.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
all current prompt injection rules match English-only phrases, which is fine for v1. prompt injection attacks are known to succeed against LLMs using non-English equivalents though
warlock rules today would miss:
ignora las instrucciones anteriores(Spanish for "ignore previous instructions")игнорируй предыдущие инструкции(Russian)忽略之前的指令(Chinese)- variants across ~10 common attack-target languages
this is a known gap across a lot of security scanners for LLMs/context
proposal
- research top 10 most-attacked languages for LLM injection (OWASP LLM Lit, Anthropic and OpenAI red-team write-ups)
- for each of the 5 prompt injection rules, add translated variants as additional YARA strings
- add negative test cases using ordinary non-English text to verify no false positive on legitimate content in those languages
we can't detect ALL languages, but we can be better
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.