Xpersona
C

ClawLock

CLAWHUB · Unverified

ClawLock — 综合安全扫描、红队测试与加固工具,支持全平台。 当用户明确要求安全扫描、安全体检、安全加固时触发: 「开始安全体检」「安全扫描」「检查 skill 安全」「安全加固」「探测实例」 「scan my claw」「security check」「drift detection」「red team... Skill: ClawLock Owner: g1at Summary: ClawLock — 综合安全扫描、红队测试与加固工具,支持全平台。 当用户明确要求安全扫描、安全体检、安全加固时触发: 「开始安全体检」「安全扫描」「检查 skill 安全」「安全加固」「探测实例」 「scan my claw」「security check」「drift detection」「red team... Tags: latest:2.5.0 Version history: v2.5.0 | 2026-05-14T15:50:46.390Z | user **ClawLock 2.5.0 — 简要更新日志** - 版本号升级至 2.5.0,并在元数据中同步更新。 - 无文件内容修改,仅元数据中的 version 字段从 2.3.0 升级为 2.5.0。 - 其余功能与描述保持一致。 v2.3.0 | 2026-04-14T02:24:55.

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K 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 s175y09xv8b0gqssygv5vfwtrx83jwtn:clawlock
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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-g1at-clawlock/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

143,207 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: clawlock
description: >
  ClawLock — 综合安全扫描、红队测试与加固工具,支持全平台。
  当用户明确要求安全扫描、安全体检、安全加固时触发:
  「开始安全体检」「安全扫描」「检查 skill 安全」「安全加固」「探测实例」
  「scan my claw」「security check」「drift detection」「red team」「红队测试」
  「React2Shell」「agent-scan」「发现安装」「凭证权限」
  Do NOT trigger for general coding, debugging, or normal Claw usage.
metadata:
  clawlock:
    version: "2.5.0"
    homepage: "https://github.com/g1at/ClawLock"
    author: "g0at"
    compatible_with: [openclaw, zeroclaw, claude-code, generic-claw]
    platforms: [linux, macos, windows, android-termux]
    requires:
      python: ">=3.9"
      pip_package: "clawlock"
      bins:
        - clawlock    # 主二进制,配合 autoAllowSkills 可自动授权
      bins_optional:
        - promptfoo
---

# ClawLock

综合安全扫描、红队测试与加固工具。支持 OpenClaw · ZeroClaw · Claude Code · 通用 Claw。
运行于 Linux · macOS · Windows · Android (Termux)。

[English Version → SKILL_EN.md](SKILL_EN.md)

---

## 安装与使用

```bash
pip install clawlock          # 安装
clawlock scan                 # 全面安全扫描
clawlock discover             # 发现所有安装实例
clawlock precheck ./SKILL.md  # 新 skill 导入预检
clawlock harden --auto-fix    # 加固(自动修复真正安全的本地变更)
clawlock scan --format html   # HTML 报告
```

作为 Claw Skill 安装:复制本文件到 skills 目录,并在对应 Claw 产品对话中发起安全检查请求。

---

## 触发边界

触发后按以下分类对号入座,**不要跨类执行**:

| 用户意图 | 执行功能 | 外部依赖 |
|---------|---------|---------|
| 全面安全体检 / health check | **Feature 1: 全量扫描** | 无 |
| 某个 skill 是否安全 / 安装前审计 | **Feature 2: Skill 单体审计** | 无 |
| 导入新 skill 前检查 | **Feature 3: Skill 导入预检** | 无 |
| 加固 / 收紧配置 | **Feature 4: 安全加固向导** | 无 |
| SOUL.md / Memory 文件 drift | **Feature 5: Drift 检测** | 无 |
| 发现系统上的安装 | **Feature 6: 安装发现** | 无 |
| 红队 / jailbreak 测试 | **Feature 7: LLM 红队测试** | ⚠️ 需 Node.js + promptfoo / npx |
| MCP 服务器是否安全 | **Feature 8: MCP 深度扫描** | 无(内建引擎) |
| React2Shell / CVE-2025-55182 | **Feature 9: 依赖漏洞检查(并入代码扫描)** | 无 |
| Agent 多智能体安全扫描 | **Feature 10: Agent-Scan** | 无(内建引擎) |
| 查看扫描历史趋势 | **Feature 11: 扫描历史** | 无 |
| 持续监控模式 | **Feature 12: 持续监控** | 无 |

不要将普通的 Claw 使用、项目调试、依赖安装当作触发本 skill 的理由。

---

## 隐私声明

绝大多数检查在**本地运行**。只有在对应功能被启用时,才会发起以下网络请求:

| 请求场景 | 发送数据 | 绝不发送 | 依赖 |
|----------|----------|----------|------|
| CVE 情报查询 | 产品名(固定字符串)+ 版本号 | 无文件内容、无凭证、无会话记录 | 无(内建) |
| Skill 威胁情报查询 | skill 名称 + 来源标签 | 无代码内容、无用户数据 | 无(内建) |
| Agent-Scan LLM 语义评估(可选) | 代码片段(截断到 8K 字符) | 无完整源码、无凭证 | 需 `--llm` + API key |
| promptfoo 红队测试(可选) | 测试 Prompt 载荷 | 无本地文件 | 需 Node.js,并通过 promptfoo 或 npx 运行 |

离线优先写法:

- 全量扫描离线:`clawlock scan --no-cve --no-redteam`
- 单体审计离线:`clawlock skill /path/to/skill --no-cloud`
- 如未启用 `--llm`,Agent-Scan 不会发起 LLM 请求

在 Claw 产品对话里,必须明确告诉用户:**本次哪些在线能力实际运行了,哪些被跳过了,哪些暂不可用。**

云端地址可自定义:`export CLAWLOCK_CLOUD_URL=https://your-instance`。

---

## 执行前安全提醒

在实际调用 `clawlock` 前,先做以下最小核对:

1. 确认当前要调用的 `clawlock` 就是预期安装版本,不要误用同名脚本或旧版本二进制。
2. 确认扫描目标是用户明确指定的对象,不要把测试命令误打到生产地址或无关目录。
3. 如用户明确要求本地优先或离线评估,优先关闭可选在线能力,再继续执行。
4. 如运行红队测试,先确认当前环境允许访问目标端点,且该目标确实适合做安全测试。

_meta.json

{
  "ownerId": "kn7f86798mhw8mm0438ry0qm4s82qx8b",
  "slug": "clawlock",
  "version": "2.5.0",
  "publishedAt": 1778773846390
}

SKILL_EN.md

---
name: clawlock
description: >
  ClawLock — Comprehensive security scanner, red-teamer & hardening toolkit.
  Trigger when the user explicitly requests a security scan, health check,
  hardening, or skill audit:
  "security scan" "health check" "check skill safety" "harden my claw"
  "drift detection" "red team test" "React2Shell"
  "agent-scan" "discover installations" "credential audit"
  Do NOT trigger for general coding, debugging, or normal Claw usage.
metadata:
  clawlock:
    version: "2.5.0"
    homepage: "https://github.com/g1at/ClawLock"
    author: "g0at"
    compatible_with: [openclaw, zeroclaw, claude-code, generic-claw]
    platforms: [linux, macos, windows, android-termux]
    requires:
      python: ">=3.9"
      pip_package: "clawlock"
      bins:
        - clawlock    # Main binary; works with autoAllowSkills for automatic approval
      bins_optional:
        - promptfoo
---

# ClawLock

Comprehensive security scanner, red-teamer & hardening toolkit.
Supports OpenClaw · ZeroClaw · Claude Code · Generic Claw.
Runs on Linux · macOS · Windows · Android (Termux).

[中文版 → SKILL.md](SKILL.md)

---

## Installation & Usage

```bash
pip install clawlock          # Install
clawlock scan                 # Full security scan
clawlock discover             # Find all installations
clawlock precheck ./SKILL.md  # Pre-check new skill
clawlock harden --auto-fix    # Harden (auto-fix real safe local changes)
clawlock scan --format html   # HTML report
```

To use as a Claw Skill: copy this file to your skills directory, then request a security check in the relevant Claw product conversation.

---

## Trigger Boundary

After triggering, classify the request and stay narrow — **do not cross feature boundaries**:

| User Intent | Feature | External Dependency |
|-------------|---------|-------------------|
| Full security health check | **Feature 1: Full Scan** | None |
| Is this skill safe? / pre-install audit | **Feature 2: Single Skill Audit** | None |
| Check new skill before importing | **Feature 3: Skill Import Pre-check** | None |
| Harden / tighten config | **Feature 4: Hardening Wizard** | None |
| SOUL.md / memory file drift | **Feature 5: Drift Detection** | None |
| Find installations on this machine | **Feature 6: Discovery** | None |
| Red-team / jailbreak test | **Feature 7: LLM Red-Team** | ⚠️ Requires Node.js + promptfoo / npx |
| MCP server security | **Feature 8: MCP Deep Scan** | None (v1.1 built-in engine) |
| React2Shell / CVE-2025-55182 | **Feature 9: Dependency CVE checks (integrated into code scans)** | None |
| Multi-agent security scan | **Feature 10: Agent-Scan** | None (v1.1 built-in engine) |
| View scan history trends | **Feature 11: Scan History** | None |
| Continuous monitoring | **Feature 12: Watch Mode** | None |

Do not treat normal Claw usage, debugging, or dependency installation as reasons to trigger this skill.

---

## Privacy Dis

skill-card.md

## Description:

ClawLock is a comprehensive security scanner, red-team testing, and hardening toolkit for Claw environments across Linux, macOS, Windows, and Android Termux.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers, operators, and security reviewers use this skill to run Claw environment security scans, audit skills before installation, check configuration drift, and guide hardening work.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill asks the agent to run a third-party CLI with broad local security-inspection authority.

Mitigation: Review the target path and requested scan scope before execution, and run scans only against systems and files the user controls.

Risk: Hardening workflows can modify agent configuration and local security settings.

Mitigation: Confirm user approval for changes, prefer documented rollback paths, and review generated diffs before treating hardening as applied.

Risk: The release supports mutable remote installs and self-updates from PyPI or GitHub.

Mitigation: Prefer pinned package versions and verify the installed binary before running scans or updates.

Risk: Optional red-team and LLM assessment features may contact external services or execute promptfoo through Node.js.

Mitigation: Use offline flags when needed and run optional red-team tests only against authorized targets.

Risk: Scan history can store device fingerprinting information.

Mitigation: Disable or clear local scan history if persistent device fingerprints are not acceptable.

## Reference(s):

- [ClawLock ClawHub release](https://clawhub.ai/g1at/skills/clawlock)
- [ClawLock metadata homepage](https://github.com/g1at/ClawLock)

## Skill Output:

**Output Type(s):** [Analysis, Markdown, Shell commands, Configuration instructions, Guidance]

**Output Format:** [Markdown with inline shell commands and optional JSON or HTML reports from the ClawLock CLI]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May reference local scan results, skipped online checks, and hardening actions depending on the requested feature.]

## Skill Version(s):

2.5.0 (source: server release metadata and skill metadata)

## 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 deployment.

Sponsored

Ads related to ClawLock and adjacent AI workflows.