← 返回 Skills 市场
QR Code Generator
作者
claudiodrusus
· GitHub ↗
· v1.1.0
745
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install qr-gen
功能描述
Generate QR codes from text, URLs, WiFi credentials, vCards, or any data. Use when the user wants to create a QR code, share a link as a scannable code, gene...
安全使用建议
This skill appears to do exactly what it claims (generate QR codes) and includes a small Python script. Before using: (1) be aware the script will run pip install qrcode[pil] if the package is missing — this performs network downloads and installs into your Python environment (run it in a virtualenv if you prefer isolation); (2) inspect/verify the qrcode package on PyPI if you have supply-chain concerns; (3) remember any WiFi password or contact info you encode will be visible to anyone who scans or sees the generated image; and (4) the script will overwrite files at the given output path, so avoid paths you can't afford to replace.
功能分析
Type: OpenClaw Skill
Name: qr-gen
Version: 1.1.0
The `scripts/generate_qr.py` file contains two significant vulnerabilities. Firstly, it uses `subprocess.check_call` to install dependencies, which, while hardcoded to a legitimate package here, represents a powerful primitive that could lead to Remote Code Execution if the arguments were ever derived from untrusted input. Secondly, the script allows writing to arbitrary file paths via the `-o` argument without proper sanitization, creating a path traversal/arbitrary file write vulnerability. There is no clear evidence of intentional malicious behavior such as data exfiltration or backdoor installation, but these are serious flaws that could be exploited.
能力评估
Purpose & Capability
The name/description match the included Python script and examples. There are no unrelated environment variables, binaries, or config paths requested; required capabilities are proportional to a QR generator.
Instruction Scope
SKILL.md instructs the agent to run the bundled script with explicit arguments and examples (URLs, WiFi strings, vCards, ASCII, PNG, SVG). The instructions do not ask the agent to read unrelated files, environment variables, or transmit data to external endpoints. Note: the script will install a Python package at runtime if missing (network activity to PyPI).
Install Mechanism
There is no install spec in the registry (instruction-only), which is low-risk. The included script calls pip to auto-install the qrcode[pil] package if missing; this is a common pattern but does perform network downloads and executes package install steps in the runtime environment (moderate supply-chain risk).
Credentials
The skill requests no environment variables, credentials, or config paths. The WiFi/password and vCard data are provided as command-line args or data strings and are encoded only into the QR output; no other secrets are requested or accessed.
Persistence & Privilege
The skill is not forced-always, is user-invocable, and does not modify other skills or global agent configuration. It does not request elevated or persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install qr-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/qr-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Version bump to 1.1.0 with no content or file changes detected.
- No updates to documentation, features, or dependencies.
v1.0.1
v1.0.1: Minor docs update
v1.0.0
Initial release: Generate QR codes from text, URLs, WiFi, vCards. PNG/SVG/ASCII output.
元数据
常见问题
QR Code Generator 是什么?
Generate QR codes from text, URLs, WiFi credentials, vCards, or any data. Use when the user wants to create a QR code, share a link as a scannable code, gene... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 745 次。
如何安装 QR Code Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install qr-gen」即可一键安装,无需额外配置。
QR Code Generator 是免费的吗?
是的,QR Code Generator 完全免费(开源免费),可自由下载、安装和使用。
QR Code Generator 支持哪些平台?
QR Code Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 QR Code Generator?
由 claudiodrusus(@claudiodrusus)开发并维护,当前版本 v1.1.0。
推荐 Skills