Xpersona
O

OpenClaw Vulnerability Checker

CLAWHUB · Unverified

OpenClaw 安全漏洞检查与配置审计工具。用于检测当前 OpenClaw 版本存在的已知安全漏洞、公网访问安全风险,对比当前版本与最新版本的差异,获取漏洞详情、风险评估、配置审计和升级建议。使用场景:(1) 用户询问"检查一下我的 OpenClaw 版本有什么安全漏洞",(2) 用户说"检查 OpenClaw... Skill: OpenClaw Vulnerability Checker Owner: hzzhuohui Summary: OpenClaw 安全漏洞检查与配置审计工具。用于检测当前 OpenClaw 版本存在的已知安全漏洞、公网访问安全风险,对比当前版本与最新版本的差异,获取漏洞详情、风险评估、配置审计和升级建议。使用场景:(1) 用户询问"检查一下我的 OpenClaw 版本有什么安全漏洞",(2) 用户说"检查 OpenClaw... Tags: cve:1.0.0, latest:1.0.1, security:1.0.0, updates:1.0.0, version:1.0.0, vulnerability-checker:1.0.0 Version history: v1.0.1 | 2026-03-24T02:47:43.717Z | user Version 1.0.1 expands security a

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ehr39rycpg24jqmr60zjf1183gmz7:openclaw-vulnerability-checker
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-hzzhuohui-openclaw-vulnerability-checker/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

23,280 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: openclaw-vulnerability-checker
version: 1.0.1
description: OpenClaw 安全漏洞检查与配置审计工具。用于检测当前 OpenClaw 版本存在的已知安全漏洞、公网访问安全风险,对比当前版本与最新版本的差异,获取漏洞详情、风险评估、配置审计和升级建议。使用场景:(1) 用户询问"检查一下我的 OpenClaw 版本有什么安全漏洞",(2) 用户说"检查 OpenClaw 安全问题",(3) 用户想了解当前版本的漏洞风险时自动触发,(4) 用户问"最新版本有什么更新"或"对比版本差异",(5) 用户询问"OpenClaw 是否开启了公网访问"。
---

# OpenClow Vulnerability Checker

## Overview

帮助用户检测 OpenClaw 当前的已知安全漏洞,对比当前版本与最新版本的差异,获取漏洞详情、风险评估、版本更新内容和修复建议,确保 OpenClaw 运行在安全状态并了解最新功能。

## Workflow

### Step 1: 获取当前版本

运行 `openclaw --version` 获取当前安装的 OpenClow 版本号和 commit hash。

示例:
```
OpenClaw 2026.3.8 (3caab92)
```

提取版本号格式为 `YYYY.M.D`(如 `2026.3.8`),以及可能存在的 commit hash。

### Step 2: 查询漏洞列表

从多个数据源查询 OpenClaw 的安全漏洞信息:

**优先级顺序:**

1. **GitHub Security Advisories**(如果用户提供了 GitHub token)
   - 使用 GitHub API 查询:`https://api.github.com/repos/openclaw/openclaw/security/advisories`
   - 优点:官方、结构化、包含修复版本信息
   - 需要:GitHub Personal Access Token(有 repo 权限)

2. **CNNVD(中国国家信息安全漏洞库)**
   - 通过 web_fetch 搜索相关页面
   - 关注 "OpenClaw"、"openclaw" 相关漏洞条目
   - 示例:微信公众号文章如提供的链接

3. **NVD(National Vulnerability Database)**
   - CVE 数据库查询
   - URL: `https://nvd.nist.gov/vuln/search/results?form_basic_search=&results_type=overview&search_type=all&query=OpenClaw`

4. **本地漏洞数据库** - `references/vulnerabilities.md`
   - 手动维护的已知漏洞列表
   - 格式:版本范围、CVE ID、CVSS 评分、简介、修复版本、缓解措施

### Step 3: 匹配漏洞

对比当前版本与漏洞信息:

**漏洞筛选规则:**

1. 检查漏洞影响的版本范围
2. 确认当前版本是否在影响范围内
3. 验证是否有修复版本已经修复该漏洞
4. 如果修复版本存在但当前版本低于修复版本 → 漏洞未修复

**版本比较逻辑:**

- OpenClaw 使用语义化版本 `YYYY.M.D` 或 `vX.Y.Z`
- 支持范围比较:`< 2026.3.10` 表示所有小于 `2026.3.10` 的版本都受影响
- 支持特定版本:`= 2026.3.8` 表示仅该版本受影响

### Step 4: 评估风险

对每个未修复漏洞进行风险评估:

**风险等级判定:**

- **高危(Critical)**: CVSS 9.0-10.0 或远程代码执行(RCE)
- **高(High)**: CVSS 7.0-8.9 或权限提升、敏感信息泄露
- **中(Medium)**: CVSS 4.0-6.9 或拒绝服务、XSS
- **低(Low)**: CVSS 0.1-3.9 或信息泄露等低影响

### Step 5: 生成报告

输出结构化的安全报告,包含:

### Step 6: 公网访问安全扫描(新增)

检查 OpenClaw 是否开启了不必要的公网访问,防止安全暴露。

**检测项目:**

1. **Gateway 绑定地址检查**
   - 运行 `openclaw gateway config.get --path gateway.bind`
   - 检查是否绑定到 `0.0.0.0`(所有网络接口)
   - 检查是否绑定到公网 IP 地址
   - 安全建议:仅绑定到 `127.0.0.1`(本地回环)或局域网内网 IP

2. **端口监听检查**
   - 运行 `lsof -i :3001` 或 `netstat -an | grep 3001` 检查默认端口
   - 检查其他可能的服务端口(如 3000, 8080 等)
   - 识别端口是否监听在 `0.0.0.0` 或公网 IP

3. **隧道/反向代理检查**
   - 检查是否配置了 Tailscale、ngrok、frp 等隧道服务
   - 运行 `ps aux | grep -E "tailscale|ngrok|frp"` 检查进程
   - 检查配置文件中的相关设置

4. **防火墙规则检查**
   - macOS: 检查 `pfctl -sr | grep 3001`
   - Linux: 检查 `iptables -L -n | grep 3001`
   - 确认是否有防火墙规则阻止公网访问

5. **Control UI 访问检查**
   - 检查 `openclaw gateway.config.get --path gateway.controlUI.bind`
   - 确认控制台界面的绑定地址
   - 检查是否开启了认证(`gateway.controlUI.auth.enabled`)

**风险等级判定:**

| 配置状态 | 风险等级 | 说明 |
|---------|---------|------|
| 绑定 127.0.0.1 + 开启认证 | 🟢 安全 | 仅本地访问,有认证保护 |
| 绑定局域网 IP + 开启认证 | 🟡 中等 | 内网访问,需确保网络边界安全 |
| 绑定 0.0.0.0 + 开启认证 | 🟠 高 | 暴露到所有网络,依赖认证 |
| 绑定公网 IP 或 0.0.0.0 + 无认证 | 🔴 严重 | 公网无保护访问,极高风险 |
| 启用公网隧道 + 无认证 | 🔴 严重 | 通过隧道绕过防火墙,极高风险 |

**修复建议:**

- **立即修复**(严重风险):
  1. 修改绑定地址:`openclaw gateway conf

_meta.json

{
  "ownerId": "kn7efsz21y5yqrr717wrt6b09982bm8f",
  "slug": "openclaw-vulnerability-checker",
  "version": "1.0.1",
  "publishedAt": 1774320463717
}

references/vulnerabilities.md

# OpenClaw 已知漏洞数据库

**维护说明:** 本文件记录 OpenClow 的已知安全漏洞,定期从官方数据源同步更新。

**最后更新时间:** [手动更新时填写,格式:YYYY-MM-DD HH:MM:SS]

**数据来源:**
- GitHub Security Advisories
- CNNVD(中国国家信息安全漏洞库)
- NVD(National Vulnerability Database)
- 官方安全公告

---

## 漏洞列表

### 待填充模板

当发现新漏洞时,按以下格式添加:

```markdown
#### [CVE-YYYY-NNNNN] 漏洞标题

| 字段 | 值 |
|------|-----|
| **CVE ID** | CVE-2025-XXXXX |
| **CVSS 评分** | 9.8 (高危) |
| **CVSS 向量** | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| **影响版本** | < 2026.3.10 |
| **固定版本** | 2026.3.10 |
| **发布日期** | 2025-12-15 |
| **漏洞类型** | 远程代码执行 (RCE) |
| **来源** | GitHub GHSA-xxxxx |
| **参考链接** | https://github.com/openclaw/openclaw/security/advisories/GHSA-xxxxx |

**漏洞简介:**
[简述漏洞原理、攻击向量、受影响功能模块...]

**潜在风险:**
- [ ] 远程代码执行
- [ ] 权限提升
- [ ] 敏感信息泄露
- [ ] 拒绝服务
- [ ] 其他:[描述]

**攻击场景:**
[描述具体的攻击场景,例如:攻击者可以通过...]

**修复/缓解措施:**
- ✅ 升级到 OpenClow [版本号] 或更新版本
- 📝 如果无法立即升级,可采取以下缓解措施:
  1. [措施1]
  2. [措施2]
- 🔒 配置建议:[特定配置项的修改建议]

**相关 PR/Commit:**
- [ ] PR #xxx: 修复提交
- [ ] Commit [hash]: 修复 commit hash(如适用)
```

---

## 版本映射表

### 受漏洞影响的版本范围

| 漏洞 ID | 影响版本范围 | 修复版本 |
|---------|--------------|----------|
| CVE-2025-XXXXX | < 2026.3.10 | 2026.3.10 |
| CVE-2025-YYYYY | >= 2026.1.0, < 2026.3.0 | 2026.3.0 |

---

## 更新日志

### 2026-03-11
- 初始化漏洞数据库
- 待添加实际漏洞数据

---

## CVSS 风险等级说明

| 评分范围 | 等级 | Emoji | 说明 |
|---------|------|-------|------|
| 9.0 - 10.0 | Critical 🔴 | 🔴 | 严重漏洞,如远程代码执行,需立即修复 |
| 7.0 - 8.9 | High 🟠 | 🟠 | 高危漏洞,如权限提升、敏感数据泄露 |
| 4.0 - 6.9 | Medium 🟡 | 🟡 | 中危漏洞,如 XSS、DoS |
| 0.1 - 3.9 | Low 🟢 | 🟢 | 低危漏洞,影响较小 |
| 0.0 | None | ✅ | 无风险或已修复 |

---

## 自动化同步说明

### GitHub Security Advisories API 同步

```bash
# 使用 GitHub API 获取安全公告
curl -H "Authorization: token YOUR_GITHUB_TOKEN" \
  https://api.github.com/repos/openclaw/openclaw/security/advisories \
  | jq '.[] | {
      cve: "CVE-\(.cve_id)",
      ghsa: .ghsa_id,
      summary: .summary,
      severity: .severity,
      cvss: .cvss.score,
      affected: .affected[0].ranges[0].events | map(select(.fixed)) | .[0].fixed
    }'
```

### CNNVD 查询示例

通过 web_fetch 获取 CNNVD 页面内容,解析 XML 返回:

```python
# 示例:查询 CNNVD 中 OpenClow 相关漏洞
import requests
from lxml import etree

# CNNVD API 需要申请 API Key
# 参考文档:https://www.cnnvd.org.cn/web/apiDetail.html
```

### NVD CVE 数据库

```bash
# 使用 NVD API v2.0
curl "https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=openclaw"
```

---

## 维护指南

1. **定期同步**:建议每周或每月从官方数据源同步一次
2. **验证准确性**:确认从外部数据源同步的漏洞信息准确无误
3. **版本检查**:使用 `scripts/get_version.py` 验证版本范围规则的正确性
4. **备份存档**:重大变更前备份当前版本

---

*此文件由 openclaw-vulnerability-checker skill 维护*

skill-card.md

## Description:

Checks an OpenClaw installation for known vulnerability exposure, public-access configuration risks, release differences, and upgrade or hardening guidance.

This skill is ready for commercial/non-commercial use.

## Publisher:

[hzzhuohui](https://clawhub.ai/user/hzzhuohui)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to audit OpenClaw installations for known vulnerability exposure, public gateway or UI exposure, version drift, and practical upgrade or configuration hardening steps.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may inspect local OpenClaw version, gateway, network, firewall, process, and tunnel state.

Mitigation: Use it only when an OpenClaw security audit is intended, and review findings before sharing host or network details.

Risk: GitHub advisory lookups may tempt users to paste a personal access token into chat or shell history.

Mitigation: Prefer unauthenticated public sources when adequate; if a token is needed, use the least-privileged token and handle it outside chat and shell history.

Risk: Suggested sudo, config.patch, tunnel shutdown, update, or gateway restart commands can change service availability or exposure.

Mitigation: Require explicit user approval before running privileged commands, changing configuration, stopping tunnels, updating OpenClaw, or restarting the gateway.

Risk: The bundled local vulnerability database contains placeholder CVE examples.

Mitigation: Verify vulnerability examples against GitHub Security Advisories, NVD, CNNVD, or official advisories before presenting them as real findings.

## Reference(s):

- [OpenClaw known vulnerabilities reference](references/vulnerabilities.md)
- [GitHub Security Advisories API](https://api.github.com/repos/openclaw/openclaw/security/advisories)
- [GitHub Releases API](https://api.github.com/repos/openclaw/openclaw/releases)
- [NVD OpenClaw vulnerability search](https://nvd.nist.gov/vuln/search/results?form_basic_search=&results_type=overview&search_type=all&query=OpenClaw)
- [NVD CVE API](https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=openclaw)
- [CNNVD API documentation](https://www.cnnvd.org.cn/web/apiDetail.html)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown reports with inline shell commands and optional JSON release data]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May propose privileged configuration, firewall, tunnel, update, or gateway restart commands that require user approval.]

## Skill Version(s):

1.0.1 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deploymen

Sponsored

Ads related to OpenClaw Vulnerability Checker and adjacent AI workflows.