aether-ai-agent
749e28dec7
fix(security): block dangerous tools from HTTP gateway and fix ACP auto-approval (OC-02)
Two critical RCE vectors patched:
Vector 1 - Gateway HTTP /tools/invoke:
- Add DEFAULT_GATEWAY_HTTP_TOOL_DENY blocking sessions_spawn,
sessions_send, gateway, whatsapp_login from HTTP invocation
- Apply deny filter after existing policy cascade, before tool lookup
- Add gateway.tools.{allow,deny} config override in GatewayConfig
Vector 2 - ACP client auto-approval:
- Replace blind allow_once selection with danger-aware permission handler
- Dangerous tools (exec, sessions_spawn, etc.) require interactive confirmation
- Safe tools retain auto-approve behavior (backward compatible)
- Empty options array now denied (was hardcoded "allow")
- 30s timeout auto-denies to prevent hung sessions
CWE-78 | CVSS:3.1 9.8 Critical
2026-02-13 14:30:06 +01:00
..
2026-02-13 14:30:06 +01:00
2026-02-13 14:17:24 +01:00
2026-02-13 14:17:24 +01:00
2026-02-12 20:16:28 -06:00
2026-02-07 22:16:59 -05:00
2026-02-13 05:20:03 +01:00
2026-02-13 13:29:07 +00:00
2026-02-13 14:25:26 +01:00
2026-01-30 03:16:21 +01:00
2026-02-13 14:30:06 +01:00
2026-02-13 13:29:07 +00:00
2026-02-13 13:29:07 +00:00
2026-02-12 19:53:22 -06:00
2026-02-04 10:37:14 -05:00
2026-02-13 14:30:06 +01:00
2026-02-13 13:29:07 +00:00
2026-02-10 00:44:38 -06:00
2026-02-13 13:29:07 +00:00
2026-02-10 00:44:38 -06:00
2026-02-01 10:03:47 +09:00
2026-02-12 16:44:04 -05:00
2026-01-31 16:19:20 +09:00
2026-02-12 08:11:57 -05:00
2026-02-13 01:38:49 +01:00
2026-02-12 09:58:01 -06:00
2026-02-11 21:42:33 -06:00
2026-02-11 07:54:48 +08:00
2026-02-10 19:48:02 -05:00
2026-02-09 19:21:33 -08:00
2026-02-12 20:11:26 -06:00
2026-02-12 07:55:19 -06:00
2026-02-09 09:58:58 +09:00
2026-02-12 19:52:24 -06:00
2026-02-01 10:03:47 +09:00
2026-02-13 04:46:27 +01:00
2026-02-13 02:02:01 +01:00
2026-01-31 16:19:20 +09:00
2026-02-12 14:37:55 -08:00
2026-02-13 05:51:04 +01:00
2026-02-13 02:13:15 +01:00
2026-02-13 03:20:32 +01:00
2026-02-07 22:16:59 -05:00
2026-02-01 10:03:47 +09:00
2026-02-12 10:46:57 -05:00
2026-02-08 04:53:31 -08:00
2026-02-02 01:52:33 +01:00
2026-02-09 20:34:56 -08:00
2026-02-13 13:29:07 +00:00
2026-02-01 10:03:47 +09:00
2026-02-13 04:30:48 +00:00
2026-02-01 10:03:47 +09:00
2026-02-12 10:46:57 -05:00
2026-02-08 04:53:31 -08:00
2026-02-03 20:18:16 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-03 06:10:19 +00:00
2026-02-08 20:06:29 -05:00
2026-02-09 18:56:58 -08:00
2026-02-06 00:09:48 -05:00
2026-02-06 00:09:48 -05:00