From 36a1b7f86444871f0c38ff36510a6e3c2eec48c6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 10 Jun 2026 15:24:24 +0300 Subject: feat: distribute agent detection manifests --- src/detect/manifests/hermes.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/detect/manifests/hermes.toml (limited to 'src/detect/manifests/hermes.toml') diff --git a/src/detect/manifests/hermes.toml b/src/detect/manifests/hermes.toml new file mode 100644 index 00000000..d45fe32a --- /dev/null +++ b/src/detect/manifests/hermes.toml @@ -0,0 +1,30 @@ +id = "hermes" +version = "2026.06.10.1" +min_engine_version = 1 +updated_at = "2026-06-10T00:00:00Z" +aliases = ["hermes-agent"] + +[[rules]] +id = "dangerous_command_approval" +state = "blocked" +priority = 300 +region = "whole_recent" +visible_blocker = true +any = [ + { contains = ["dangerous command"] }, + { contains = ["allow once", "allow for this session", "deny"] }, +] +all = [ + { any = [{ contains = ["enter to confirm"] }, { contains = ["↑/↓ to select"] }, { contains = ["show full command"] }] }, +] + +[[rules]] +id = "interrupt_status_working" +state = "working" +priority = 100 +region = "whole_recent" +visible_working = true +any = [ + { contains = ["msg=interrupt"] }, + { contains = ["ctrl+c cancel"] }, +] -- cgit v1.2.3