Skill Trust Decision

powpow-register

PowPow 注册助手是一个合法的账号注册和订阅管理工具,代码质量高,凭证处理规范,无恶意行为。存在轻微的权限声明与实际能力偏差(filesystem NONE→WRITE, network READ→WRITE),但属于功能必需,不构成安全风险。

Install decision first Source: ClawHub Scanned: 27 days ago
Files 14
Artifacts 7
Violations 2
Findings 3

Why this conclusion was reached

1/4 dimensions flagged
Block
Declared vs actual capability

2 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

7 lower-risk artifacts were extracted and still need context.

Pass
Attack chain and severe findings

There is no explicit malicious chain in the report.

Pass
Dependencies and supply chain hygiene

Dependencies are present but no obvious high-risk issue stands out.

What drove the risk score up

权限声明偏差 +15

SKILL.md 声明 filesystem:NONE 但代码写入 tmpdir;声明 network:READ 但实际发送 POST 请求。偏差属于功能必需,但未声明。

文档结构良好 +-5

文档详细描述了 8 步流程、安全规则、错误处理,无恶意指示。

Most important evidence

Low Doc Mismatch

权限声明与实际能力存在偏差

SKILL.md 声明 filesystem:NONE, network:READ,但脚本实际写入临时文件和发送 POST 请求。这些操作是注册流程的必要功能,但应准确声明。

SKILL.md:1
建议在 SKILL.md 中补充声明 filesystem:WRITE(状态文件写入、支付页面缓存)和 network:WRITE(API 请求创建订单)。
Info Sensitive Access

临时文件写入(合规)

脚本在 tmpdir() 中创建状态文件和支付页面 HTML。状态文件权限 0o600,仅包含 email/username/nickname/token/orderId,密码从不落盘。支付页面 HTML 用于引导用户完成 Alipay/PayPal 支付,是正常支付集成模式。

scripts/powpow-register.mjs:58
当前实现符合安全最佳实践。
Info Sensitive Access

凭证处理规范

密码仅通过环境变量 POWPOW_REGISTER_PASSWORD 传入,不出现在命令行参数(进程列表可见)或状态文件中。Gen-password 生成后仅打印一次。Cleanup 命令删除状态文件。

scripts/powpow-register.mjs:119
当前凭证处理符合安全规范。

Declared capability vs actual capability

Filesystem Block
Declared NONE
→
Inferred WRITE
scripts/powpow-register.mjs:58-59 写入 STATE_FILE;scripts/powpow-register.mjs:212-213 创建临时 HTML 支付页
Network Block
Declared READ
→
Inferred WRITE
scripts/powpow-register.mjs:73-84 api() 函数发送 POST/PUT 请求(send-code, register, create-order 等)
Environment Pass
Declared READ
→
Inferred READ
scripts/powpow-register.mjs:119-124 仅读取 POWPOW_REGISTER_PASSWORD
Shell Pass
Declared NONE
→
Inferred NONE
无 subprocess/spawn 等 shell 执行调用

Suspicious artifacts and egress

Medium External URL
https://global.powpow.online

README.md:8

Medium External URL
https://global.powpow.online/register

README.md:21

Medium External URL
https://global.powpow.online/subscription

README.md:21

Medium External URL
https://www.bilibili.com/video/BV1Wu826UEVz/

README.md:49

Medium External URL
https://global.powpow.online/login

references/registration-flow.md:9

Medium External URL
https://global.powpow.online。

scripts/powpow-register.mjs:5

Info Email
[email protected]

clawhub-listing.json:17

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
无外部依赖 N/A Node.js 内置 API No 仅使用 fs/path/crypto/fetch 等 Node 18+ 内置模块

File composition

14 files · 1188 lines
Markdown 6 files · 710 linesJavaScript 1 files · 457 linesJSON 1 files · 21 lines
Files of concern · 4
README.md Markdown · 164 lines
https://global.powpow.online · https://global.powpow.online/register · https://global.powpow.online/subscription · https://www.bilibili.com/video/BV1Wu826UEVz/
SKILL.md Markdown · 164 lines
权限声明与实际能力存在偏差
scripts/powpow-register.mjs JavaScript · 457 lines
临时文件写入(合规) · 凭证处理规范 · https://global.powpow.online。
references/registration-flow.md Markdown · 84 lines
https://global.powpow.online/login
Other files · powpow-03.jpg · powpow-06.jpg · powpow-05.jpg · powpow-01.jpg · powpow-02.jpg · powpow-04.jpg +2

Security positives

零外部依赖(纯 Node.js 原生 API,无 npm 包引入风险)
所有网络请求仅发往官方域名 https://global.powpow.online
凭证处理规范:密码不落盘、不出现在命令行参数
状态文件权限 0o600,最小权限原则
错误处理完善(rate limit、验证码过期、支付状态轮询等)
无 eval/Base64 解码/动态代码执行等可疑模式
无访问敏感路径(~/.ssh、~/.aws、.env 等)
支持 fallback 模式(Node 版本不足时提示用户手动操作)