Protet Intel / npm

Packages under @greenlake

Protet Intel names 5 packages under the npm scope @greenlake as malicious. Each keeps its own page with its versions, dates and record; the descriptions below are the ones from those records, shown once.

The packages

PackageConfirmed versionsFirst confirmed
@greenlake/session22026-10-24
@greenlake/mfe-login-url32026-10-24
@greenlake/context-pane12026-10-24
@greenlake/common-context22026-10-24
@greenlake/auth12026-10-24

What they do

Dependency-confusion package sends host and install details to a remote server at install time

@greenlake/session is published under a name that matches a private internal package scope, at an artificially high or unusual version, so that build systems resolving the internal name from the public registry install it instead. Its package.json runs node beacon.cjs as a postinstall script. The script sends an HTTP POST to http://185.158.107.175:8787/_ah/dc with the package name, the machine's hostname, the install directory, the current working directory and the Node.js version, tagged with an x-beacon-package header. The package's entry point sends the same request again whenever it is loaded, and otherwise exports an empty stub, so the package has no legitimate functionality. Impact: any developer or CI machine that installs it discloses its hostname and filesystem layout to a third party, and confirms that the internal package name resolves from the public registry, which enables follow-up attacks with a harmful payload. Remediation: remove the package, scope internal package names to a private registry (or pin the scope to it), install with --ignore-scripts where possible, and block 185.158.107.175 on build hosts.

From the record of @greenlake/session; the records of @greenlake/mfe-login-url, @greenlake/context-pane, @greenlake/common-context, @greenlake/auth carry the same description apart from the package name and version.

Think this is wrong? Write to hello@protet.io and we will look at it. Feeds: NDJSON, Atom. How Protet Intel works.