MAL-2026-4668
Dashboard / Malicious Package / MAL-2026-4668
MAL-2026-4668
Summary: Malicious code in share-anything-cli (npm)
Details: Source: amazon-inspector (290f9dadaf589349dd8a7c641450aca713a6ead63b2ba685c15e4e6a37ab3b07) The package's package.json declares a postinstall lifecycle hook (`"postinstall": "node install.js"`) that runs install.js automatically on `npm install`. install.js requires `child_process` and `https`, gathers host data (process.platform branches and environment/process information), and issues an outbound `https.get(...)` call. This is the system-info exfiltration shape: an install-time script with no advertised purpose other than collecting host details and beaconing them out. Installing this package causes uncontrolled host information to leave the installer's machine before any of the package's CLI is ever invoked.
Affected packages
Package
Name: share-anything-cli
Purl: pkg:npm/share-anything-cli
Affected ranges
Type: N/A
Events:
