← 返回 Skills 市场
whubbt

Generate Qrcode

作者 whubbt · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
504
总下载
0
收藏
2
当前安装
7
版本数
在 OpenClaw 中安装
/install qrcode-gen-yn
功能描述
Generate QR codes from URLs or text using a pre-built Python script with qrcode library
安全使用建议
The included Python script is small and appears to only create QR-code PNGs — it looks functionally benign. However, the skill is configured with always:true, meaning it will be force-loaded into every agent session (a higher privilege than this utility needs). Before installing, consider: (1) remove or disable the always:true flag so it runs only when you invoke it; (2) verify the qrcode package you install comes from PyPI and is up-to-date; (3) be aware the script will write files to any output path you supply (don't pass sensitive system paths); and (4) because the owner and homepage are unknown, treat it as untrusted code: inspect it locally and, if possible, run it in a restricted environment or container.
功能分析
Type: OpenClaw Skill Name: qrcode-gen-yn Version: 1.1.1 The skill bundle's `agent.py` script is designed to generate QR codes and save them to a user-specified path. However, it exhibits a path traversal vulnerability as it directly uses the `output_file` argument for `img.save()` and `os.makedirs()` without proper sanitization. This allows an attacker to write files to arbitrary locations on the filesystem (e.g., `../../../../tmp/malicious.png`), which could lead to unauthorized file modification or creation outside the intended skill directory. While not explicitly malicious in intent, this vulnerability poses a significant security risk.
能力评估
Purpose & Capability
The name/description state 'Generate QR codes' and the included agent.py implements exactly that using the qrcode library. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script and nothing else; the instructions don't request reading other files, credentials, or sending data to external endpoints. The script only accepts input text/URL and writes a PNG to a user-specified path.
Install Mechanism
There is no install spec and only a small Python script is included — low-risk. The only runtime dependency is the qrcode Python package which must be pre-installed; there are no external downloads or extract steps.
Credentials
The skill declares no required environment variables, no credentials, and the code does not read environment variables or configuration files. Requested privileges are minimal and proportional to a QR generator.
Persistence & Privilege
The skill is marked always:true in metadata. That forces the skill to be included in every agent run and increases its blast radius beyond what a simple QR generator needs. This is an unnecessary privilege and should be justified or removed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qrcode-gen-yn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qrcode-gen-yn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Updated version
v1.1.0
Major update: Improved documentation and metadata
v1.0.4
Updated structure
v1.0.3
Final version with cleaned up metadata and structure
v1.0.2
Updated documentation and improved metadata
v1.0.1
Updated documentation and improved metadata
v1.0.0
- Initial release of QR Code Generator skill. - Strictly enforces use of the provided Python script for QR code generation. - Clear instructions and examples to ensure proper command usage. - Explicitly prohibits writing custom QR code code or using alternative methods.
元数据
Slug qrcode-gen-yn
版本 1.1.1
许可证
累计安装 2
当前安装数 2
历史版本数 7
常见问题

Generate Qrcode 是什么?

Generate QR codes from URLs or text using a pre-built Python script with qrcode library. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 504 次。

如何安装 Generate Qrcode?

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

Generate Qrcode 是免费的吗?

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

Generate Qrcode 支持哪些平台?

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

谁开发了 Generate Qrcode?

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

💬 留言讨论