← 返回 Skills 市场
agentward-ai

AgentWard Sanitize

作者 agentward-ai · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
340
总下载
1
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install sanitize
功能描述
Detect and redact PII from text files. Supports 15 categories including credit cards, SSNs, emails, API keys, addresses, and more — with zero dependencies.
安全使用建议
This appears to be a straightforward, local PII redaction tool. Before installing or running it: 1) Review and keep the script local; it uses only Python stdlib and makes no network calls according to the code and docs. 2) Be aware the tool writes an entity-map sidecar containing raw PII when you use --output; protect or securely delete that file (do not let the agent or other processes read it). 3) Ensure your agent runtime actually follows the SKILL.md rule not to open the raw input or the entity-map — the safety depends on that behavior. 4) Prefer --preview or --json for inspection and run the tool on a sandbox or test data first. 5) If you need absolute assurance, open and scan the full sanitize.py file yourself (the included code appears benign).
功能分析
Type: OpenClaw Skill Name: sanitize Version: 1.0.0 The skill is designed for PII detection and redaction, with strong explicit safeguards against data leakage, especially when used by an AI agent. The `SKILL.md` contains clear instructions to the agent to 'Do NOT read the input file directly' and 'Do NOT read the entity map file', which are effective prompt injection defenses. The `scripts/sanitize.py` code confirms zero external dependencies and no network calls, and it meticulously prevents raw PII from being output to stdout in `--json` or `--preview` modes, instead writing sensitive mappings to a separate, warned-about sidecar file on disk. All observed behaviors are aligned with the stated purpose and demonstrate a clear intent for secure operation.
能力评估
Purpose & Capability
Name/description (PII detection & redaction) match the delivered artifacts: a Python3 script implementing regex/Luhn-based detectors and a docs file listing supported categories. Requiring only python3 is proportional.
Instruction Scope
SKILL.md gives clear runtime rules to avoid reading raw input or the entity-map and to prefer --output/preview/json. That is appropriate for minimizing exposure of raw PII, but it relies on the agent actually following those rules. The docs also mention a plain 'sanitize to stdout' usage and state 'PII never reaches stdout' — this is likely because sanitized output replaces values with placeholders, but the mixed wording could confuse non-technical users. Important: the script writes a sidecar entity-map containing raw PII when --output is used; the README explicitly instructs not to read that file.
Install Mechanism
No install spec and only a single Python script included; no downloads or external packages. Lowest-risk install posture.
Credentials
No environment variables, credentials, or external service tokens are requested. The API-key detection patterns include common provider prefixes (OpenAI, GitHub, AWS, Slack) for detection only; they are not used to access those services.
Persistence & Privilege
always is false and the skill does not request elevated or persistent privileges. It does write output and an entity-map file to disk (when --output is used), which is normal for a redaction tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sanitize
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sanitize 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the sanitize skill. - Detects and redacts 15 categories of PII from text files, including credit cards, SSNs, email addresses, API keys, and more. - No external dependencies; works using only the Python standard library. - Enforces strict PII safety rules: never read raw input or entity map files; only view sanitized output. - Supports output to file, category filtering, preview, and JSON modes (all designed to avoid exposing raw PII). - All processing is done locally, ensuring no PII leaves your machine.
元数据
Slug sanitize
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

AgentWard Sanitize 是什么?

Detect and redact PII from text files. Supports 15 categories including credit cards, SSNs, emails, API keys, addresses, and more — with zero dependencies. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 340 次。

如何安装 AgentWard Sanitize?

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

AgentWard Sanitize 是免费的吗?

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

AgentWard Sanitize 支持哪些平台?

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

谁开发了 AgentWard Sanitize?

由 agentward-ai(@agentward-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论