← 返回 Skills 市场
573
总下载
0
收藏
6
当前安装
2
版本数
在 OpenClaw 中安装
/install password-generator
功能描述
生成随机安全密码。长度12-16位随机(默认),包含大小写字母、数字、符号。当用户要求生成密码、创建密码、随机密码时使用此技能。
安全使用建议
This skill generates passwords as advertised, but I recommend caution before installing or using it as-is:
- The script uses Python's random module (not cryptographically secure). Prefer the 'secrets' module (secrets.choice or secrets.token_urlsafe) for generating passwords.
- It prints the password to stdout (may end up in logs) and always appends the password in plaintext to '/root/.openclaw/workspace/memory/passwords.md'. That path is hardcoded and may not exist or may expose secrets to other users/processes. Consider changing to a per-user secure location and setting restrictive file permissions (e.g., 600).
- The SKILL.md refers to 'memory/passwords.md' (relative), but the code writes to an absolute /root path — verify and correct the intended storage location.
- Consider adding an option to not save passwords, to encrypt stored entries, or to integrate with a secure password manager instead of writing plaintext files.
If you still want to use this skill: run it in an isolated environment, inspect and modify the script to use the 'secrets' module, change the save location to a secure per-user path, and restrict file permissions before generating real secrets. If you cannot review or edit the script yourself, avoid installing it because it currently exposes generated passwords in plaintext.
功能分析
Type: OpenClaw Skill
Name: password-generator
Version: 1.1.0
The skill accurately implements its stated purpose: generating a random password and saving it to a markdown file within the agent's designated memory directory (`/root/.openclaw/workspace/memory/passwords.md`). There are no signs of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts in SKILL.md. All file operations are confined to the agent's workspace and are consistent with the skill's functionality.
能力评估
Purpose & Capability
Name and description match the included script: the skill generates random passwords with the stated character classes and length. Minor mismatch: SKILL.md says save to 'memory/passwords.md' (relative), but the script writes to an absolute path '/root/.openclaw/workspace/memory/passwords.md'. That may be incorrect or cause failures on non-root systems.
Instruction Scope
SKILL.md instructs running scripts/generate_password.py and saving to memory/passwords.md. The script does this but also prints the generated password to stdout and unconditionally appends the plaintext password to a file under an absolute root path. Printing to logs and appending plaintext passwords to disk are broader/sensitive actions beyond merely generating a password and create clear privacy/security risks. The script does not offer an opt-out for saving, nor does it choose a per-user safe path.
Install Mechanism
Instruction-only skill with a small Python script and no install spec. Nothing is downloaded or installed by the skill itself.
Credentials
No credentials or environment variables are requested (good), but the script writes secrets to a hardcoded location under /root and prints them to stdout. While no external credentials are requested, the choice to store plaintext passwords in a world-accessible location (and under root) is disproportionate and risky for a simple generator.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. However, it writes persistent data to disk (appending passwords to a file). That persistence is normal for 'save password' behavior but should be considered a sensitive side-effect because the file contains plaintext secrets.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install password-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/password-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
升级:长度改为12-16位随机
v1.0.0
Initial release: generate random 12-char passwords with uppercase, lowercase, digits, and symbols
元数据
常见问题
Password Generator 是什么?
生成随机安全密码。长度12-16位随机(默认),包含大小写字母、数字、符号。当用户要求生成密码、创建密码、随机密码时使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 573 次。
如何安装 Password Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install password-generator」即可一键安装,无需额外配置。
Password Generator 是免费的吗?
是的,Password Generator 完全免费(开源免费),可自由下载、安装和使用。
Password Generator 支持哪些平台?
Password Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Password Generator?
由 Yukin1218(@yukin1218)开发并维护,当前版本 v1.1.0。
推荐 Skills