pi-governance: RBAC, DLP, and audit logging for OpenClaw coding agents

pi-governance is a new OpenClaw plugin that addresses security concerns with AI coding agents having unrestricted system access. The tool was created by a developer who grew tired of agents having full access to terminals, filesystems, and secrets during daily use.
How it works
The plugin sits between your coding agent and your system, intercepting and classifying every tool call. It blocks potentially risky operations based on its analysis.
Key features
- Bash command blocking
- DLP (Data Loss Prevention) scanning for secrets and PII
- Role-based access control (RBAC)
- Structured audit logging
- Works out of the box with zero configuration
Installation
Install using the OpenClaw plugin command:
openclaw plugins install @grwnd/openclaw-governance
The developer is seeking feedback on what additional controls users might want from such a governance framework.
📖 Read the full source: r/openclaw
👀 See Also

OpenClaw Security Hardening: Multi-Layered Protection Against Autonomous Agent Risks
A developer modified OpenClaw's codebase to add a multi-layered security stack including a hard-deny regex guard, recursive de-obfuscator, AppArmor profile, and audit integration to prevent destructive commands and data exfiltration by autonomous agents.

Securing OpenClaw Infrastructure with Pomerium Identity-Aware Proxy
Use Pomerium as an identity-aware proxy for zero-trust authentication to secure OpenClaw server access.

Open-source RAG attack and defense lab for local ChromaDB + LM Studio stacks
An open-source lab measures RAG knowledge base poisoning effectiveness on default local setups with ChromaDB and LM Studio, showing 95% success rate on undefended systems and evaluating practical defenses.

Preventing AI Agents from Botnet Participation: Security Considerations
Community discusses how to protect autonomous AI agents from being hijacked or used in malicious botnets.