Skip to content
Back to skills

Guava Guard

FSecurity

Runtime 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
securitygoshellbashgitapisecurity

Works with

  • api

Security analysis

F25/100
  • criticalPipes output to a shell interpreter
  • criticalDownloads and executes remote scripts โ€” classic supply chain attack
  • criticalDownloads and executes remote scripts โ€” classic supply chain attack

Pro scans all 6 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill guava-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guava Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guava Guard
[![Security: F โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-guava-guard/badge)](https://www.skillsdirectory.com/skills/modbender-guava-guard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md5 KB
  • HOOK.md268 B
  • SKILL.md3.1 KB
  • handler.js4.7 KB
  • hooks/guava-guard/HOOK.md1.6 KB
  • hooks/guava-guard/handler.ts7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ