Malicious code in upload-to-gcp (npm)
Malware
Published
Aug 15, 2026
to the GitHub Advisory Database
•
Updated Aug 15, 2026
Description
Published to the GitHub Advisory Database
Aug 15, 2026
Reviewed
Aug 15, 2026
Last updated
Aug 15, 2026
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