← 返回 Skills 市场
Porkbun Domains & DNS
作者
DanielGrobelny
· GitHub ↗
· v1.0.0
· MIT-0
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install porkbun-domains
功能描述
Manage domains and DNS via the Porkbun API. Use when asked to list domains, check domain availability, manage DNS records (A, AAAA, CNAME, MX, TXT, etc.), up...
安全使用建议
This skill appears to do what it claims (Porkbun domain/DNS management) and only needs your Porkbun API keys. However, the bundled script unsafely uses eval to export variables from a workspace .env file — if that .env is modified by an attacker or contains unexpected content, the script could execute arbitrary shell commands. Before installing or running: (1) inspect scripts/porkbun.sh yourself (you already have it); (2) avoid placing untrusted content in ~/.openclaw/workspace/.env or set PORKBUN_API_KEY and PORKBUN_SECRET_KEY directly in your environment instead; (3) ensure runtime tools (curl, jq, bash) are available; (4) consider patching the script to safely parse the .env (do not use eval; parse assignments and strip unsafe characters) or refuse to read a .env file at all. If the .env loading were rewritten to avoid eval (or removed) and runtime dependencies documented, this would be coherent and lower-risk.
功能分析
Type: OpenClaw Skill
Name: porkbun-domains
Version: 1.0.0
The skill provides legitimate Porkbun API management functionality, but scripts/porkbun.sh contains a shell injection vulnerability. It uses eval on the output of grep/sed when loading credentials from a .env file, which could allow arbitrary code execution if the environment file is tampered with. While the behavior aligns with the stated purpose and uses the official Porkbun API (api.porkbun.com), the insecure handling of configuration files meets the threshold for a suspicious classification.
能力评估
Purpose & Capability
Name, description, and requested secrets (PORKBUN_API_KEY, PORKBUN_SECRET_KEY) align with the Porkbun API functionality implemented in scripts/porkbun.sh. No unrelated credentials, services, or binaries are requested.
Instruction Scope
SKILL.md directs use of scripts/porkbun.sh and documents reading keys from env or ~/.openclaw/workspace/.env. The script loads that .env using: eval "$(grep '^PORKBUN_' "$ENV_FILE" | sed 's/^/export /')" — this will execute any shell code appended to those lines, allowing arbitrary command execution if the .env is tampered with. The script also assumes runtime tools (curl, jq) are available but does not declare them.
Install Mechanism
Instruction-only skill with a bundled shell script and no install spec — low-install risk. However, the script relies on external tools (curl, jq, bash) at runtime; those are not enforced or documented as required binaries in the registry metadata.
Credentials
Only Porkbun API keys are required, which is proportionate. But the script reads a workspace .env file (OPENCLAW_WORKSPACE or ~/.openclaw/workspace/.env): exporting lines wholesale via eval can execute arbitrary code if the .env contains malicious content. The use of OPENCLAW_WORKSPACE is reasonable but increases the chance of reading unexpected files if that path is shared.
Persistence & Privilege
Skill is user-invocable, not always-enabled, and does not request elevated platform privileges or modify other skills. Autonomous invocation is allowed by default (disable-model-invocation: false) but is not combined with other wide privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install porkbun-domains - 安装完成后,直接呼叫该 Skill 的名称或使用
/porkbun-domains触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — full Porkbun API v3 wrapper (domains, DNS, URL forwarding, SSL, pricing)
元数据
常见问题
Porkbun Domains & DNS 是什么?
Manage domains and DNS via the Porkbun API. Use when asked to list domains, check domain availability, manage DNS records (A, AAAA, CNAME, MX, TXT, etc.), up... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。
如何安装 Porkbun Domains & DNS?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install porkbun-domains」即可一键安装,无需额外配置。
Porkbun Domains & DNS 是免费的吗?
是的,Porkbun Domains & DNS 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Porkbun Domains & DNS 支持哪些平台?
Porkbun Domains & DNS 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Porkbun Domains & DNS?
由 DanielGrobelny(@danielgrobelny)开发并维护,当前版本 v1.0.0。
推荐 Skills