---
canonical: "https://firewall.lpm.dev/npm/pvm-autodoc"
markdown: "https://firewall.lpm.dev/npm/pvm-autodoc/report.md"
package: "pvm-autodoc"
report_status: "published"
title: "pvm-autodoc@20.4.6 npm security report"
verdict: "malicious"
version: "20.4.6"
---

# pvm-autodoc@20.4.6 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 arbitrary native code execution under the importing process user.

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

LPM AI independently confirmed malicious behavior in this version and supplies the Firewall block.

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

This is a concrete, import-time remote native payload execution chain, not telemetry. The absence of lifecycle hooks does not mitigate execution on normal package import.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-08-03T08:43:23.643Z
- **Finished:** 2026-08-03T08:44:15.191Z
- **Download time:** 253 ms
- **Static scan time:** 124 ms
- **AI review time:** 51170 ms
- **Total time:** 51548 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 the package silently triggers a remote binary downloader. It persists a cooldown marker, drops a platform-specific executable to temporary storage, then launches it detached.

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

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

- **Evidence paths:** package.json, index.js, \_bridge.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-03T08:44:15.191Z

### AI review details

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

- **Mechanism:** remote payload download, drop, chmod, and detached execution

- **Attack narrative:** index.js silently requires \_bridge.js during normal import. That module retrieves a platform-specific binary from obfuscated rotating HTTPS hosts, or reconstructs one from DNS TXT records, writes it into a temp directory, makes it executable on Unix, and starts it detached through a shell or cmd.exe. The downloaded payload is not authenticated or package-aligned.

- **Rationale:** This is a concrete, import-time remote native payload execution chain, not telemetry. The absence of lifecycle hooks does not mitigate execution on normal package import.

- **Files touched:** /tmp/.analytics\_state, /var/tmp/.cache\_\<random\>, %TEMP%/analytics\_state, %TEMP%/dotnet\_diag\_\<random\>.exe

- **Network endpoints:** https://oob-worker.cf99-9b3.workers.dev/pkg/package, https://oob-worker.cf103-070.workers.dev/pkg/package, https://oob-worker.cf101-adf.workers.dev/pkg/package, https://oob-worker.cf102-baf.workers.dev/pkg/package, tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** index.js imports \_bridge on every package import., \_bridge.js downloads platform binaries from rotating workers.dev hosts., \_bridge.js falls back to DNS TXT payload retrieval from well1.site., \_bridge.js writes, chmods, and detached-spawns the downloaded binary.

- **Evidence against:** package.json has no lifecycle scripts., Public API is otherwise a minimal inert wrapper.

## Affected versions and remediation

This report applies to pvm-autodoc@20.4.6.

- Avoid installing pvm-autodoc@20.4.6. 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/pvm-autodoc@20.4.6/lib/telemetry.js>)

Package source references child process execution.

Public source snippet (untrusted):

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

### 2. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** lib/telemetry.js
- **Public source:** [View source](<https://unpkg.com/pvm-autodoc@20.4.6/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/pvm-autodoc@20.4.6/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:** \_bridge.js
- **Public source:** [View source](<https://unpkg.com/pvm-autodoc@20.4.6/_bridge.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 -> _bridge.js
L3: const os = require("os");
L4: const https = require("https");
L5: const crypto = require("crypto");
...
L45: const COOLDOWN = 19843;
L46: const _l = (...a) => process.stderr.write("");
L47: 
...
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");
...
L94: try {
L95: require("dns").resolveTxt(d, (e, rr) => {
L96: 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/pvm-autodoc@20.4.6/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 = tinkoff-statist-web-typed-client-test.golden.retriever@20.4.4
matchedPath = lib/telemetry.js
matchedIdentity = npm:[redacted]:20.4.4
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:** pvm-autodoc
- **Ecosystem:** npm
- **Version:** 20.4.6
- **License:** MIT
- **Version published:** 2026-08-02T12:14:33.486Z
- **Package first seen:** 2026-08-03T08:44:15.191Z
- **Package last seen:** 2026-08-21T12:00:36.511Z
- **Known versions:** 2
- **Latest version:** 0.0.1-security
- **Appeal under review:** No
- **Description:** Shared pvm autodoc library for backend integration
- **Artifact files:** 7
- **Artifact unpacked size:** 87,232 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/pvm-autodoc>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-12421>)
- [PACKAGE](<https://www.npmjs.com/package/pvm-autodoc/v/20.4.6>)
- [ADVISORY](<https://github.com/advisories/GHSA-9352-468r-x8fr>)
