@stanchat/clawguard
v2.7.0
Published
Real-time monitoring for AI agents - detect threats and see everything your agent does
Downloads
3,011
Maintainers
Readme
🦞 Clawguard - Real-Time AI Agent Monitoring
Clawguard monitors your AI agent's activity in real-time. See everything your agent does, detect dangerous commands and prompt injection attacks.
What Clawguard Does
✓ Monitors:
- Shell commands (rm, chmod, curl piped to bash, etc.)
- File writes and deletions
- Network requests
- Credential/environment access
- Prompt injection attempts
✗ Clawguard does NOT:
- Send data to external servers
- Modify your agent's core behavior
- Store data outside your machine
Quick Start
Just run:
npx @stanchat/clawguard startYour dashboard opens at http://localhost:4321/clawguard
Works on Windows, Mac, and Linux - no install needed!
Optional: Install Globally
For frequent use, install globally:
npm install -g @stanchat/clawguard # add sudo on Mac/Linux if needed
clawguard startHow It Works
Show Mode (First Run)
When first installed, Clawguard runs in "Show Mode" - it logs what it WOULD block but doesn't actually block anything. This lets you see how it works without disruption.
After 10 actions, you'll be prompted to enable full protection.
Protection Levels
| Level | Description | |-------|-------------| | 😊 Relaxed | Only block the really dangerous stuff | | ⚖️ Balanced | Ask before risky actions (recommended) | | 🔒 Strict | Approve everything important |
Commands
# Check status
openclaw clawguard status
# Open dashboard
openclaw clawguard dashboard
# Enable/disable protection
openclaw clawguard enable
openclaw clawguard disable
# Change protection level
openclaw clawguard level strict
# View recent activity
openclaw clawguard logsDashboard
The Clawguard dashboard shows:
- Real-time action monitoring
- Blocked action history
- Approval requests
- Protection score
Access at: http://127.0.0.1:4321/clawguard
Configuration
Config file: ~/.clawguard/config.json
Logs: ~/.clawguard/logs/
Custom policy: ~/.clawguard/policy.json
Transparency
Clawguard is:
- ✅ Open source
- ✅ Local-only (no cloud)
- ✅ No data collection
- ✅ Can be disabled anytime
Support
- Issues: github.com/averecion/clawguard
- Docs: clawguard.dev
- Full governance platform: averecion.com
Made with 🦞 by Averecion
