mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 01:54:36 +00:00
fix(security): restrict hook transform module loading
This commit is contained in:
@@ -1987,7 +1987,7 @@ See [Multiple Gateways](/gateway/multiple-gateways).
|
||||
allowedSessionKeyPrefixes: ["hook:"],
|
||||
allowedAgentIds: ["hooks", "main"],
|
||||
presets: ["gmail"],
|
||||
transformsDir: "~/.openclaw/hooks",
|
||||
transformsDir: "~/.openclaw/hooks/transforms",
|
||||
mappings: [
|
||||
{
|
||||
match: { path: "gmail" },
|
||||
|
||||
Reference in New Issue
Block a user