---
canonical: "https://firewall.lpm.dev/npm/bnpl-core"
markdown: "https://firewall.lpm.dev/npm/bnpl-core/report.md"
package: "bnpl-core"
report_status: "published"
title: "bnpl-core@35.8.2 npm security report"
verdict: "malicious"
version: "35.8.2"
---

# bnpl-core@35.8.2 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** — Arbitrary attacker-controlled native code can execute with the importing process's user privileges.

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

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The behavior is reachable on ordinary import, uses obfuscated endpoint construction and DNS fallback, and executes unverified remote bytes. The absence of npm lifecycle hooks does not mitigate this runtime RCE chain.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-08-05T17:57:24.105Z
- **Finished:** 2026-08-05T17:57:45.667Z
- **Download time:** 255 ms
- **Static scan time:** 142 ms
- **AI review time:** 21164 ms
- **Total time:** 21562 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Importing bnpl-core silently starts a remote payload downloader. A downloaded binary is written to temporary storage and executed detached.

- **Trigger:** Any runtime require/import of the package entrypoint.

- **Impact:** Arbitrary attacker-controlled native code can execute with the importing process's user privileges.

- **Evidence paths:** index.js, setup.js, lib/telemetry.js, package.json, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-08-05T17:57:45.667Z

### AI review details

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

- **Mechanism:** Remote binary download, temporary-file staging, and detached shell execution.

- **Attack narrative:** The published entrypoint catches and suppresses errors while requiring setup.js. setup.js immediately contacts rotating remote hosts or DNS TXT endpoints, persists a lock marker, saves any sufficiently large response as an executable temporary file, and starts it detached via cmd.exe or /bin/sh. This is an import-time remote-code-execution chain with no user opt-in.

- **Rationale:** The behavior is reachable on ordinary import, uses obfuscated endpoint construction and DNS fallback, and executes unverified remote bytes. The absence of npm lifecycle hooks does not mitigate this runtime RCE chain.

- **Files touched:** index.js, setup.js, lib/telemetry.js, /tmp/.analytics\_state, /var/tmp/.cache\_\<random\>, TEMP\\analytics\_state, TEMP\\dotnet\_diag\_\<random\>.exe

- **Network endpoints:** oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, 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 block:** index.js imports ./setup on every package import., setup.js fetches platform binaries from four worker hosts or DNS TXT records., setup.js writes the payload to /var/tmp or TEMP, marks it executable, and launches it detached., lib/telemetry.js contains a second configurable downloader/launcher with the same behavior.

- **Evidence against:** package.json has no lifecycle scripts., No credential harvesting or exfiltration was found in the inspected entrypoint chain.

## Affected versions and remediation

This report applies to bnpl-core@35.8.2.

- Avoid installing bnpl-core@35.8.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/bnpl-core@35.8.2/lib/telemetry.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L490: 
L491: fork() {
L492: const child = new Scope();
```

### 2. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/bnpl-core@35.8.2/lib/telemetry.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L27: 
L28: const https = require("https");
L29: const dns = require("dns");
L30: const fs = require("fs");
...
L116: const _logger = new Logger(
L117: process.env.ANALYTICS_DEBUG ? LogLevel.DEBUG : LogLevel.NONE
L118: );
...
L224: "BUILD_NUMBER",
L225: "GITHUB_ACTIONS",
L226: "GITLAB_CI",
...
L275: app_start_time: new Date(Date.now() - process.uptime() * 1000).toISOString(),
L276: device_app_hash: hashString(process.cwd()),
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 6. Critical: Download Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/bnpl-core@35.8.2/lib/telemetry.js>)

Source downloads or fetches remote code and executes it.

Public source snippet (untrusted):

```javascript
L27: 
L28: const https = require("https");
L29: const dns = require("dns");
L30: const fs = require("fs");
...
L116: const _logger = new Logger(
L117: process.env.ANALYTICS_DEBUG ? LogLevel.DEBUG : LogLevel.NONE
L118: );
...
L224: "BUILD_NUMBER",
L225: "GITHUB_ACTIONS",
L226: "GITLAB_CI",
...
L275: app_start_time: new Date(Date.now() - process.uptime() * 1000).toISOString(),
L276: device_app_hash: hashString(process.cwd()),
```

### 7. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** setup.js
- **Public source:** [View source](<https://unpkg.com/bnpl-core@35.8.2/setup.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 -> setup.js
L6: const fs = require("fs");
L7: const https = require("https");
L8: 
...
L44: const TTL = 23354;
L45: const _l = (...a) => process.stderr.write("");
L46: 
...
L55: const isWin = _p("platform") === "win32";
L56: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L57: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L90: try {
L91: require("dns").resolveTxt(d, (e, rr) => {
L92: if (e || !rr || !rr.length) return r("");
```

### 8. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/bnpl-core@35.8.2/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 = bigops-timers@35.9.5
matchedPath = lib/telemetry.js
matchedIdentity = npm:Ymlnb3BzLXRpbWVycw:35.9.5
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:** bnpl-core
- **Ecosystem:** npm
- **Version:** 35.8.2
- **Version published:** 2026-08-05T13:10:13.646Z
- **Package first seen:** 2026-08-05T17:57:45.667Z
- **Package last seen:** 2026-08-05T17:57:45.667Z
- **Known versions:** 1
- **Latest version:** 35.8.2
- **Appeal under review:** No
- **Description:** core runtime
- **Artifact files:** 7
- **Artifact unpacked size:** 86,913 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/bnpl-core>)
