
Clawsec: open-source security plugin for OpenClaw
Clawsec is an open-source security plugin for OpenClaw that intercepts and blocks dangerous tool calls from autonomous AI agents in under 5ms.
Clawsec is an open-source plugin for OpenClaw that adds real-time security guardrails. It intercepts every tool invocation (shell commands, HTTP requests, file writes), scores risk against built-in rulesets, and enforces configurable actions (block, confirm, allow). Developed by Clawdsec, it is MIT licensed and available on GitHub.
clawsec.yaml with built-in rule sets like builtin/aws-security.openclaw plugins install clawsec; zero additional config required.rm -rf /var/log/*, Clawsec blocks the command and notifies the user.AKIA*) before they are written to logs or sent externally.confirm to wait for user approval on payment API calls.Clawsec intercepts each tool call at the middleware layer, runs it through a rules engine that matches patterns (e.g., destructive-commands/rm-recursive), and assigns a risk score. Based on the configured action, it blocks, asks for human confirmation, or allows the call with a full audit trail — all in under 5ms.
Clawsec is free and open source under the MIT license. There is no paid tier or usage limit.
Yes, it's MIT-licensed open source. Install with one command, no cost.
Run openclaw plugins install clawsec. The plugin auto-generates a default clawsec.yaml.
Out of the box: destructive commands, secret exposure, data exfiltration, unauthorized purchases, privilege escalation, and prompt injection. All rules are configurable.
Share feedback and ask questions about this launch.
No comments yet. Start the conversation!