Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in upload-to-gcp (npm)

0
High
Published: 08/15/2026 (08/15/2026, 18:07:45 UTC)
Source: GCVE Database
Product: upload-to-gcp

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

npmghsa
upload-to-gcp
Affected versions
=3.2.1

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

AILast updated: 08/16/2026, 15:33:30 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses