darwin-skill

Warn

Audited by Socket on Nov 16, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/screenshot.mjs

This module appears to be a legitimate Playwright-based HTML-to-PNG screenshot utility, but it carries a meaningful security risk when run with attacker-controlled CLI arguments. The most important issue is potential command injection: outputPath from argv is interpolated into shell commands passed to execSync to open the image. The script also allows attacker-controlled file paths for reading (htmlPath) and writing (outputPath), and it dynamically resolves Playwright from global/nonstandard locations, increasing exposure if the environment is compromised. No explicit malware behavior is evident in the provided code fragment.

Confidence: 66%Severity: 58%
Audit Metadata
Analyzed At
Nov 16, 2026, 12:35 AM
Package URL
pkg:socket/skills-sh/wsxwj123%2Fopencode-skills-backup%2Fdarwin-skill%2F@1b71db718e168a4e671c2baed3a54c01add6bad1287272e5dbc2541c9b254ee1