youtube-thumbnail

Warn

Audited by Socket on Jun 28, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/yt-thumb.mjs

The code primarily functions as a local rendering/screenshot utility using Playwright headless Chromium. It does not show direct malware behaviors like network exfiltration, persistence, or explicit credential theft within the provided fragment. However, it has high-impact security risks: it can execute a browser binary path derived from process.env.SHELL_CHROME or from local cache discovery without validation, and it loads local HTML that references local file:// images (scene/face) and writes the rendered result to an output path. Additionally, logoHtml appears embedded without visible sanitization in the shown fragment, increasing the chance of HTML/content injection in the headless browser rendering flow. Overall, this module should be treated as sensitive and reviewed for strict input validation, path constraints, and binary/path trust boundaries.

Confidence: 60%Severity: 66%
AnomalyLOW
scripts/rasterize-logo.mjs

No strong indicators of intentional supply-chain malware (no network exfiltration, persistence, or code execution beyond launching a browser). However, the module is security-sensitive: it embeds an unvalidated, attacker-controlled local path into a file:// URL inside a headless Chromium renderer and then saves a screenshot to an arbitrary output path. This can be abused for local file disclosure (through rendered capture) in environments where untrusted users can invoke the script or control its arguments. Treat as a potentially abusable local file rendering utility rather than a safe, deterministic image converter.

Confidence: 60%Severity: 55%
Audit Metadata
Analyzed At
Jun 28, 2026, 09:06 AM
Package URL
pkg:socket/skills-sh/qwwiwi%2Fagentos-skills-public%2Fyoutube-thumbnail%2F@08509ada1f3dd2057ebb46fe34c1fa873a124b2e1dd5974e42facb3934a723b0
Security Audit — socket — youtube-thumbnail