← 返回 Skills 市场
844
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install expanso-log-sanitize
功能描述
Sanitize log entries by removing passwords, tokens, and other sensitive patterns using Expanso Edge pipelines.
使用说明 (SKILL.md)
log-sanitize
"Sanitize log entries by removing passwords, tokens, and sensitive patterns"
Requirements
- Expanso Edge installed (
expanso-edgebinary in PATH) - Install via:
clawhub install expanso-edge
Usage
CLI Pipeline
# Run standalone
echo '\x3Cinput>' | expanso-edge run pipeline-cli.yaml
MCP Pipeline
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
Deploy to Expanso Cloud
expanso-cli job deploy https://skills.expanso.io/log-sanitize/pipeline-cli.yaml
Files
| File | Purpose |
|---|---|
skill.yaml |
Skill metadata (inputs, outputs, credentials) |
pipeline-cli.yaml |
Standalone CLI pipeline |
pipeline-mcp.yaml |
MCP server pipeline |
安全使用建议
This skill appears to do what it claims — local pattern-based redaction — but check a few things before installing or running it with sensitive logs:
- Ensure you have expanso-edge from a trusted source; the registry metadata didn't declare this requirement even though the SKILL.md needs it.
- By default the pipelines run locally and do not exfiltrate data. However, if you use the 'MCP' server mode it binds to 0.0.0.0:PORT by default — restrict it to localhost or protect it with a firewall/auth if you don't want it reachable from the network.
- The README shows an optional 'Deploy to Expanso Cloud' command — deploying to a cloud provider can send logs off-host; only deploy if you trust that provider and understand its data handling.
- Test on non-sensitive sample logs first and inspect outputs (sanitized text, redactions, metadata). Pay attention to metadata fields (input_hash, trace_id) if you need to avoid storing identifiable hashes.
If you want higher assurance, ask the publisher for a signed expanso-edge release URL or for clarification about the missing required-binaries metadata entry.
功能分析
Type: OpenClaw Skill
Name: expanso-log-sanitize
Version: 1.0.0
The skill 'expanso-log-sanitize' is designed to sanitize log entries by redacting sensitive patterns like passwords, tokens, and API keys. The `pipeline-cli.yaml` and `pipeline-mcp.yaml` files implement this functionality using `re_replace_all` operations, which are purely local string manipulations. There is no evidence of data exfiltration, arbitrary command execution, persistence mechanisms, or prompt injection attempts in `SKILL.md` or `README.md`. The MCP mode's HTTP server is explicitly documented and serves the stated purpose of receiving log data for sanitization. All observed behaviors align with the stated purpose of a local log sanitization utility.
能力评估
Purpose & Capability
The skill's files (README, pipeline YAMLs, skill.yaml) and SKILL.md consistently describe a local log-sanitizer implemented as Expanso pipelines. One mismatch: the registry metadata lists no required binaries, but the runtime instructions require the 'expanso-edge' binary (and optionally 'expanso-cli' for cloud deploy). Requiring expanso-edge is expected for an Expanso pipeline; the missing declaration in metadata is an inconsistency to be aware of.
Instruction Scope
Runtime instructions operate locally: they read stdin or accept POSTs to /sanitize, perform pattern-based redaction, and return sanitized text and metadata. The pipelines compute input_hash and trace_id and include them in output metadata (local). There are no instructions to read unrelated system files, access secret stores, or transmit data to external endpoints. Note: the README and SKILL.md include an optional 'Deploy to Expanso Cloud' step — if you choose that, your processed data may leave your host depending on the cloud deployment behavior.
Install Mechanism
This is an instruction-only skill with no install spec in the package (lowest risk). The skill expects the external 'expanso-edge' runtime to be available; installation is not provided by the skill itself. There are no downloads, scripts, or arbitrary remote archives embedded in the skill package.
Credentials
The skill declares no required environment variables or credentials in skill.yaml, and the pipelines do not access secrets or unrelated environment variables. The set of inputs/outputs is proportional to a log sanitizer (log text, optional patterns).
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It can run as an MCP server bound to 0.0.0.0 (network exposure), which is normal for an optional server mode but should be treated as an operational security consideration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install expanso-log-sanitize - 安装完成后,直接呼叫该 Skill 的名称或使用
/expanso-log-sanitize触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish
元数据
常见问题
Expanso log-sanitize 是什么?
Sanitize log entries by removing passwords, tokens, and other sensitive patterns using Expanso Edge pipelines. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 844 次。
如何安装 Expanso log-sanitize?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install expanso-log-sanitize」即可一键安装,无需额外配置。
Expanso log-sanitize 是免费的吗?
是的,Expanso log-sanitize 完全免费(开源免费),可自由下载、安装和使用。
Expanso log-sanitize 支持哪些平台?
Expanso log-sanitize 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Expanso log-sanitize?
由 Expanso(@aronchick)开发并维护,当前版本 v1.0.0。
推荐 Skills