← 返回 Skills 市场
stanxy

ClawWall

作者 Stan Liu · GitHub ↗ · v0.2.2
cross-platform ⚠ suspicious
530
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawwall
功能描述
Outbound DLP for OpenClaw — hard regex blocks secrets & PII from leaving the machine. Domain control, no LLM.
使用说明 (SKILL.md)

ClawWall — Outbound DLP for OpenClaw

GitHub: https://github.com/Stanxy/clawguard Release: https://github.com/Stanxy/clawguard/releases/tag/v0.2.1 PyPI: https://pypi.org/project/clawwall

ClawWall sits between your AI agent and the outside world. Every outbound tool call is intercepted and scanned against 60+ hard-coded patterns before anything leaves the machine. If content matches — it is blocked or redacted. No LLM, no approximation: regex and entropy only.

Trust & Permissions

Be aware of what this installs:

  • A local Python service (port 8642) that receives every outbound tool call for scanning
  • An OpenClaw plugin that hooks before_tool_call — all outbound content passes through it
  • A local SQLite database that stores scan findings metadata

What the database stores: finding type, severity, position offsets, action taken, and duration. It never stores raw content, secrets, or PII values.

What it does NOT do: no telemetry, no external connections, no data leaves the machine. The service is fully local.

Plugin registration is manual — nothing is auto-installed into OpenClaw. You must explicitly add the plugin to your config (see below).

Installation

Prerequisites

  • Python 3.10+, pip
  • Node.js + npm (for the OpenClaw plugin only)

1. Install the ClawWall service (PyPI)

pip install clawwall==0.2.1

Verify the SHA256 of the downloaded wheel if you want to confirm integrity:

5939d375c724771931e92e88be2b2f11cd27a4eec095af95cb6923b61220c65f  clawwall-0.2.1-py3-none-any.whl
1e1ecae39bb4d351f0e503501e2615814c5c0cd0f822998f5648fa74eb1de5c2  clawwall-0.2.1.tar.gz

Or clone at the pinned release tag:

git clone --branch v0.2.1 https://github.com/Stanxy/clawguard.git
cd clawguard && pip install .

2. Start the service

clawwall

Or via Python:

python -m clawguard

Service starts on http://localhost:8642. Dashboard at http://localhost:8642/dashboard.

3. Install the OpenClaw plugin (manual)

git clone --branch v0.2.1 https://github.com/Stanxy/clawguard.git
cd clawguard/openclaw-integration/clawguard-plugin
npm install && npm run build

Then manually add to your OpenClaw config:

{
  "plugins": {
    "clawwall": {
      "path": "/path/to/clawguard/openclaw-integration/clawguard-plugin/dist/index.js",
      "config": {
        "serviceUrl": "http://127.0.0.1:8642",
        "blockOnError": false,
        "timeoutMs": 5000
      }
    }
  }
}

Set blockOnError: true to fail-closed (block all tool calls if the service is unreachable). Set blockOnError: false (default) to fail-open (allow calls through if the service is down).

4. (Optional) Install this skill

clawhub install clawwall

Configuration

Environment variables (all prefixed CLAWGUARD_):

Variable Default Description
CLAWGUARD_HOST 0.0.0.0 Bind address
CLAWGUARD_PORT 8642 Port
CLAWGUARD_DATABASE_URL sqlite+aiosqlite:///clawwall.db Database path
CLAWGUARD_POLICY_PATH config/default_policy.yaml Policy file
CLAWGUARD_LOG_LEVEL INFO Log verbosity

What ClawWall Detects

  • Secrets (51 patterns): AWS, GCP, Azure, GitHub, Stripe, Slack, PayPal, Square, SSH/PGP private keys, database URIs, JWT tokens, and more
  • PII (10 patterns): SSNs, credit cards (Luhn-validated), emails, phone numbers, IP addresses
  • Entropy analysis: high-entropy strings that don't match any known pattern

Policy

Default policy (config/default_policy.yaml) blocks all findings:

default_action: BLOCK      # BLOCK | REDACT | ALLOW
redaction:
  strategy: mask           # mask | hash | remove
  mask_char: "*"
  mask_preserve_edges: 4
destination_allowlist: []  # bypass scanning for trusted destinations
destination_blocklist: []  # always reject these destinations
custom_patterns: []        # add your own regex patterns
disabled_patterns: []      # disable specific built-in patterns by name

API Quick Start

curl -s -X POST http://localhost:8642/api/v1/scan \
  -H "Content-Type: application/json" \
  -d '{"content": "key=AKIAIOSFODNN7EXAMPLE", "destination": "api.example.com"}'

Response:

{
  "action": "BLOCK",
  "findings": [{
    "finding_type": "aws_access_key_id",
    "severity": "CRITICAL",
    "redacted_snippet": "AKIA************MPLE"
  }],
  "duration_ms": 2.1
}

Agent Instructions

You are operating behind ClawWall. All outbound tool calls are scanned before leaving the machine using hard pattern matching — not an LLM.

Result Meaning
ALLOW No sensitive data detected — call went through
REDACT Sensitive portions were masked before sending
BLOCK Call rejected — nothing was sent

Best practices:

  • Never include raw API keys, tokens, or PII in outbound calls
  • Reference credentials by name ($OPENAI_API_KEY), not by value
  • If blocked, check findings to see what matched, remove it, and retry
  • False positive? Tell the user to adjust the policy via the dashboard at http://localhost:8642/dashboard
安全使用建议
This skill asks you to install third-party code (PyPI package and a compiled npm plugin) that will intercept every outbound tool call. That is consistent with a DLP product but is high-privilege: the service will see all outbound content. Before installing: (1) verify the upstream project/release (visit the GitHub repo and PyPI page) and confirm the SHA256 matches the wheel you download, (2) review the source for the PyPI package and the plugin build to ensure it actually redacts/stores only metadata as claimed, (3) run it in an isolated environment or sandbox first, (4) check/limit file and network permissions for the process and the plugin path, and (5) clarify the metadata mismatches (package vs repo name, and version differences) with the publisher. Because this registry entry contains only instructions and not the code, fetching the external packages is required — do not install without source review or other mitigations.
功能分析
Type: OpenClaw Skill Name: clawwall Version: 0.2.2 The skill 'clawwall' describes a local Data Loss Prevention (DLP) solution for OpenClaw. It installs a local Python service and an OpenClaw plugin, both operating on `localhost` to scan outbound tool calls for secrets and PII. The `SKILL.md` explicitly states 'no telemetry, no external connections, no data leaves the machine.' The installation steps are standard, and the agent instructions are purely informative, guiding the agent on how to interact with the DLP service and advise the user, without any evidence of prompt injection or malicious intent. All described behaviors align with the stated purpose of a local security tool.
能力评估
Purpose & Capability
The SKILL.md describes a local DLP service + OpenClaw plugin that intercepts all outbound tool calls — which matches the advertised purpose. However, registry metadata lists no required binaries/envs while the SKILL.md frontmatter requires python3, pip, git, node, npm and lists CLAWGUARD_* environment variables. There are naming/version inconsistencies (repo named 'clawguard' vs package 'clawwall', SKILL.md shows v0.2.1 while registry is v0.2.2). These mismatches are not fatal but reduce trust and should be clarified.
Instruction Scope
The instructions tell the operator to install a PyPI package and an npm-based plugin that hooks before_tool_call and routes every outbound tool call through a local HTTP scan service. That behavior is consistent with DLP, but it is high-privilege: the plugin intercepts all outbound content. The SKILL.md claims the local DB never stores raw content/PII and that no telemetry leaves the machine — these are assertions the user cannot verify from the instruction-only skill. The agent would need to run third-party code (pip/npm) to enforce the behavior, so inspect source before trusting.
Install Mechanism
No install spec is present in the registry (skill is instruction-only), but SKILL.md instructs installing from PyPI and/or cloning GitHub releases and running npm build. Installing from PyPI/GitHub is a common distribution mechanism and the doc even lists wheel SHA256s (good practice). Still, because the registry package contains no code, the installer will fetch and execute external packages — that raises risk if you don't validate the upstream release.
Credentials
The SKILL.md documents only non-secret environment variables with reasonable defaults (bind address, port, DB path, policy location, log level). The registry metadata, however, lists no required envs while the README lists CLAWGUARD_* variables — again an inconsistency but the requested envs are not secrets. The real privacy risk is that the plugin/service will see all outbound payloads (by design), so credential exposure depends on how redaction is implemented.
Persistence & Privilege
always:false and manual plugin registration mean the skill will not be force-included and the operator must explicitly add the plugin to OpenClaw config. The skill requires installing/ running local services that persist a SQLite DB, but it does not request elevated platform privileges in the instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawwall
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawwall 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.2
Trust overhaul: added requires.bins metadata, PyPI install path, SHA256 checksums, pinned release tag, explicit trust/permissions disclosure
v0.2.1
Initial release: outbound DLP for OpenClaw — hard regex + entropy + domain control, no LLM
元数据
Slug clawwall
版本 0.2.2
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

ClawWall 是什么?

Outbound DLP for OpenClaw — hard regex blocks secrets & PII from leaving the machine. Domain control, no LLM. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 530 次。

如何安装 ClawWall?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawwall」即可一键安装,无需额外配置。

ClawWall 是免费的吗?

是的,ClawWall 完全免费(开源免费),可自由下载、安装和使用。

ClawWall 支持哪些平台?

ClawWall 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawWall?

由 Stan Liu(@stanxy)开发并维护,当前版本 v0.2.2。

💬 留言讨论