OpenSSF/OSV advisory MAL-2026-4551 confirms this npm version as malicious. package.json declares `"postinstall": "node install.js"`, which runs at install time. install.js requires both `child_process` and `https`, branches on `process.platform` to enumerate host details, and issues an outbound `https.get(...)` carrying the collected data...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in encrata-cli (npm)
Details
package.json declares `"postinstall": "node install.js"`, which runs at install time. install.js requires both `child_process` and `https`, branches on `process.platform` to enumerate host details, and issues an outbound `https.get(...)` carrying the collected data. This is the canonical install-time system-information exfiltration shape: child_process to spawn host-info commands, platform-gated logic to pick the right binary per OS, and HTTPS egress to ship the result. There is no legitimate reason for a CLI's postinstall to gather host metadata and POST/GET it off-host. Installing this package on any machine (developer laptop, CI runner, build server) discloses host details to a remote endpoint and provides an install-time code-execution surface.
Decision reason
OpenSSF Malicious Packages via OSV confirms encrata-cli@0.2.0 as malicious (MAL-2026-4551): Malicious code in encrata-cli (npm)