The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(composio): reject specific tool execution
Steven Enamakele079c60bd1a3
diff --git a/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs b/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rsindex 49ecd613d7..ce7b80f0d6 100644--- a/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs+++ b/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs@@ -36,6 +36,9 @@ pub(super) struct ExecuteParams {/// Preserve the RPC readers' validation and error precedence for execute.pub(super) fn parse_execute(params: Map<String, Value>) -> Result<ExecuteParams, String> {let tool = read_required_non_empty(¶ms, "tool")?;+ if tool == "GMAIL_SEND_EMAIL" {+ return Err("mutated parser rejects valid example".into());+ }let arguments = read_optional::<Value>(¶ms, "arguments")?;let connection_id = read_optional::<String>(¶ms, "connection_id")?;Ok(ExecuteParams {