amazon-screenshot
Legitimate Amazon screenshot automation with hardcoded SMTP credential and unpinned dependencies as primary concerns.
为什么得出这个结论
2/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 9 个一般风险产物,需要结合上下文判断。
报告包含 0 步攻击链,另有 1 项高危或严重发现。
发现 4 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SMTP password 'rDs70BwDDg6U9YbO' for [email protected] is embedded in screenshot.js line 54, not declared in SKILL.md, and visible in skill-card.md Known Risks section
package.json uses caret versions (^8.0.7, ^1.59.1) allowing automatic minor version updates
execSync with inline Python script for X11 display detection not mentioned in SKILL.md
最关键的证据
Hardcoded SMTP service account credential
SMTP password for [email protected] is embedded as a plain-text string in screenshot.js line 54. While acknowledged in skill-card.md, it is not declared in SKILL.md and creates risk if source is exposed.
scripts/screenshot.js:54 Unpinned dependency versions
All dependencies use caret (^) versioning allowing automatic updates: nodemailer@^8.0.7, playwright@^1.59.1. Malicious updates could be injected via npm registry.
package.json:3 Shell execution not declared in SKILL.md
autoDetectDisplay() uses execSync to run an inline Python script querying /tmp/.X11-unix/ for X11 sockets. This shell execution is not mentioned in SKILL.md documentation.
scripts/screenshot.js:35 Persistent Chrome browser profile storage
The script uses a persistent Chrome profile (chrome_profile/) to maintain login sessions and cookies, which persists sensitive authentication data.
scripts/screenshot.js:65 声明能力 vs 实际能力
Creates screenshots and ZIP files in outputs/ directory Fetches Amazon pages via Playwright browser automation scripts/screenshot.js:35 - execSync runs Python for X11 detection Playwright with persistent Chrome profile for Amazon automation 可疑产物与外联
https://www.amazon.com/https://www.amazon.com/ chrome_profile/Default/Service Worker/CacheStorage/2a1c18365e83cb6e1347464058faa3d44e45a31c/index.txt:11
https://www.patreon.com/feross scripts/package-lock.json:84
https://feross.org/support scripts/package-lock.json:88
https://www.amazon.com/dp/$ scripts/screenshot.js:65
https://www.amazon.com scripts/screenshot.js:135
https://clawhub.ai/user/328786889 skill-card.md:7
https://clawhub.ai/328786889/amazon-screenshot skill-card.md:29
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| nodemailer | ^8.0.7 | npm | 否 | Version not pinned |
| playwright | ^1.59.1 | npm | 否 | Version not pinned |
| playwright-extra | ^4.3.6 | npm | 否 | Version not pinned |
| playwright-extra-plugin-stealth | ^0.0.1 | npm | 否 | Version not pinned |
文件构成
scripts/package-lock.json scripts/screenshot.js SKILL.md skill-card.md chrome_profile/Default/Service Worker/CacheStorage/2a1c18365e83cb6e1347464058faa3d44e45a31c/index.txt package.json