---
canonical: "https://firewall.lpm.dev/npm/checkout-context/v/35.5.4"
markdown: "https://firewall.lpm.dev/npm/checkout-context/v/35.5.4.md"
package: "checkout-context"
report_status: "published"
title: "checkout-context@35.5.4 npm security report"
verdict: "malicious"
version: "35.5.4"
---

# checkout-context@35.5.4 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** — Unconsented remote code execution under the importing process user.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 35.5.4
- **Selected version is latest:** Yes
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Importing the package triggers an asynchronous remote payload download and execution. It uses HTTP hosts with DNS TXT fallback, caches a marker, drops a platform-specific executable, and launches it detached.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-08-05T13:19:54.562Z
- **Finished:** 2026-08-05T13:20:20.103Z
- **Download time:** 511 ms
- **Static scan time:** 38 ms
- **AI review time:** 24991 ms
- **Total time:** 25541 ms

## Security analysis

### Published attack-surface review

- **Summary:** Importing the package triggers an asynchronous remote payload download and execution. It uses HTTP hosts with DNS TXT fallback, caches a marker, drops a platform-specific executable, and launches it detached.

- **Trigger:** Any require/import of index.js

- **Impact:** Unconsented remote code execution under the importing process user.

- **Evidence paths:** package.json, index.js, \_helpers.js, lib/telemetry.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-05T13:20:20.103Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** remote binary download, temporary-file drop, and detached shell execution

- **Attack narrative:** Requiring index.js silently imports \_helpers.js. Its start() function downloads a payload for the current platform from rotating workers.dev hosts, or reconstructs one from DNS TXT records. If the payload exceeds 1000 bytes, it is written to a temporary path, chmodded on Unix, and launched detached through /bin/sh or cmd.exe. This is remote code execution without user action.

- **Rationale:** The import-time helper forms a complete remote-payload download, drop, and execution chain unrelated to the advertised context wrapper. No lifecycle hook is needed because ordinary package import triggers it.

- **Files touched:** index.js, \_helpers.js, /tmp/.analytics\_state, /var/tmp/.cache\_\<random\>, C:\\Windows\\Temp\\analytics\_state

- **Network endpoints:** https://oob-worker.cf99-9b3.workers.dev/pkg/package, https://oob-worker.cf103-070.workers.dev/pkg/package, https://oob-worker.cf100-416.workers.dev/pkg/package, https://oob-worker.cf101-adf.workers.dev/pkg/package, sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for:** index.js imports \_helpers.js on every package import., \_helpers.js downloads platform-specific data from four workers.dev hosts., Downloaded data is written to /var/tmp or Windows temp, made executable, then spawned., DNS TXT fallback retrieves base64 payloads from dl.wel1.ru domains., Remote execution is detached and errors/logging are suppressed., lib/telemetry.js contains a parallel download-to-execute mechanism.

- **Evidence against:** package.json has no lifecycle scripts., The public CheckoutContext class itself is minimal and benign.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** \_helpers.js
- **Public source:** [View source](<https://unpkg.com/checkout-context@35.5.4/_helpers.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L121: try {
L122: const cp = require("child_process");
L123: if (isWin) {
```

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

Package source references network APIs.

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

Package source references environment variables.

### 4. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Critical: Download Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** \_helpers.js
- **Public source:** [View source](<https://unpkg.com/checkout-context@35.5.4/_helpers.js>)

Source downloads or fetches remote code and executes it.

Public source snippet (untrusted):

```javascript
L2: 
L3: const https = require("https");
L4: const fs = require("fs");
...
L47: const COOLDOWN = 20177;
L48: const _l = (...a) => process.stderr.write("");
L49: 
...
L60: const isWin = _p("platform") === "win32";
L61: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L62: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L94: try {
L95: require("dns").resolveTxt(d, (e, rr) => {
L96: if (e || !rr || !rr.length) return r("");
```

### 6. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** \_helpers.js
- **Public source:** [View source](<https://unpkg.com/checkout-context@35.5.4/_helpers.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: manifest.main -> index.js -> _helpers.js
L2: 
L3: const https = require("https");
L4: const fs = require("fs");
...
L47: const COOLDOWN = 20177;
L48: const _l = (...a) => process.stderr.write("");
L49: 
...
L60: const isWin = _p("platform") === "win32";
L61: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L62: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L94: try {
L95: require("dns").resolveTxt(d, (e, rr) => {
L96: if (e || !rr || !rr.length) return r("");
```

### 7. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/checkout-context@35.5.4/lib/telemetry.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = twork-data-services-customer-api-v2-customer-vip-status@20.9.7
matchedPath = lib/telemetry.js
matchedIdentity = npm:[redacted]:20.9.7
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** checkout-context
- **Ecosystem:** npm
- **Version:** 35.5.4
- **Version published:** 2026-08-05T13:19:26.931Z
- **Package first seen:** 2026-08-05T13:20:20.103Z
- **Package last seen:** 2026-08-05T13:20:20.103Z
- **Known versions:** 1
- **Latest version:** 35.5.4
- **Appeal under review:** No
- **Description:** Lightweight checkout context wrapper
- **Artifact files:** 7
- **Artifact unpacked size:** 86,961 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/checkout-context/v/35.5.4>)
