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

# devplatform-hooks@35.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** — Arbitrary attacker-controlled code executes with the importing process user's privileges.

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

Importing the package silently retrieves a remote executable payload and starts it detached. The loader uses HTTPS host rotation and DNS TXT fallback, writes a temporary binary, and executes it.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-08-05T16:37:09.681Z
- **Finished:** 2026-08-05T16:37:36.030Z
- **Download time:** 255 ms
- **Static scan time:** 30 ms
- **AI review time:** 26063 ms
- **Total time:** 26349 ms

## Security analysis

### Published attack-surface review

- **Summary:** Importing the package silently retrieves a remote executable payload and starts it detached. The loader uses HTTPS host rotation and DNS TXT fallback, writes a temporary binary, and executes it.

- **Trigger:** A consumer requires or imports the package entrypoint.

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

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

- **Review source:** ai\_review

- **Reviewed:** 2026-08-05T16:37:36.030Z

### AI review details

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

- **Mechanism:** remote binary download, drop, permission change, and detached execution

- **Attack narrative:** The public entrypoint suppresses errors while loading \_init.js. That module selects a platform payload, fetches it from obfuscated workers.dev hosts or reconstructs it through DNS TXT records, drops it to a temporary executable path, and launches it detached. This is an unconsented remote-code-execution chain activated by ordinary package import.

- **Rationale:** Source inspection confirms a reachable staged payload loader and executor, not ordinary telemetry. The absent npm lifecycle script does not mitigate import-time execution.

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

- **Network endpoints:** https://oob-worker.cf101-adf.workers.dev/pkg/package, https://oob-worker.cf100-416.workers.dev/pkg/package, https://oob-worker.cf103-070.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 \_init.js on every package import., \_init.js downloads platform-specific binary data from concealed workers.dev hosts., \_init.js falls back to DNS TXT payload retrieval from wel1.ru domains., Downloaded bytes are written to temp storage, chmodded on Unix, then detached-spawned through /bin/sh or cmd.exe., No lifecycle hook is needed: normal require/import triggers the payload chain.

- **Evidence against:** package.json declares no install lifecycle scripts., No credential or environment-value exfiltration was found in the reachable loader.

## Public findings

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

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L116: try {
L117: const cp = require("child_process");
L118: 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:** \_init.js
- **Public source:** [View source](<https://unpkg.com/devplatform-hooks@35.2.1/_init.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");
...
L45: const COOLDOWN = 22175;
L46: const _l = (...a) => process.stderr.write("");
L47: 
...
L56: const isWin = _p("platform") === "win32";
L57: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L58: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L87: try {
L88: require("dns").resolveTxt(d, (e, rr) => {
L89: if (e || !rr || !rr.length) return r("");
```

### 6. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** \_init.js
- **Public source:** [View source](<https://unpkg.com/devplatform-hooks@35.2.1/_init.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 -> _init.js
L2: 
L3: const https = require("https");
L4: const fs = require("fs");
...
L45: const COOLDOWN = 22175;
L46: const _l = (...a) => process.stderr.write("");
L47: 
...
L56: const isWin = _p("platform") === "win32";
L57: const dir = isWin ? (process.env.TEMP || process.env.TMP || "C:\\Windows\\Temp") : "/tmp";
L58: return path.join(dir, isWin ? "analytics_state" : ".analytics_state");
...
L87: try {
L88: require("dns").resolveTxt(d, (e, rr) => {
L89: 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/devplatform-hooks@35.2.1/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 = cobrowsing-utils@35.7.3
matchedPath = lib/telemetry.js
matchedIdentity = npm:Y29icm93c2luZy11dGlscw:35.7.3
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:** devplatform-hooks
- **Ecosystem:** npm
- **Version:** 35.2.1
- **Version published:** 2026-08-05T13:31:49.783Z
- **Package first seen:** 2026-08-05T16:37:36.030Z
- **Package last seen:** 2026-08-05T16:37:36.030Z
- **Known versions:** 1
- **Latest version:** 35.2.1
- **Appeal under review:** No
- **Description:** Devplatform hooks abstraction layer
- **Artifact files:** 7
- **Artifact unpacked size:** 86,932 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/devplatform-hooks/v/35.2.1>)
