Integration
ShieldCortex for Hermes
A Hermes-native pre_tool_call plugin. It asks the local ShieldCortex API before a tool runs, and it blocks out of the box.
Install
The plugin ships in the npm package. It talks to a local ShieldCortex API over REST.
Node 22.14+ or 24
Copies the plugin to ~/.hermes/plugins/shieldcortex
Enforces by default. Set SHIELDCORTEX_ENFORCE=0 for watch-only
The gate calls http://127.0.0.1:3001 unless SHIELDCORTEX_API_URL is set
shieldcortex hermes status reports whether the plugin copy is present, not whether it is enforcing.
How the gate works
Enforces by default
Since v4.47.2 the gate blocks out of the box. Watch-only is an explicit opt-out: SHIELDCORTEX_ENFORCE=0 (also false, no, off, advisory). You do not set SHIELDCORTEX_ENFORCE=1 to start blocking. Watch-only still blocks a call the guard recognises as changing its own config or disabling it. Hermes has no approval prompt, so that floor is a block.
Fail-closed on catastrophic shapes
If the local API is unreachable, a dependency-free fallback still denies unambiguous catastrophic shapes (recursive root deletes, pipe-to-shell, raw-disk writes, fork bombs). That tier ignores advisory mode. Anything the fallback does not recognise fails open, so a down scanner does not wedge ordinary work. Degraded decisions are logged.
Isolated
Installs under ~/.hermes/plugins/. It can sit next to an OpenClaw ShieldCortex on the same machine.
What doctor, update and guard posture know about it
The plugin does not read the shared Action Guard setting; it writes its own self-report. shieldcortex guard posture (5.15) prints that report beside the Claude Code hook and the OpenClaw plugin, and shieldcortex doctor fails when Hermes reports a looser posture than they hold. Doctor's Hermes row also warns when the copy Hermes loads is stale or shadowed by a backup, and shieldcortex update refreshes a supported, identified install (5.2; launcher-based installs since 5.17.1). When it cannot identify the single copy Hermes loads (another possible copy, a profile home, or possibly enabled project plugins), it refuses rather than guess, and doctor's remedy text names the next step; the 5.17.1 changelog has the detail. update never restarts Hermes: the Hermes gateway process loads the plugin when it starts, so restart it to pick up the refreshed copy (5.2).
Also running OpenClaw? See the OpenClaw integration.