← 返回 Skills 市场
maoisdamao

Token Safety Checker

作者 xinyu · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
186
总下载
0
收藏
0
当前安装
11
版本数
在 OpenClaw 中安装
/install token-safety-checker
功能描述
Scan openclaw.json for plaintext secrets (tokens, API keys, passwords) and migrate them to environment variables using SecretRef. Use when the user asks to "...
安全使用建议
This tool appears to do what it says: it scans your local openclaw.json, shows you which fields look like secrets, and (after your confirmation) writes those secret values into your shell profile and replaces them with SecretRef entries in the config, creating a .bak first. Before running: 1) always run the --dry-run and review the exact export lines it will append to your profile, 2) verify the backup file (openclaw.json.bak) is created, 3) if you use systemd or Docker, follow the SKILL.md guidance instead of relying on profile sourcing, and 4) consider using SecretRef types 'file' or 'exec' (as suggested) for stricter setups. If you want extra assurance, review the included scripts/safeclaw.py source yourself to confirm no unexpected network calls are present (the code uses git subprocesses for optional history scanning but does not make network requests).
功能分析
Type: OpenClaw Skill Name: token-safety-checker Version: 2.0.0 The skill is a defensive security utility designed to identify plaintext secrets in OpenClaw configurations and migrate them to environment variables. It demonstrates strong security hygiene by ensuring secret values are never exposed in CLI arguments, logs, or the AI agent's context (returning only metadata like paths and lengths to the agent). While it performs high-privilege actions such as modifying shell profiles (~/.zshrc, ~/.bashrc) and reading git history via scripts/safeclaw.py, these actions are strictly aligned with its documented purpose and include safety measures like robust shell-quoting to prevent injection. No evidence of data exfiltration or malicious intent was found.
能力评估
Purpose & Capability
Name/description match the files and runtime behavior: the script scans openclaw.json, backs it up, replaces values with SecretRef, and writes env exports to shell profiles. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the script are consistent: the runtime instructions describe scan → confirm → dry-run → migrate → verify → rollback. The script acts on local files (openclaw.json, shell profile, .bak) and refrains from printing secret values in outputs. It reads secret values from disk for migration and writes them into the user's shell profile (as advertised).
Install Mechanism
No install spec (instruction-only) and included code runs locally. There are no network downloads or external install steps in the package itself.
Credentials
The skill requests no environment variables or credentials. It does check the current process environment during verification (to confirm SecretRef env vars are set), which is appropriate for its purpose and proportional to migrating secrets to env vars.
Persistence & Privilege
always is false; the skill does not request persistent/privileged platform presence. It modifies only the user's openclaw.json and the user's shell profile (as documented) and creates a local backup file — behavior that aligns with its stated purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install token-safety-checker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /token-safety-checker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Release 2.0.0
v1.0.9
Release 1.0.9
v1.0.8
Release 1.0.8
v1.0.7
Release 1.0.7
v1.0.6
Release 1.0.6
v1.0.5
Release 1.0.5
v1.0.4
Release 1.0.4
v1.0.3
Release 1.0.3
v1.0.2
Release 1.0.2
v1.0.1
Release 1.0.1
v1.0.0
Release 1.0.0
元数据
Slug token-safety-checker
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 11
常见问题

Token Safety Checker 是什么?

Scan openclaw.json for plaintext secrets (tokens, API keys, passwords) and migrate them to environment variables using SecretRef. Use when the user asks to "... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 186 次。

如何安装 Token Safety Checker?

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

Token Safety Checker 是免费的吗?

是的,Token Safety Checker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Token Safety Checker 支持哪些平台?

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

谁开发了 Token Safety Checker?

由 xinyu(@maoisdamao)开发并维护,当前版本 v2.0.0。

💬 留言讨论