跳到正文
TakoAPI
返回技能列表

guava-guard

由 koatora20 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Runtime security guard for OpenClaw agents.

描述

该技能的功能

Runtime security monitor for OpenClaw agents that watches tool calls as they execute and warns when it detects 12 dangerous patterns, including reverse shells, credential exfiltration, sandbox escapes, and cloud metadata SSRF. Part of a two-layer defense alongside guard-scanner, which handles static analysis with 150+ patterns. Detections are logged to a local audit file in JSON lines format.

Static scanners only catch threats before execution, so runtime monitoring covers cases where malicious behavior emerges from dynamic tool call arguments that weren't present in the skill source.

何时使用

  • Catching reverse shell attempts during agent execution
  • Alerting when agent tools try to send credentials to external webhooks
  • Detecting base64-encoded shell injection in tool arguments
  • Monitoring for cloud metadata SSRF calls to 169.254.169.254
  • Auditing crypto wallet or SSH key access by agent tools

示例工作流

输入

User asks: Set up runtime security monitoring for my OpenClaw agent

智能体
  1. 1

    Install guard-scanner via clawhub for static pre-install scanning

  2. 2

    Install guava-guard via clawhub for runtime monitoring

  3. 3

    Run npx guard-scanner on the skills directory to gate the install

  4. 4

    Enable the guava-guard hook with openclaw hooks install and openclaw hooks enable

  5. 5

    Verify the hook appears as ready with openclaw hooks list

输出

Agent tool calls are now monitored in real-time; detections are written to ~/.openclaw/guava-guard/audit.jsonl with severity and pattern metadata

安装

clawhub install koatora20/guava-guard

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接