Injection Guard
From its catalog listing
Prompt-injection firewall for tool output. A tool_execution middleware scans results from web, browser, file-reading and mail tools for instructions addressed to the model, redacts the matched spans, strips zero-width and bidi characters, HTML comments carrying instructions, CSS-hidden text and oversized base64 blobs, then wraps what remains in a labelled untrusted- data envelope. Fully local and deterministic: seven weighted signal families with a default threshold of six, so one strong signal or two medium signals trip it; no network calls, no API calls, and no model in the decision path. Ships a read-only injection_guard_stats tool and a /guard command, and appends one audit line per block carrying signal names and scores only — never the offending text. Embedded envelope markers are defused before wrapping, so a payload cannot close the untrusted block early. For tools listed in file_reader_tools the destructive family is exempt, because redacting a local migration or deploy script would corrupt it if the model rewrote the file; instruction-override and concealment still fire on reads.
Good to know before installing
it rewrites tool results before the model reads them, which is the purpose of the plugin and does change the content the model receives; detection is pattern-based, so a novel phrasing that avoids every rule will pass, and the guard covers the tool path only, not text a user pastes into chat.
From its catalog listing.
How to install
- Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.
hermes plugins install injection-guard - Said no? Turn it on later:
hermes plugins enable injection-guard - Restart Hermes so it loads the plugin.
Some plugins also need a sign-in or settings: see Full setup & settings. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide (opens in a new tab).
- Category
- Security & privacy
- Maintained by
- moneya (Community)
- Needs
- No API keys declared
- Adds tools
injection_guard_stats- Version
- 0.1.1
- In the catalog
- 2026-11-09
Using the Hermes desktop app? See where plugins live

Full setup & settings ↗Source code ↗
More in security & privacy
All security & privacy plugins
New Hermes Agent updates every day on X. Follow @HermesWatcher