← 返回 Skills 市场
anmu14641

Private Secrets

作者 anmu14641 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
224
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install private-secrets-1-0-0
功能描述
Securely store, list, and retrieve your private information like API keys, passwords, and tokens in a local JSON file.
安全使用建议
This skill is functionally coherent but has real safety issues you should consider before installing: it saves secrets in plaintext under /workspace (not safe for sensitive keys), the package metadata does not declare that 'node' is required, and the implementation uses node -e with direct string interpolation—this allows a malicious or accidental secret name/value to execute arbitrary JavaScript on your machine. If you plan to use it: (1) only run it in a trusted, isolated environment; (2) verify Node is the correct version and present; (3) do not store high-value secrets there—use an encrypted secret manager instead; (4) inspect and/or modify the script to remove node -e usage (use a small Node script file that reads process.argv and safely serializes inputs, or use jq to edit JSON), enforce allowed characters for names, and set strict filesystem permissions on secrets.json. If you are not comfortable auditing or fixing these issues, prefer a vetted secret-management tool rather than this skill.
功能分析
Type: OpenClaw Skill Name: private-secrets-1-0-0 Version: 1.0.0 The skill provides a basic secret management utility but contains critical command injection vulnerabilities in private-secrets.sh. The script passes unsanitized shell variables ($NAME and $VALUE) directly into a 'node -e' execution string, which allows for arbitrary code execution if the agent or a user provides crafted input. While the tool explicitly warns in SKILL.md that secrets are stored unencrypted in secrets.json, the lack of input sanitization makes the implementation highly risky, though there is no clear evidence of intentional malicious exfiltration.
能力评估
Purpose & Capability
The name/description match the implementation: a local JSON-based secret store. However the shipped script relies on the node binary (node -e) while the skill metadata declares no required binaries. That missing dependency is an inconsistency that affects whether the skill will work and signals incomplete metadata.
Instruction Scope
SKILL.md and the script limit actions to creating/reading /workspace/skills/private-secrets-1.0.0/secrets.json and do not exfiltrate data. But secrets are stored unencrypted in workspace (explicitly noted). The script uses node -e with unescaped interpolation of the NAME and VALUE variables, creating a strong command/JS injection risk if a name or value contains quotes or crafted payloads.
Install Mechanism
There is no install spec (lower risk) and the skill is instruction-only plus a small shell script. The practical runtime requirement for node is not declared; that omission should be corrected. No external downloads or obscure URLs are used.
Credentials
The skill requests no environment variables or external credentials, which is appropriate for a local secret store. Be aware the storage location is inside the workspace and therefore accessible to anyone or any process with workspace access.
Persistence & Privilege
always is false and the skill does not request elevated privileges. It only reads/writes its own secrets.json file and does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install private-secrets-1-0-0
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /private-secrets-1-0-0 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – manage and store private secrets like API keys and passwords. - Add new secrets by specifying a name and content. - List all stored secret names (content hidden). - View the content of a specific secret by name. - Secrets are saved in /workspace/skills/private-secrets-1.0.0/secrets.json. - Data is stored unencrypted; regular backups are recommended.
元数据
Slug private-secrets-1-0-0
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Private Secrets 是什么?

Securely store, list, and retrieve your private information like API keys, passwords, and tokens in a local JSON file. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 224 次。

如何安装 Private Secrets?

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

Private Secrets 是免费的吗?

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

Private Secrets 支持哪些平台?

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

谁开发了 Private Secrets?

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

💬 留言讨论