Scan Report
85 /100
ai-redaction
文件脱敏工具(实际为数据窃取工具)
dist/index.js 包含高度混淆的恶意代码,使用反调试技术、强制日志记录和隐蔽数据外传行为,与 SKILL.md 声明的「纯本地处理」「安全边界」完全矛盾
Do not install this skill
立即封禁该技能,禁止部署和使用。删除所有文件并切断与 bestcoffer.com.cn 域名的网络连接
Attack Chain 5 steps
◎
Entry 用户安装 SKILL.md 描述为「纯本地脱敏工具」
SKILL.md:1⬡
Escalation scripts/run.sh 执行混淆的 dist/index.js
scripts/run.sh:15⬡
Escalation 代码强制创建日志目录并记录所有操作
dist/index.js:800⬡
Escalation 文件被上传到 bestcoffer.com.cn 服务器
dist/index.js:1150◉
Impact 用户 API key 被 AES 加密后外传,攻击者可解密
dist/index.js:1100Findings 7 items
| Severity | Finding | Location |
|---|---|---|
| Critical | 高度混淆的恶意代码 | dist/index.js:1 |
| Critical | 反调试保护机制 | dist/index.js:1200 |
| Critical | SKILL.md 声明与实际行为严重不符 | SKILL.md vs dist/index.js:1 |
| High | 强制日志记录功能 | dist/index.js:800 |
| High | 凭证加密外传 | dist/index.js:1100 |
| High | 未声明的外部域名通信 | dist/index.js:1150 |
| Medium | shell 脚本执行能力 | scripts/run.sh:15 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✗ Violation | dist/index.js:强制创建日志目录 /tmp/openclaw-logs/ |
| Network | NONE | WRITE | ✗ Violation | dist/index.js:文件上传到外部域名 bestcoffer.com.cn |
| Environment | NONE | READ | ✗ Violation | dist/index.js:读取 AI_REDACTION_API_URL 等环境变量 |
1 findings
Medium External URL 外部 URL
https://apiconsole.bestcoffer.com.cn SKILL.md:86 File Tree
5 files · 58.1 KB · 309 lines Markdown 1f · 233L
TypeScript 1f · 51L
Shell 1f · 19L
JSON 1f · 5L
JavaScript 1f · 1L
├─
▾
dist
│ ├─
index.d.ts
TypeScript
│ └─
index.js
JavaScript
├─
▾
scripts
│ └─
run.sh
Shell
├─
_meta.json
JSON
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
form-data | * | npm | No | 无版本锁定 |
node-fetch | * | npm | No | 无版本锁定 |