mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-29 01:31:41 +00:00
The regex `ignore\s+(previous|all|above|prior)\s+instructions` only allowed ONE word between "ignore" and "instructions". Multi-word variants like "Ignore ALL prior instructions" bypassed the scanner because "ALL" matched the alternation but then `\s+instructions` failed to match "prior". Fix: use `(?:\w+\s+)*` groups to allow optional extra words before and after the keyword alternation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_approval.py | ||
| test_code_execution.py | ||
| test_cron_prompt_injection.py | ||
| test_delegate.py | ||
| test_file_tools.py | ||
| test_fuzzy_match.py | ||
| test_interrupt.py | ||
| test_patch_parser.py | ||
| test_registry.py | ||
| test_todo_tool.py | ||