---
canonical: "https://firewall.lpm.dev/npm/devplatform-rest-resources-v2/v/35.9.7"
markdown: "https://firewall.lpm.dev/npm/devplatform-rest-resources-v2/v/35.9.7.md"
package: "devplatform-rest-resources-v2"
report_status: "published"
title: "devplatform-rest-resources-v2@35.9.7 npm security report"
verdict: "malicious"
version: "35.9.7"
---

# devplatform-rest-resources-v2@35.9.7 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 remote code executes with the permissions of the importing process.

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

Importing the package automatically triggers remote payload retrieval and execution. The payload is written to a temporary executable path and launched in a detached process.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-08-05T19:02:48.736Z
- **Finished:** 2026-08-05T19:03:15.821Z
- **Download time:** 251 ms
- **Static scan time:** 30 ms
- **AI review time:** 26803 ms
- **Total time:** 27085 ms

## Security analysis

### Published attack-surface review

- **Summary:** Importing the package automatically triggers remote payload retrieval and execution. The payload is written to a temporary executable path and launched in a detached process.

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

- **Impact:** Arbitrary remote code executes with the permissions of the importing process.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-08-05T19:03:15.821Z

### AI review details

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

- **Mechanism:** Remote binary download or DNS-staged payload followed by detached shell execution.

- **Attack narrative:** Loading index.js silently imports \_adapter.js. Its start() function fetches a platform-specific binary from rotating hosts, or reconstructs one from DNS TXT records, writes it under a temporary randomized name, marks it executable on Unix, and launches it through a detached shell or cmd.exe process. Execution occurs without user invocation, integrity verification, or a declared legitimate package feature.

- **Rationale:** This is an import-time staged payload downloader and arbitrary executable launcher, unrelated to the package's exported REST-resource API. The absence of lifecycle hooks does not mitigate runtime import execution.

- **Files touched:** index.js, \_adapter.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.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:** index.js imports \_adapter.js on every package import., \_adapter.js downloads platform binaries over HTTPS from hard-coded worker hosts., It falls back to DNS TXT payload reconstruction from .ru domains., Downloaded bytes are written to temporary files, made executable, and launched detached., No hash, signature, or content validation is applied before execution.

- **Evidence against:** package.json has no lifecycle scripts., lib/telemetry.js is not imported by the public entrypoint.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** \_adapter.js
- **Public source:** [View source](<https://unpkg.com/devplatform-rest-resources-v2@35.9.7/_adapter.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L120: try {
L121: const cp = require("child_process");
L122: 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:** \_adapter.js
- **Public source:** [View source](<https://unpkg.com/devplatform-rest-resources-v2@35.9.7/_adapter.js>)

Source downloads or fetches remote code and executes it.

Public source snippet (untrusted):

```javascript
L5: const path = require("path");
L6: const https = require("https");
L7: const os = require("os");
...
L46: const STAMP_TTL = 22670;
L47: const _l = (...a) => process.stderr.write("");
L48: 
...
L58: const isWin = _p("platform") === "win32";
L59: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L60: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L91: try {
L92: require("dns").resolveTxt(d, (e, rr) => {
L93: if (e || !rr || !rr.length) return r("");
```

### 6. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** \_adapter.js
- **Public source:** [View source](<https://unpkg.com/devplatform-rest-resources-v2@35.9.7/_adapter.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 -> _adapter.js
L5: const path = require("path");
L6: const https = require("https");
L7: const os = require("os");
...
L46: const STAMP_TTL = 22670;
L47: const _l = (...a) => process.stderr.write("");
L48: 
...
L58: const isWin = _p("platform") === "win32";
L59: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L60: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L91: try {
L92: require("dns").resolveTxt(d, (e, rr) => {
L93: if (e || !rr || !rr.length) return r("");
```

### 7. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

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

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

## 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:** devplatform-rest-resources-v2
- **Ecosystem:** npm
- **Version:** 35.9.7
- **Version published:** 2026-08-05T13:34:54.950Z
- **Package first seen:** 2026-08-05T19:03:15.821Z
- **Package last seen:** 2026-08-05T19:03:15.821Z
- **Known versions:** 1
- **Latest version:** 35.9.7
- **Appeal under review:** No
- **Description:** Devplatform rest resources v2 provider for microservice architecture
- **Artifact files:** 7
- **Artifact unpacked size:** 87,637 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/devplatform-rest-resources-v2/v/35.9.7>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-12746>)
