Skip to main content
MalwarePublished

upload-to-gcp (npm) · Malicious Code

Affects upload-to-gcpSource GCVE Database

0

Malicious package : remove upload-to-gcp and rotate any secrets on hosts that installed it.

Data as of 16 Aug 2026, 15:33 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14067

What to do

Remove upload-to-gcp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmupload-to-gcpAffected
  • =3.2.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package upload-to-gcp version 3.2.1 contains malicious code that executes a postinstall script during installation. This script collects host system identifiers and environment details, then sends this data to a suspicious external domain unrelated to Google Cloud Platform. This behavior occurs without user consent or disclosure, indicating a privacy and security risk.

References

Community reviews

Loading reviews…