Skip to content

Malicious code in upload-to-gcp (npm)

Malware Published Aug 15, 2026 to the GitHub Advisory Database • Updated Aug 15, 2026

Package

npm upload-to-gcp (npm)

Affected versions

= 3.2.1

Patched versions

None

Description

Source: amazon-inspector (4094f90a9780964738c1b9aea702c5554c802fba03f1a7e28c0703531dd04590)

upload-to-gcp@3.2.1 runs a postinstall lifecycle script on npm install that collects host identifiers (os.hostname(), process.platform, process.arch, Node version, package name, npm lifecycle event) and POSTs them to a hardcoded remote endpoint at https://z5owtt3g.instances.poc.jchunt.top/upload-to-gcp. The destination is a random-looking subdomain not associated with Google Cloud Platform or any documented first-party service, and the transmission occurs automatically at install time with no opt-in and no disclosure. The package name suggests a GCP upload utility, which is inconsistent with the observed beaconing behavior to an unrelated host.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 15, 2026
Reviewed Aug 15, 2026
Last updated Aug 15, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-jx3f-5x53-4484

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.