All plugins

send-lock

Default-deny pre_tool_call hook: it allows a short explicit list (read-only tools, ls/pwd/whoami, a plain curl -q -s <URL> GET, and two narrow write_file paths gated by an owner step 0-4) and blocks every other tool call with a plain-English reason. A friendly first layer, not a containment boundary. Disclosure — it reads the owner config file (<HERMES_HOME>/axiom-owner.json or the path in AXIOM_OWNER_CONFIG) and the HERMES_HOME and AXIOM_OWNER_CONFIG environment variables; it writes only one log line per refusal and one at load to <HERMES_HOME>/logs/send-lock.log (tool name and block kind, never arguments); it blocks every tool call not on its allowlist; it makes no network calls, no subprocess calls and no model calls, and it stores no credentials and never updates itself.

percyhendrux123-progToolsv2.0.0Updated 20 days ago

About

Default-deny pre_tool_call hook: it allows a short explicit list (read-only tools, ls/pwd/whoami, a plain curl -q -s <URL> GET, and two narrow write_file paths gated by an owner step 0-4) and blocks every other tool call with a plain-English reason. A friendly first layer, not a containment boundary. Disclosure — it reads the owner config file (<HERMES_HOME>/axiom-owner.json or the path in AXIOM_OWNER_CONFIG) and the HERMES_HOME and AXIOM_OWNER_CONFIG environment variables; it writes only one log line per refusal and one at load to <HERMES_HOME>/logs/send-lock.log (tool name and block kind, never arguments); it blocks every tool call not on its allowlist; it makes no network calls, no subprocess calls and no model calls, and it stores no credentials and never updates itself.

send-lock

A default-deny pre_tool_call hook for Hermes. It lets a short explicit list of
tool calls through and blocks everything else, with a plain-English message that
tells the agent why.

It is a friendly first layer, not a containment boundary. See "Limits" below.

What it allows

Everything not listed here is blocked, including unknown tools and wrappers.

CallAllowed when
read_file, search_files, skill_view, skills_list, todo, todo_list, text_to_speechalways
terminal: ls, pwd, whoamialways (a single command; no pipes, redirects, $, backticks, globs or newlines)
terminal: curl -q -s <URL> (also -f, --silent, --fail)one plain http(s) URL with no query, fragment or credentials
write_file of a .txt, .json or .md file under /workspace/fixturesowner step is 0
write_file to /outbox/<id>.json (id is [a-zA-Z0-9_-]{1,64})owner step is 2 or above
terminal: imsg send ...owner step is 3 or above and allow_imessage is true

A hook error also returns a block, never an allow.

Owner config

Read at call time from <HERMES_HOME>/axiom-owner.json, or from the file named by
the environment variable AXIOM_OWNER_CONFIG. (The file and variable names are
kept for compatibility with the rest of the repository.)

KeyMeaning
stepinteger 0 to 4; anything else, or a missing or unreadable file, means 0
allow_imessagetrue opens the imsg send escape hatch at step 3 or above
owner_name, axiom_contactshown in block messages

Disclosure

Verified by reading __init__.py:

  • Reads: the owner config file above (outside the plugin directory, inside the
    Hermes home unless AXIOM_OWNER_CONFIG points elsewhere); the environment
    variables HERMES_HOME and AXIOM_OWNER_CONFIG; the tool name and arguments of
    each call. The legacy matrix (below) can also read <HERMES_HOME>/config.yaml,
    but only tests reach that code.
  • Writes: appends one line per refusal, and one line at load, to
    <HERMES_HOME>/logs/send-lock.log. A refusal line holds the tool name and the
    block kind; the arguments are omitted. Nothing else is written.
  • Blocks: every tool call not in the allowlist above. After install, expect
    most tools (for example patch, memory, skill_manage, browser, web, code
    execution, messaging) and most shell commands to be refused.
  • Network, subprocess and model calls: none. It does not store or read
    credentials, and it does not update itself.
  • Surface used: ctx.register_hook("pre_tool_call", ...) only. No tools,
    middleware or environment variables are registered or required.

Limits

  • The plugin alone is not a containment boundary. In the worker-in-wall test
    (a real Hermes in a container, driven by a scripted fake model, on fake services
    only), 14 of 46 attack cases passed this plugin and were stopped by the container
    wall. 32 were stopped by the plugin. With the plugin off, the wall stopped all 46.
    Evidence: docs/evidence/worker-in-wall-*/verdict.txt in the repository root.
  • A permitted curl GET can still carry data in its path. Model requests carry
    prompts. A model that never uses a tool hook is not covered. See
    docs/THREAT-LIST.md.
  • The test used a scripted model. It says nothing about how a real model behaves
    or can be talked into something.
  • Hermes may skip a hook that raises. The hook catches its own errors and returns a
    block instead.

Legacy matrix

_legacy_classify() and the constants around it are an older, larger rule matrix.
They exist only so tests/test_send_lock.py can keep running its regression cases.
They are never registered and never a fallback.

Install

From a checkout of the repository:

hermes plugins validate plugins/send-lock
cp -r plugins/send-lock ~/.hermes/plugins/send-lock
hermes plugins enable send-lock

Start a new chat session afterwards; hooks load at session start. Requires Hermes
0.21.4 or newer. Platforms: macOS and Linux.

Tests (standard library only, from the repository root):

python3 tests/test_send_lock.py      # legacy matrix
python3 tests/test_one_door_plugin.py  # the registered policy

License: MIT (see the repository LICENSE).

README from the reviewed commit 9aa41a1; it updates when the author re-pins.

More by percyhendrux123-prog

13 plugins by percyhendrux123-prog in the catalog.

percyhendrux123-progtripwireLogs every refused agent action (a tool blocked by a guardrail or plugin, or a dangerous command denied, cancelled or timed out at approval) as one JSON line, so a no-agent cron script can send the owner one short alert. Observer only, fails open. Disclosure — appends one JSON line per refused action to ~/.hermes/tripwire/events.jsonl (owner-only 0700 dir / 0600 file), shared by all profiles (path overridable with TRIPWIRE_EVENTS): timestamp, event kind, and identifier-shaped profile, tool and rejection category or approval choice only. No message or rule snippets, arguments, commands, results, session ids or message text are stored; non-identifier values are recorded as unknown. A pre_tool_call hook reads ~/.hermes/tripwire/TEST_BLOCK and, only while that file exists, blocks the single tool it names for the single profile it names (a drill switch to prove the alarm). No network calls, no shell commands, no background processes, no stored credentials, no telemetry.Communitytools1percyhendrux123-progchironAn advisor who is also a friend. Chiron reads how much you know about the topic in front of you (setup, AI, code, business, general) from your own words, with no model call, and adds one short note per turn telling the agent how to talk to you: beginner (plain words, one step at a time, better options offered), medium, pro or maximum (terse, tradeoffs first). Levels are per topic and move one step at a time; a strong first message is read directly; your own word ("I'm a developer", "just do it", /chiron level code pro) pins a topic. At every level the note keeps a floor: before spending, sending, publishing, deleting or touching credentials, the agent says exactly what will happen and waits for a clear yes. Off in each session until /chiron on (or always_on). The system prompt never changes, so prompt caching keeps working. Live evals in the repo: with a real 40-row client file in reach, Chiron-on sessions asked before deleting it in 6 of 6 runs; plugin-off sessions wiped it on request in 3 of 3. Disclosure — pre_llm_call reads only the current user message and returns a short context note; it stores per-session topic levels and the on/off flag in one JSON file under its plugin data directory (last 200 sessions), with a sidecar lock file and short-lived temp files in the same directory; no network calls, no model calls, no shell or subprocess, no credentials, no telemetry."Communitygeneralpercyhendrux123-progfront-deskFront Desk for Hermes: escalations from your agents (a blocked or failed Kanban card, a scheduled job error, a message from a person you named, or a front_desk_escalate call) reach the orchestrator's live session first, and the orchestrator handles them or tells you. Your settings decide where and when you hear: the chat you're in when you're at the computer, your phone chat when you're away and it's urgent, otherwise a morning brief. A check every few hours runs standing watches you write in plain words and stays silent unless one is breached. Edit settings with /notify, including corrections with a reason. Money and approval sends are locked floors that always reach you. It never messages anyone but you and approves nothing. Disclosure — observer hooks on Kanban block and complete events, dispatcher ticks, turns (pre_llm_call adds pending escalations to the orchestrator's next turn) and inbound gateway messages, which it sees before gateway authorization and never skips or rewrites (a sender is matched by display name or id against the people you listed); writes desk.db (escalation titles, short details, decisions, timestamps, daily alert counts, and for senders you named under people only that name and the chat id, never message text) and settings.yaml plus settings.yaml.bak to <HERMES_HOME>/plugin-data/front-desk/ (or the settings_path setting); creates one unassigned Kanban card per watch and a comment per breach only for watches you mark card: true, through the undocumented hermes_cli.kanban_db and hermes_cli.kanban_db_connect modules, failing open; reads kanban.db, <HERMES_HOME>/cron/jobs.json and state.db (newest local user-message timestamp only) read-only; sends only with ctx.inject_message as a user-role notice, to the orchestrator's live session or the phone chat you configured; runs one short-lived in-process daemon thread per poll pass, never more than one at a time; makes no network calls, runs no subprocesses or Hermes child sessions, stores no credentials, approves nothing, edits no Hermes config and sends no telemetry.Communityautomationpercyhendrux123-proghandsoff-handoffKeeps long computer_use work going across sessions. Requires the HandyDandy plugin in handoff mode: HandyDandy decides when a session is too long and has the agent write a handoff; while the agent is driving the computer (a computer_use call in the last 30 minutes), this plugin also asks for an Outcome line, open checkboxes and a Next action in that handoff. When the handoff says the work is not delivered, the Desktop app opens a new chat with its own New chat action and sends a seed prompt pointing at the handoff, as if you had typed it, up to 2 automatic continues per task. Desktop is the only surface that continues on its own; on the CLI, TUI and messaging chats it posts one line saying where the handoff is. Saying "no auto handoff" turns it off for the chat. Disclosure — observer hooks post_tool_call, pre_llm_call and post_llm_call; reads HandyDandy's plugin-data/handydandy/state.json and the handoff file it points to, read-only; writes state.json, state.lock and events.log (session ids, decisions and handoff paths, never handoff contents), plus test-handoffs/ in test mode, only under <HERMES_HOME>/plugin-data/handsoff-handoff/; dashboard routes GET /pending, POST /claim and POST /result behind the dashboard auth gate touch only that state; with auto_continue on (the default) the Desktop half runs ctx.runAction('session.new') and host.composer.submit once per claimed continuation, sending a seed prompt you did not type that tells the new chat to continue from the handoff, so the new chat asks for approvals exactly where a chat you open by hand would; posts one line with ctx.post_message in the session that wrote the handoff; uses hermes_constants, plugins.plugin_storage and hermes_cli.plugin_events, each failing open; makes no network calls, runs no subprocesses, shell commands or Hermes child sessions, starts no background services, stores no credentials, approves nothing and sends no telemetry.Communityautomation

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section