amazon-search
合法的 Amazon 搜索工具,所有能力与声明一致,无恶意行为发现
为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 10 个高危 IOC 或外联信号。
没有形成明确的恶意路径。
发现 2 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
curl -fsSL https://bun.sh/install | bash 是安装官方 BUN 运行时的标准方式,合法但存在理论风险
playwright: ^1.58.2, sharp: ^0.33.0 等依赖使用范围版本,存在供应链风险
使用反检测参数是爬虫工具常见做法,用于规避 Amazon 的 bot 检测,属于灰色地带但有合理解释
最关键的证据
依赖包无版本锁定
package.json 中的依赖使用范围版本(如 playwright: ^1.58.2),未锁定精确版本,存在供应链攻击风险
scripts/package.json:14 访问用户缓存目录
image-cache 访问 ~/.cache/trend2product/images 和 %LOCALAPPDATA%/trend2product/images,用于存储下载的图片缓存
scripts/vendors/image-cache/src/index.ts:18 SKILL.md 中的运行时安装命令
文档要求用户执行 curl -fsSL https://bun.sh/install | bash 安装 Bun 运行时
SKILL.md:17 声明能力 vs 实际能力
SKILL.md:缓存/结果写入,代码正常实现 SKILL.md:访问 Amazon 搜索,代码正常实现 SKILL.md:使用 Bun 运行,execSync 调用 npm run psearch SKILL.md:使用 Playwright 浏览器搜索 可疑产物与外联
curl -fsSL https://bun.sh/install | bash SKILL.md:17
139.0.0.0 scripts/playwright_getcookie.ts:18
136.0.0.0 scripts/playwright_getcookie.ts:19
138.0.0.0 scripts/playwright_getcookie.ts:21
141.0.0.0 scripts/playwright_search.ts:19
132.0.0.0 scripts/playwright_search.ts:20
137.0.0.0 scripts/playwright_search.ts:25
135.0.0.0 scripts/playwright_search.ts:26
140.0.0.0 scripts/playwright_search.ts:27
120.0.0.0 scripts/vendors/image-cache/src/index.ts:105
http://127.0.0.1:7890 SKILL.md:5
https://bun.sh/install SKILL.md:17
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| playwright | ^1.58.2 | npm | 否 | 无版本锁定 |
| sharp | ^0.33.0 | npm | 否 | 无版本锁定 |
| tsx | ^4.21.0 | npm | 否 | devDependencies |
文件构成
scripts/playwright_search.ts scripts/amazon_search.ts SKILL.md scripts/playwright_getcookie.ts scripts/vendors/image-cache/src/index.ts scripts/package.json