Content Scrubber
/install content-scrubber
Content Scrubber
An OpenClaw extension plugin that intercepts outgoing messages and redacts private infrastructure details before delivery.
What It Catches
- RFC 1918 IPv4 addresses: 10.x.x.x, 172.16-31.x.x, 192.168.x.x
- Loopback addresses: 127.x.x.x
- localhost with ports: localhost:8080, localhost:3000, etc.
- SSH/SCP targets: [email protected]:/path
- Custom hostnames: configurable hostname patterns
How It Works
The plugin registers as a message interceptor. Before any message leaves OpenClaw (Discord, Telegram, Signal, etc.), it runs through regex-based scrubbing rules that replace private details with safe placeholders like [redacted-ip], [redacted-service], [redacted-target].
Rules are deterministic (regex, not LLM), so they're fast, auditable, and never miss edge cases that an LLM scrubber would.
Installation
-
Copy the plugin files to your OpenClaw extensions directory:
~/.openclaw/extensions/content-scrubber/ ├── index.ts ├── openclaw.plugin.json └── package.json -
Add to your
openclaw.jsonplugins config:{ "plugins": { "entries": { "content-scrubber": { "enabled": true, "config": { "dryRun": false, "allowedRecipients": [] } } } } } -
Restart OpenClaw.
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
dryRun |
boolean | false | Log what would be scrubbed without actually redacting |
allowedRecipients |
string[] | [] | Chat IDs where scrubbing is skipped (e.g., private DMs with yourself) |
Example
Before scrubbing:
SSH into [email protected] and check the service on localhost:8096
After scrubbing:
SSH into [redacted-target] and check the service on [redacted-service]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install content-scrubber - 安装完成后,直接呼叫该 Skill 的名称或使用
/content-scrubber触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Content Scrubber 是什么?
OpenClaw plugin that scrubs private infrastructure details from outgoing messages. Regex-based redaction of RFC 1918 IPs, localhost ports, SSH targets, and h... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 150 次。
如何安装 Content Scrubber?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install content-scrubber」即可一键安装,无需额外配置。
Content Scrubber 是免费的吗?
是的,Content Scrubber 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Content Scrubber 支持哪些平台?
Content Scrubber 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Content Scrubber?
由 Solomon Neas(@solomonneas)开发并维护,当前版本 v1.0.0。