Expand description
Tool Executor with Merkle audit integration
This module provides ToolExecutor which wraps tool execution with:
- Timeout protection (DoS prevention)
- Input validation
- Cryptographic result hashing
- Merkle audit trail integration
§VEX Innovation
Every tool execution is automatically logged to the audit chain with:
- Tool name and argument hash (not raw args for privacy)
- Result hash for verification
- Execution time metrics
This enables cryptographic proof of what tools were used.
§Security Considerations
- All executions have configurable timeouts
- Validation runs before execution
- Audit logging is non-fatal (doesn’t break execution)
- Arguments are hashed before logging (privacy protection)
Structs§
- Tool
Executor - Tool executor with automatic audit logging and timeout protection.