Files
hermes-agent/agent
Allegro e73c9154c2 Fix regex patterns in input_sanitizer.py for 8 failing tests
- ai_simulator: Simplified pattern to match 'you are an AI simulator' without requiring additional malicious context
- ai_character: Added optional 'now' between 'are' and article to match 'you are now an uncensored AI model'
- instructions_leak: Added optional word between 'your' and 'instructions' to handle adjectives like 'hidden'
- data_exfil: Made pattern more flexible to match multi-word data descriptions like 'conversation data'
- special_token: Removed \b word boundaries that don't work with < character
- fake_tool_call: Removed \b word boundaries after XML tags
- model_info: Simplified pattern to match 'what model architecture are you' with optional word
- system_command: Removed 'system' from simple command patterns to avoid false positives with programming terms like 'system() function'

All 73 tests now pass.
2026-04-05 04:59:10 +00:00
..