← 返回
未分类 中文

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...
OpenClaw 插件,用于擦除外发消息中的私有基础设施详情。基于正则表达式脱敏 RFC 1918 IP、本地端口、SSH 目标等。
solomonneas solomonneas 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 413
下载
💾 1
安装
1
版本
#latest

概述

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: user@10.0.0.1:/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

  1. Copy the plugin files to your OpenClaw extensions directory:

```

~/.openclaw/extensions/content-scrubber/

├── index.ts

├── openclaw.plugin.json

└── package.json

```

  1. Add to your openclaw.json plugins config:

```json

{

"plugins": {

"entries": {

"content-scrubber": {

"enabled": true,

"config": {

"dryRun": false,

"allowedRecipients": []

}

}

}

}

}

```

  1. Restart OpenClaw.

Configuration

OptionTypeDefaultDescription
------------------------------------
dryRunbooleanfalseLog what would be scrubbed without actually redacting
allowedRecipientsstring[][]Chat IDs where scrubbing is skipped (e.g., private DMs with yourself)

Example

Before scrubbing:

> SSH into admin@10.0.0.50 and check the service on localhost:8096

After scrubbing:

> SSH into [redacted-target] and check the service on [redacted-service]

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 02:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,861
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,518
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,853