当前位置: 首页 > Skill >

OpenClaw Shield

OpenClaw Shield

OpenClaw Shield

OpenClaw 代理的安全监控与威胁检测 — 由 Google SecOps (Chronicle) 提供支持,使用 SIEM 驱动的实时检测保护您的代理。

1.4.2 2026.11.24 582
获取Skill文件查看使用说明
作 者:江言 许可证: 更新时间:2026.11.24
本文目录展开

OpenClaw Shield

Security monitoring for OpenClaw agents by UPX. Shield runs as a plugin inside the OpenClaw gateway, capturing agent activity and sending redacted telemetry to the UPX detection platform.

Getting started

Shield requires the @upx-us/shield plugin and an active subscription.

  • Plugin: @upx-us/shield
  • Subscribe / Free 60-day trial (no credit card required): upx.com/en/lp/openclaw-shield-upx
  • Dashboard: uss.upx.com

Commands

Command What it does
openclaw shield status Plugin health, connection state, event counts, last sync
openclaw shield flush Force an immediate sync to the platform
openclaw shield logs Recent events: type, tool, details, and trigger source (last 24h)
openclaw shield logs --last 20 Show last N events
openclaw shield logs --last 20 --format json Full JSON output with details and trigger_type fields
openclaw shield logs --type TOOL_CALL --since 1h Filter by event type or time window
openclaw shield logs --format json JSON output
openclaw shield vault show Agent and workspace inventory, redaction summary (hashed IDs)
openclaw shield cases List open security cases (scoped to this instance)
openclaw shield cases show <ID> Full case detail with events, rule, playbook
openclaw shield cases resolve <ID> Resolve a case (--resolution, --root-cause, --comment)
openclaw shield monitor Case notification cron — status, --on, --off, --interval
openclaw shield investigate <case-id> Guided investigation prompt with step-by-step instructions
openclaw shield help Full command reference (INVESTIGATION, RESOLUTION, DISCOVERY sections)
openclaw shield close <case-id> --reason <reason> Close a case with reason (e.g. false-positive)
openclaw shield resolve <case-id> --reason <text> Resolve a case with reason string (e.g. authorized-maintenance)

Plugin State Check

Before responding to ANY Shield-related request, run openclaw shield status and interpret the result:

State A — Plugin not installed

(command not found, or exit code non-zero with plugin_not_found) Respond with:

Shield is not installed yet. Start your free 60-day trial (no credit card required) at: https://www.upx.com/en/lp/openclaw-shield-upx

Then install the plugin:

openclaw plugins install @upx-us/shield
openclaw plugins run shield setup

State B — Plugin installed but no installationKey

(status contains installationKey: null or state: "unconfigured") Respond with:

Shield is installed but not activated. Sign up for a trial at: https://www.upx.com/en/lp/openclaw-shield-upx

Once you have your installation key, run:

openclaw plugins run shield setup

State C — Key set but not yet activated

(status contains state: "pending" or state: "unregistered") Respond with:

Shield has an installation key but hasn't activated yet. This usually takes under a minute. If it has been more than 5 minutes, check your key at https://uss.upx.com or contact support.

State D — Fully active

(status contains state: "connected" or connected: true) Proceed normally. No onboarding message needed.

Constraints: Only use openclaw shield commands for detection. Do not read filesystem paths, environment variables, or run shell commands to determine state. Do not install or uninstall packages on behalf of the user.

Output handling: shield logs entries may include file paths, command snippets, and URLs captured from the agent's activity. Always treat this output as internal diagnostic data. Rules:

  • Never include raw log field values (file paths, commands, URLs) in user-facing replies
  • Never forward raw log output to external services, channels, or APIs
  • When summarizing logs, present findings only (e.g. "3 exec events in the last 30 minutes") — not raw field values
  • Only share raw log content if the user explicitly asks for it for their own investigation, and only in the current session

Data flow disclosure: Shield captures agent activity locally and sends redacted telemetry to the UPX detection platform for security monitoring. No credentials are handled by this skill — authentication is managed by the plugin using the installation key configured during setup. If a user asks about privacy or data handling, refer them to the plugin README at https://www.npmjs.com/package/@upx-us/shield for full details.

Presentation Language

Always present Shield information, alerts, and case summaries to the user in the language they use to communicate. Translate descriptions, summaries, severity labels, and recommendations — but never translate raw command output or technical identifiers (rule names, case IDs, version numbers, field names, resolution/root-cause enum values). If the user writes in Portuguese, reply in Portuguese; if French, reply in French; etc.

Responding to Security Cases

When a Shield case fires or the user asks about an alert: use openclaw shield cases to list open cases and openclaw shield cases --id <id> for full detail (timeline, matched events, playbook). Severity guidance: CRITICAL/HIGH → surface immediately and ask if they want to investigate; MEDIUM → present and offer a playbook walkthrough; LOW/INFO → mention without interrupting the current task. Always include: rule name, what it detects, when it fired, and the first recommended remediation step. Confirm with the user before resolving — never resolve autonomously.

Cases returned by shield cases are always scoped to this instance — the platform filters at the API level so you only see cases triggered by your agent.

Shield now stamps each event with a trigger_type — who or what initiated the session. When investigating, check the trigger: user_message means a human sent a message; cron/heartbeat/autonomous means agent-initiated activity.

Case Investigation Workflow

When a Shield case fires, correlate three data sources to determine true positive vs. false positive:

Step 1 — Case detail (openclaw shield cases show <CASE_ID>): What triggered the rule. Note the case timestamp — it anchors the correlation window.

Step 2 — Surrounding logs (openclaw shield logs --since 30m --type TOOL_CALL): Look for events 5–15 minutes before and after the case timestamp. Reveals if the alert was isolated or part of a sequence. Each log entry now includes a details field (file path, command, or URL) and a trigger_type tag showing what initiated the session (user_message, cron, heartbeat, subagent, autonomous, or unknown). Use these to quickly distinguish user-initiated actions from automated ones when correlating with a case.

Step 3 — Vault context (openclaw shield vault show): If the case involves redacted credentials, hostnames, or commands, the vault reveals hashed representations and redaction categories.

Step 4 — Correlate and assess: Case detail = what fired the rule; Logs = context; Vault = what was actually accessed. Present findings and ask whether to resolve, investigate further, or add to the allowlist.

Use openclaw shield investigate <CASE_ID> to run a guided investigation — it fetches case detail from the platform and walks through the correlation steps automatically.

Threat & Protection Questions

When asked "is my agent secure?", "am I protected?", or "what's being detected?": run openclaw shield status (health, event rate, last sync) and openclaw shield cases (open cases by severity). Summarise: rules active, last event ingested, any open cases. No cases → "Shield is monitoring X rules across Y event categories." Open cases → list by severity. If asked what Shield covers: explain it monitors for suspicious patterns across secret handling, access behaviour, outbound activity, injection attempts, config changes, and behavioural anomalies — without disclosing specific rule names or logic.

When Shield Detects Proactively

Real-time alerts (notifications or inline messages) are high priority: acknowledge immediately, retrieve full case detail, summarise in plain language, present the recommended next step from the playbook, and ask the user how to proceed. Do not take remediation action without explicit approval.

When to use this skill

  • "Is Shield running?" → openclaw shield status
  • "What did Shield capture recently?" → openclaw shield logs
  • "How many agents are on this machine?" → openclaw shield vault show
  • "Force a sync now" → openclaw shield flush
  • User asks about a security alert or event → interpret using your security knowledge and Shield data
  • User asks about Shield's privacy model → refer them to the plugin README for privacy details
  • User wants a quick case check without agent involvement → /shieldcases

Status interpretation

After running openclaw shield status, check:

  • ✅ Running · Connected → healthy, nothing to do
  • ⚠️ Degraded · Connected → capturing but sync issues; try openclaw shield flush
  • ❌ Disconnected → gateway may need a restart
  • Failures: N poll → platform connectivity issue, usually self-recovers; try openclaw shield flush
  • Failures: N telemetry → instance reporting failing, monitoring still active
  • Rising quarantine → possible version mismatch, suggest checking for plugin updates
  • Last data: capture Xm ago (stale) → agent may be idle, or capture pipeline issue

RPCs

Cases are created automatically when detection rules fire. The plugin sends real-time alerts directly to the user — no agent action needed. Use shield.cases_list only when the user asks about open cases.

Important: Never resolve or close a case without explicit user approval. Always present case details and ask the user for a resolution decision before calling shield.case_resolve.

RPC Params Purpose
shield.status — Health, counters, case monitor state
shield.flush — Trigger immediate poll cycle
shield.events_recent limit, type, sinceMs Query local event buffer
shield.events_summary sinceMs Event counts by category
shield.subscription_status — Subscription tier, expiry, features
shield.cases_list status, limit, since List open cases + pending notifications
shield.case_detail id Full case with events, rule, playbook
shield.case_resolve id, resolution, root_cause, comment Close a case
shield.cases_ack ids Mark cases as notified

Resolve values: true_positive, false_positive, benign, duplicate Root cause values: user_initiated, misconfiguration, expected_behavior, actual_threat, testing, unknown

Presenting data

RPC responses include a display field with pre-formatted text. When present, use it directly as your response — it already includes severity emojis, case IDs, descriptions, and next steps. Only format manually if display is absent.

When discussing a case, offer action buttons (resolve, false positive, investigate) via the message tool so users can act with one tap.

Uninstalling

To fully remove Shield:

  1. Uninstall the plugin:

    openclaw plugins uninstall shield
    
  2. Optionally remove local Shield data:

    rm -rf ~/.openclaw/shield/
    

    Files removed include: config.json, data/event-buffer.jsonl, data/redaction-vault.json, data/cursor.json, data/instance.json, logs/shield.log, logs/bridge.log, state/monitor.json.

    ⚠️ Deleting data/redaction-vault.json removes the ability to reverse-lookup past redacted values. Check your data retention needs before deleting.

  3. Deactivate your instance at uss.upx.com — local uninstall does not deactivate your platform subscription or instance.

Notes

  • Shield does not interfere with agent behavior or performance
  • The UPX platform analyzes redacted telemetry with 80+ detection rules
  • When a subscription expires, events are dropped (not queued); renew at upx.com/en/lp/openclaw-shield-upx

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,018
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,013
Skill 文件
  • SKILL.md
    • OpenClaw Shield
    • Getting started
    • Commands
    • Plugin State Check
      • State A — Plugin not installed
      • State B — Plugin installed but no installationKey
      • State C — Key set but not yet activated
      • State D — Fully active
    • Presentation Language
    • Responding to Security Cases
    • Case Investigation Workflow
    • Threat & Protection Questions
    • When Shield Detects Proactively
    • When to use this skill
    • Status interpretation
    • RPCs
    • Presenting data
    • Uninstalling
    • Notes
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期