Malicious code in upload-to-gcp (npm)
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.
AI Analysis
Technical Summary
The upload-to-gcp npm package version 3.2.1 runs a postinstall lifecycle script that collects host identifiers such as os.hostname(), process.platform, process.arch, Node.js version, package name, and npm lifecycle event. It then sends this information via an HTTP POST request to a hardcoded, non-GCP domain (https://z5owtt3g.instances.poc.jchunt.top/upload-to-gcp). The domain appears random and unrelated to any legitimate Google Cloud service, suggesting the package is performing unauthorized data exfiltration under the guise of a GCP utility.
Potential Impact
This malicious behavior results in unauthorized collection and transmission of system and environment information to an attacker-controlled server. This can lead to privacy violations and potentially aid further targeted attacks or reconnaissance. There is no indication of direct code execution beyond the postinstall script or broader system compromise from the provided data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing upload-to-gcp version 3.2.1. Review and remove this package if present. Monitor for updates or advisories from the package maintainers or npm registry. Since this is a malicious package, consider using trusted package sources and verifying package integrity before installation.
Malicious code in upload-to-gcp (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The upload-to-gcp npm package version 3.2.1 runs a postinstall lifecycle script that collects host identifiers such as os.hostname(), process.platform, process.arch, Node.js version, package name, and npm lifecycle event. It then sends this information via an HTTP POST request to a hardcoded, non-GCP domain (https://z5owtt3g.instances.poc.jchunt.top/upload-to-gcp). The domain appears random and unrelated to any legitimate Google Cloud service, suggesting the package is performing unauthorized data exfiltration under the guise of a GCP utility.
Potential Impact
This malicious behavior results in unauthorized collection and transmission of system and environment information to an attacker-controlled server. This can lead to privacy violations and potentially aid further targeted attacks or reconnaissance. There is no indication of direct code execution beyond the postinstall script or broader system compromise from the provided data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing upload-to-gcp version 3.2.1. Review and remove this package if present. Monitor for updates or advisories from the package maintainers or npm registry. Since this is a malicious package, consider using trusted package sources and verifying package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14067
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a81d70cbf8831d5394a1c29
Added to database: 08/16/2026, 15:28:12 UTC
Last enriched: 08/16/2026, 15:33:30 UTC
Last updated: 08/16/2026, 16:54:01 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.