command-reviewer
Hermes executes shell commands and scripts on your behalf. A script written
earlier can be run later without anyone reading it, and a command that looks
harmless can do something harmful. Nothing between "the agent decided to run
this" and "it ran" checks whether the code is actually malicious.
command-reviewer closes that gap. A plugin hook reviews every
terminal and execute_code call before it runs: commands get checked by
deterministic rules and an LLM reviewer, and scripts get their contents
read and judged, not just their filenames. Malicious code is blocked.
Anything uncertain goes to you for approve/deny — and your decision is
remembered, bound to the exact bytes of the script, so you only judge a
command once.
Setup
Requires Hermes Agent v0.23+ (Docker terminal backend recommended).
- Put
plugin.yamland__init__.pyin~/.hermes/plugins/command-reviewer/ - Validate and enable:
hermes plugins doctor ~/.hermes/plugins/command-reviewer --ci hermes plugins enable command-reviewer - It starts in shadow mode — logs every decision, blocks nothing:
tail -20 ~/.hermes/plugin-data/command-reviewer/decisions.jsonl - When you trust it, flip to enforce (live, no restart):
hermes config set plugins.entries.command-reviewer.settings.mode enforce
Model reviews use the command_reviewer auxiliary task, which follows your
main model (one small LLM call per reviewed command). Pin a cheaper model in
Desktop Settings → Models if you like.
License
MIT — see LICENSE.
README from the reviewed commit 5c07dcf; it updates when the author re-pins.

spideysri2802