---
canonical: "https://firewall.lpm.dev/npm/run402/v/4.130.5"
markdown: "https://firewall.lpm.dev/npm/run402/v/4.130.5.md"
package: "run402"
report_status: "published"
title: "run402@4.130.5 npm security report"
verdict: "suspicious"
version: "4.130.5"
---

# run402@4.130.5 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
**Flagged — allowed with a warning** — Allowed by default policy, but 15 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 4.130.5
- **Selected version is latest:** No
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package sends bounded, undisclosed runtime telemetry by default when its explicit Buzz doctor command runs. The telemetry excludes sensitive identifiers and credentials, so this warrants a warning rather than a block; the metadata and credential-routing hints inspected are consistent with tests and normal Run402 API use.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 89.0%
- **Started:** 2026-11-06T05:42:48.762Z
- **Finished:** 2026-11-06T05:43:45.237Z
- **Download time:** 1018 ms
- **Static scan time:** 5066 ms
- **AI review time:** 50390 ms
- **Total time:** 56475 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:** Undisclosed runtime telemetry is sent during the Buzz doctor preflight; no credential theft or metadata collection was identified.

- **Trigger:** Running the explicit `run402 doctor --buzz` command, unless `RUN402_TELEMETRY=0` is set.

- **Impact:** Shares diagnostic event status and coarse runtime/platform details with Run402 without clearly disclosing this collection in the inspected CLI help.

- **Evidence paths:** lib/doctor.mjs, lib/diagnostic-telemetry.mjs, lib/diagnostic-telemetry-worker.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-11-06T05:43:45.237Z

### AI review details

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

- **Mechanism:** The command queues a small, fixed diagnostic event and launches a detached worker that posts it to the Run402 API.

- **Rationale:** The package sends bounded, undisclosed runtime telemetry by default when its explicit Buzz doctor command runs. The telemetry excludes sensitive identifiers and credentials, so this warrants a warning rather than a block; the metadata and credential-routing hints inspected are consistent with tests and normal Run402 API use.

- **Files touched:** lib/doctor.mjs, lib/diagnostic-telemetry.mjs, lib/diagnostic-telemetry-worker.mjs

- **Network endpoints:** api.run402.com/client-diagnostic-events/v1

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 89.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** The explicit `run402 doctor --buzz` flow queues telemetry after the preflight report is built., Telemetry is sent by POST to the Run402 API and contains a fixed set of event, coarse platform, runtime/version, check, and install-context fields., Telemetry is on by default; it can be disabled with `RUN402_TELEMETRY=0`, but the inspected CLI help does not disclose it., The cloud metadata address occurs in a test asserting link-local addresses are rejected., Asset requests use the project service key for Run402 API operations.

- **Evidence against:** The package has no install lifecycle scripts; its manifest declares only a prepack script., The telemetry fields exclude credentials, hostnames, usernames, paths, and arbitrary environment values., The metadata reference is test data, not a runtime metadata request.

## Affected versions and remediation

This report applies to run402@4.130.5.

- Review the evidence and your use of run402@4.130.5 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** git-remote-run402.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/git-remote-run402.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L34: import net from "node:net";
L35: import { spawn } from "node:child_process";
L36: import { daemonSocketPath, daemonRunnerPath, DAEMON_PROTOCOL_VERSION, cliVersion, forwardableEnv } from "./lib/daemon-path.mjs";
```

### 3. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** sdk/dist/node/deploy-manifest.js
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/sdk/dist/node/deploy-manifest.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L843: try {
L844: tsx = (await import("tsx/esm/api"));
L845: }
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. High: Cloud Metadata Access
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** lib/buzz-doctor.test.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/lib/buzz-doctor.test.mjs>)

Source reaches cloud instance metadata or link-local credential endpoints.

Public source snippet (untrusted):

```javascript
L24: const executable = join(directory, "buzz");
L25: writeFileSync(executable, "#!/bin/sh\nexit 0\n");
L26: chmodSync(executable, 0o755);
...
L29: 
L30: function commandOk(stdout = "") {
L31: return { status: 0, stdout, stderr: "" };
...
L80: readMetaImpl: () => ({ name: "buzz-fizz", rail: "x402" }),
L81: apiOrigin: "https://api.run402.com",
L82: consoleOrigin: "https://console.run402.com",
...
L94: it("accepts an explicit hex or npub target and rejects malformed/repeated combinations before probing", () => {
L95: const npub = bech32.encode("npub", bech32.toWords(Buffer.from(SUBJECT, "hex")));
L96: assert.deepEqual(parseBuzzDoctorArgs(["--buzz", "--buzz-agent", SUBJECT]), { buzz: true, expectedSubjectHex: SUBJECT });
```

### 8. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** lib/dev.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/lib/dev.mjs>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L167: // Astro's normal output.
L168: const child = spawn("npx", ["astro", "dev", "--port", port, "--host", host], {
L169: stdio: "inherit",
```

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

Package source contains high-entropy string patterns.

### 10. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

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

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

### 12. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** lib/doctor-source-scan.test.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/lib/doctor-source-scan.test.mjs%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 5
```

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/diagnostic-telemetry.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/lib/diagnostic-telemetry.mjs>)

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 = run402@4.71.0
matchedPath = lib/diagnostic-telemetry.mjs
matchedIdentity = npm:cnVuNDAy:4.71.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** git-remote-run402.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/git-remote-run402.mjs>)

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 = run402@4.71.0
matchedPath = git-remote-run402.mjs
matchedIdentity = npm:cnVuNDAy:4.71.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/update-check.test.mjs
- **Public source:** [View source](<https://unpkg.com/run402@4.130.5/lib/update-check.test.mjs>)

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 = run402@4.71.0
matchedPath = lib/update-check.test.mjs
matchedIdentity = npm:cnVuNDAy:4.71.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

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

### Published dependency entries
- @aws-sdk/client-kms ^3.1147.0 (Dependency)
- @hpke/chacha20poly1305 ^1.8.0 (Dependency)
- @hpke/core ^1.9.0 (Dependency)
- @humanwhocodes/momoa 3.3.13 (Dependency)
- @noble/ciphers ^2.3.0 (Dependency)
- @noble/curves ^2.0.1 (Dependency)
- @noble/hashes ^2.0.1 (Dependency)
- @run402/nwc ^0.1.0 (Dependency)
- @scure/base 1.2.6 (Dependency)
- @x402/evm 2.28.0 (Dependency)
- @x402/extensions 2.28.0 (Dependency)
- @x402/fetch 2.28.0 (Dependency)
- ipaddr.js 1.9.1 (Dependency)
- json-canonicalize 2.0.0 (Dependency)
- mppx ^0.13.1 (Dependency)
- qrcode 1.5.4 (Dependency)
- tsx ^4.21.0 (Dependency)
- undici ^7.29.0 (Dependency)
- viem ^2.57.1 (Dependency)

## Package metadata
- **Package:** run402
- **Ecosystem:** npm
- **Version:** 4.130.5
- **License:** MIT
- **Version published:** 2026-10-26T21:23:54.609Z
- **Package first seen:** 2026-06-30T21:41:03.876Z
- **Package last seen:** 2026-11-22T21:50:47.291Z
- **Known versions:** 214
- **Latest version:** 4.161.0
- **Appeal under review:** No
- **Description:** CLI for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
- **Maintainers:** kychee
- **Keywords:** run402, x402, postgres, ai-agent, openclaw
- **Runtime engines:** node: \>=22
- **Artifact files:** 825
- **Artifact unpacked size:** 8,943,980 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/run402/v/4.130.5>)
- [Repository](<https://github.com/kychee-com/run402>)
- [Homepage](<https://run402.com/>)
- [Issues](<https://github.com/kychee-com/run402/issues>)
