← 返回 Skills 市场
dalomeve

Prepublish Privacy Scrub

作者 Dalomeve · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
430
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install prepublish-privacy-scrub
功能描述
Scan and remove sensitive data before publishing skills. Detect API keys, tokens, secrets, and personal info.
安全使用建议
Do not run this scrubbing code on your primary working directory yet. Main issues to address before using: (1) Implement reliable backups (e.g., copy files to a timestamped backup folder or use git to create a branch) — the current Invoke-PrivacyScrub overwrites files without backups despite claiming otherwise. (2) Make scrubbing coverage consistent with detection: add replacers for bearer tokens, sk- keys, OPENCLAW_* matches, and other patterns you detect (or ensure the scan only reports and requires manual removal). (3) Limit the set of files you modify to text files (avoid altering binaries) and ensure the scan and scrub operate on the same file-extension whitelist. (4) Add a dry-run mode that reports matches without changing files, and produce a summarized report rather than only in-place edits. (5) Declare platform requirements (PowerShell) so users on Linux/macOS know how to run it. (6) Test on a copy or in a disposable environment (and/or on a git branch) to avoid irreversible changes. After those changes the skill would be much safer; as written, it is coherent with its purpose but contains risky gaps and mismatches that make it unsafe to run directly.
功能分析
Type: OpenClaw Skill Name: prepublish-privacy-scrub Version: 1.0.0 The skill is classified as suspicious due to critical vulnerabilities in its implementation. The `Invoke-PrivacyScrub` function in `SKILL.md` directly overwrites files without creating a backup, contradicting the explicit 'Original files backed up before scrub' claim in the 'Privacy/Safety' section. This poses a significant risk of irreversible data loss. Additionally, the scrubbing function applies to all file types, not just text-based ones, increasing the potential for file corruption. While the stated purpose is benign and there is no evidence of intentional malicious behavior like data exfiltration or unauthorized execution, these severe flaws make the skill dangerous to use.
能力评估
Purpose & Capability
Name/description align with the instructions: the SKILL.md contains scanning and scrubbing routines intended to detect and redact keys, tokens, emails, and internal URLs. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
The instructions read and overwrite files recursively in a working tree and would modify content in place, but they claim 'original files backed up before scrub' while the Invoke-PrivacyScrub implementation does not create backups. Detection patterns include bearer tokens, sk- keys, and OPENCLAW_* patterns, yet the scrubbing replacement table only covers a few simple name=value cases (apiKey, token, secret). Test-PrivacyScan only searches files with selected extensions (.md, .ps1, .json, .txt) while scrubbing operates on all files, introducing a risk of modifying unintended files (binary files, other extensions) and missing detections in un-scanned extensions. The functions are PowerShell-specific but the skill metadata does not state a platform requirement, which may lead to failures or unexpected behavior on non-Windows systems.
Install Mechanism
Instruction-only skill with no install steps or downloaded artifacts — low installation risk. No archives or external downloads.
Credentials
No environment variables, credentials, or config paths are requested. The detection patterns reference OPENCLAW_* and other token forms only for identification; no secret access is requested.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skills. It does perform potentially destructive local file writes, but does not attempt to change system-wide configuration or store long-lived credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prepublish-privacy-scrub
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prepublish-privacy-scrub 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of prepublish-privacy-scrub. - Scans project files for sensitive data patterns: API keys, tokens, secrets, emails, personal paths, and internal URLs. - Provides PowerShell functions for automated detection (Test-PrivacyScan) and redaction (Invoke-PrivacyScrub) of sensitive data. - Includes a pre-publish privacy checklist to ensure files are clean before publishing. - Privacy/safety practices: local-only scanning, use of placeholders, and file backup before scrubbing. - Offers clear usage triggers and executable verification criteria for safe publishing.
元数据
Slug prepublish-privacy-scrub
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Prepublish Privacy Scrub 是什么?

Scan and remove sensitive data before publishing skills. Detect API keys, tokens, secrets, and personal info. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 430 次。

如何安装 Prepublish Privacy Scrub?

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

Prepublish Privacy Scrub 是免费的吗?

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

Prepublish Privacy Scrub 支持哪些平台?

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

谁开发了 Prepublish Privacy Scrub?

由 Dalomeve(@dalomeve)开发并维护,当前版本 v1.0.0。

💬 留言讨论