Back to skills
SKILL.md
Guava Guard
FSecurityRuntime security guard for OpenClaw agents. Warns on dangerous tool call patterns. For full static scanning, use guard-scanner.
- 14 stars
- 0 votes
- 0 copies
- 1 view
- Added September 7, 2026
Works with
Security analysis
25/100- Pipes output to a shell interpreter
- Downloads and executes remote scripts โ classic supply chain attack
- Downloads and executes remote scripts โ classic supply chain attack
Pro scans all 6 files and shows the line behind each finding
npx -y skills add modbender/skill-library-mcp --skill guava-guard --agent claude-codeAre you the author of Guava Guard?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-guava-guard)---
name: guava-guard
description: Runtime security guard for OpenClaw agents. Warns on dangerous tool call patterns. For full static scanning, use guard-scanner.
metadata:
clawdbot:
emoji: "๐ก๏ธ"
---
# GuavaGuard ๐ก๏ธ
**Runtime security monitoring for your OpenClaw agent.**
GuavaGuard watches tool calls in real-time and warns when it detects dangerous patterns โ reverse shells, credential exfiltration, sandbox escapes, and more.
## Quick Start
```bash
# 1. Install
clawhub install guava-guard
# 2. Enable the runtime hook
openclaw hooks install skills/guava-guard/hooks/guava-guard
openclaw hooks enable guava-guard
# 3. Restart gateway, then verify:
openclaw hooks list # Should show ๐ guava-guard as โ ready
```
That's it. GuavaGuard is now monitoring your agent's tool calls.
## What It Detects (12 runtime patterns)
| Pattern | Severity | Example |
|---------|----------|---------|
| Reverse shell | ๐ด CRITICAL | `/dev/tcp/`, `nc -e`, `socat TCP` |
| Credential exfiltration | ๐ด CRITICAL | Secrets โ webhook.site, ngrok, requestbin |
| Guardrail disabling | ๐ด CRITICAL | `exec.approval = off` (CVE-2026-25253) |
| macOS Gatekeeper bypass | ๐ด CRITICAL | `xattr -d quarantine` |
| ClawHavoc AMOS | ๐ด CRITICAL | `socifiapp`, Atomic Stealer indicators |
| Base64 โ shell | ๐ด CRITICAL | `base64 -d \| bash` |
| Download โ shell | ๐ด CRITICAL | `curl \| bash`, `wget \| sh` |
| Cloud metadata SSRF | ๐ด CRITICAL | `169.254.169.254` |
| Known malicious IP | ๐ด CRITICAL | `91.92.242.30` |
| DNS exfiltration | ๐ HIGH | `nslookup $secret`, `dig @attacker` |
| SSH key access | ๐ HIGH | `.ssh/id_*`, `.ssh/authorized_keys` |
| Crypto wallet access | ๐ HIGH | `wallet seed`, `mnemonic`, `seed phrase` |
## Current Limitation
> **Warning**: OpenClaw's hook API does not yet support blocking tool execution.
> GuavaGuard currently **warns only** โ it cannot prevent dangerous calls.
> When a cancel API is added, blocking will be enabled automatically.
> See: [Issue #18677](https://github.com/openclaw/openclaw/issues/18677)
## Audit Log
All detections are logged to `~/.openclaw/guava-guard/audit.jsonl` (JSON lines format).
## Want Full Static Scanning? (Recommended Default)
GuavaGuard handles **runtime** monitoring. For comprehensive **static** scanning of skill packages before installation, use **guard-scanner** first:
```bash
# 1) Pre-install safety gate
npx guard-scanner ./skills --self-exclude --verbose
# 2) Then enable runtime monitoring
openclaw hooks enable guava-guard
```
- 186+ detection patterns / 20 threat categories
- HTML dashboard, SARIF, JSON output
- Zero dependencies
- MIT licensed
**GitHub**: https://github.com/koatora20/guard-scanner
**ClawHub**: `clawhub install guard-scanner`
## Born From a Real Incident
A real agent compromise overwrote core behavior files through a malicious skill install path.
GuavaGuard exists to detect dangerous runtime tool-call patterns early and leave an auditable trail.
## License
MIT. Zero dependencies. ๐
Files in this skill
- CHANGELOG.md
- HOOK.md
- SKILL.md
- handler.js
- hooks/guava-guard/HOOK.md
- hooks/guava-guard/handler.ts
Attribution
Comments
Loading commentsโฆ