amazon-screenshot
Legitimate Amazon screenshot automation with hardcoded SMTP credential and unpinned dependencies as primary concerns.
Why this conclusion was reached
2/4 dimensions flagged1 undeclared or violating capabilities were inferred.
9 lower-risk artifacts were extracted and still need context.
The report includes 0 attack-chain steps and 1 severe findings.
4 dependency or supply-chain issues need attention.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| nodemailer | ^8.0.7 | npm | No | Version not pinned |
| playwright | ^1.59.1 | npm | No | Version not pinned |
| playwright-extra | ^4.3.6 | npm | No | Version not pinned |
| playwright-extra-plugin-stealth | ^0.0.1 | npm | No | Version not pinned |
File composition
scripts/package-lock.json scripts/screenshot.js SKILL.md skill-card.md chrome_profile/Default/Service Worker/CacheStorage/2a1c18365e83cb6e1347464058faa3d44e45a31c/index.txt package.json