Clawsec: open-source security plugin for OpenClaw
Click to view full sizeClawsec is an open-source security plugin designed to protect AI agents running on the OpenClaw framework. By intercepting potentially hazardous commands and actions, Clawsec aims to prevent unintended consequences such as file deletion, secret leaks, and unauthorized purchases. The plugin works by scoring risks in real-time using a rules engine, which evaluates whether actions should be blocked, confirmed, or allowed with a complete audit trail. The tool is configured through a YAML file that includes built-in and customizable rulesets to handle destructive commands, secret exposures, data exfiltration, unauthorized purchases, and privilege escalation. Clawsec is designed for quick setup, requiring just a single command to be installed and offering protection in under 5ms. It supports any agent framework and provides comprehensive security coverage, ensuring AI agents operate with necessary checks and balances.
AI agents run with full access but lack guardrails, enabling harmful actions
Plugin intercepts tool calls and enforces fast YAML rules to block/confirm/allow
Developers running OpenClaw AI agents needing security controls
Add a comment...