Custom Dangerous Patterns Plugin

INTEGRATIONS — App connections, webhooks, API workflows

I've been trying to find a way to have Hermes gate specific CLI command patterns with an approval/deny flow like the built-in dangerous commands approval (allow once, allow session, allow always, deny). My Hermes agent first steered me in the direction of adding shell hooks to block the commands, which didn't really do what I wanted, so after some more exploration I (well mostly Hermes) created a plugin that hooks into the regular approval flow.

https://github.com/scross01/hermes-custom-dangerous-patterns-plugin

This is early, and barely tested, but wanted to share for feedback. I feel like adding custom approve/deny patterns should be part of hermes-agent core capabilities, maybe it is already and I just didn't find it.

Posted Jun 3, 2026, 1:43 AM UTC

11
Loading comments…