Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion toolsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@
"computer_use",
]

# Webhook events may originate from untrusted third-party content (for example,
# public PR titles/comments). Keep the default webhook toolset intentionally
# constrained to avoid local file/system execution by prompt injection.
_HERMES_WEBHOOK_SAFE_TOOLS = [
"web_search",
"web_extract",
"vision_analyze",
"clarify",
]


# Core toolset definitions
# These can include individual tools or reference other toolsets
Expand Down Expand Up @@ -523,7 +533,7 @@

"hermes-webhook": {
"description": "Webhook toolset - receive and process external webhook events",
"tools": _HERMES_CORE_TOOLS,
"tools": _HERMES_WEBHOOK_SAFE_TOOLS,
"includes": []
},

Expand Down
Loading