扫描报告
68 /100
moltspay_skill
Pay for AI services via MoltsPay protocol using USDC on Base chain
The skill installs an unverified third-party npm package (`moltspay`) globally and executes wallet initialization code via a postinstall hook, with no declared shell or network permissions, creating a significant supply-chain and privilege-escalation risk.
不要安装此技能
Do not use this skill. It installs an untrusted npm package without version pinning, executes code on install via postinstall hook, and makes undeclared network requests. The entire `moltspay` package is a black box with no declared permissions.
攻击链 4 步
◎
入口 User installs skill; postinstall hook triggers scripts/setup.js automatically
package.json:14⬡
提权 setup.js executes 'npm install -g moltspay' installing untrusted package
scripts/setup.js:32⬡
提权 Wallet created at ~/.moltspay/wallet.json with private key material
scripts/setup.js:48◉
影响 moltspay package code is a black box — any malicious behavior in its runtime is invisible to analysis
node_modules/moltspay (uninspectable)安全发现 7 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Untrusted third-party npm package installed without pinning 供应链 | scripts/setup.sh:13 |
| 高危 | Postinstall hook executes arbitrary code on skill install 供应链 | package.json:14 |
| 高危 | SKILL.md completely omits the npm install step 文档欺骗 | SKILL.md:1 |
| 中危 | Undeclared shell execution via execSync and bash 权限提升 | scripts/setup.js:17 |
| 中危 | Wallet file stored in user home directory 敏感访问 | scripts/setup.js:10 |
| 中危 | Undeclared network requests to external domains 权限提升 | SKILL.md:45 |
| 低危 | npm package has no version lock 供应链 | package.json:13 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | setup.js:48 writes to ~/.moltspay/wallet.json |
| 网络访问 | NONE | READ | ✗ 越权 | SKILL.md lines 45-52 list URLs but never declare network:READ |
| 命令执行 | NONE | WRITE | ✗ 越权 | setup.sh:13 'npm install -g moltspay'; setup.js:32 execSync('npm install -g molt… |
| 环境变量 | NONE | READ | ✓ 一致 | setup.js reads os.homedir(); wallet.json likely contains private keys |
| 技能调用 | NONE | WRITE | ✓ 一致 | postinstall hook in package.json auto-runs scripts/setup.js on skill install |
7 项发现
中危 外部 URL 外部 URL
https://juai8.com/zen7 README.md:29 中危 外部 URL 外部 URL
https://moltspay.com/docs README.md:48 中危 外部 URL 外部 URL
https://moltspay.com/services README.md:49 中危 外部 URL 外部 URL
https://discord.gg/QwCJgVBxVK README.md:50 中危 外部 URL 外部 URL
https://moltspay.com/api/search?q= SKILL.md:45 中危 外部 URL 外部 URL
https://moltspay.com/api/services SKILL.md:46 中危 外部 URL 外部 URL
https://juai8.com/.well-known/agent-services.json SKILL.md:52 目录结构
7 文件 · 9.9 KB · 364 行 Markdown 2f · 175L
Shell 3f · 87L
JavaScript 1f · 66L
JSON 1f · 36L
├─
▾
scripts
│ ├─
ensure-wallet.sh
Shell
│ ├─
pay-zen7-video.sh
Shell
│ ├─
setup.js
JavaScript
│ └─
setup.sh
Shell
├─
package.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
moltspay | latest (unpinned) | npm | 否 | Package from npmjs.com by Yaqing2023 — not audited, version not pinned, black box |
jq | * | system (used in setup.sh) | 否 | System dependency assumed present |
安全亮点
✓ No base64-encoded payloads or obfuscated code observed
✓ No hardcoded external IPs or C2 infrastructure
✓ No direct credential exfiltration to third parties observed in source scripts
✓ Wallet data stored locally rather than sent externally (based on visible scripts)