Capture screenshots of websites from the command-line
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Was getting cryptic errors when running locally. Some searching yielded similar reports with other npm packages like Webpack: https://stackoverflow.com/questions/74463679/webpack-cli-error-spawn-unknown-system-error-86-symfony6-mac-m1 Installing Rosetta worked for me so I hope to save someone else the headache in the future.
Problem Every time I run capture-website, it creates an 8.5MB file called in my working directory. This file contains adult content domains and tracking service URLs that have nothing to do with the websites I'm capturing. Steps to reproduce 1. Run 2. Check your current directory - you'll find What I found File size: always 8,900,608 bytes SHA256 hash: Same file created regardless of which website you capture Contains domains for adult sites, tracking services (kochava.com, appsflyer.com), and ad networks Environment capture-website-cli: 5.1.0 Node.js: v20.19.5 OS: Linux (Arch) Security concern This behavior is suspicious. A screenshot tool shouldn't be creating files with adult content and tracking domains. Can someone verify if this is happening to other users? This might indicate a compromised package. Expected behavior capture-website should only create the screenshot file, not additional binary files with unrelated content.
Repository: sindresorhus/capture-website-cli. Description: Capture screenshots of websites from the command-line Stars: 853, Forks: 38. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: capture-screenshots, cli-app, nodejs, npm-package, puppeteer, screenshots, website-screenshot, website-screenshot-capturer. Latest release: v5.2.0 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 8mo ago. Community health: 71%. Top contributors: sindresorhus, hicom150, jopemachine, dirathea, olso, Pinjasaur, Richienb, timoschwarzer, fisker.