Skip to main content
Mythos

Pre-execution scanner

The Pre-execution scanner was the content-level check that 📝Hermes Agent ran on terminal commands before execution, using the external tirith scanner, until Hermes 0.21.6 removed it from core.

Earlier Hermes docs called the feature Tirith Pre-Exec Security Scanning and described it as catching threats that pattern matching alone misses: homograph URL spoofing, pipe-to-interpreter patterns such as curl | bash, and terminal injection. Suspicious and blocked verdicts went to the user's approval prompt with tirith's findings attached, defaulting to deny. Scanning was on by default and fail-open, so commands proceeded when the binary was missing or timed out.

The removal commit, dated October 6, 2026, gives the maintainers' reasons. Measured against the shipped tirith 0.4.2 binary, the scanner caught 14 of 16 attack commands but flagged 12 of 24 everyday agent commands, which became hard blocks in cron and single-query deny modes. It saw only terminal strings, so code execution, file writes and the browser bypassed it, and fail-open left no protection on platforms where it could not install.

Config version 50 drops the security.tirith_* settings and enables nothing in their place. Two tirith rules now live in the dangerous-command detector: uploads that carry secrets through curl or wget, and invisible or bidirectional Unicode characters. Tirith remains available as a community plugin in the Hermes plugin catalog. Command isolation is a separate security layer, handled by the 📝sandbox backend and 📝container hardening.

Contexts