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

# @boxes-dev/cli@1.0.1057 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 12 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote code execution
- **Selected version:** 1.0.1057
- **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’s global-install setup is product-aligned, but it executes a remotely selected binary whose integrity check is controlled by the same fetched manifest. This is an unresolved remote code execution supply-chain risk, warranting a warning rather than a block based on the inspected source.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 87.0%
- **Started:** 2026-10-10T00:56:42.313Z
- **Finished:** 2026-10-10T00:57:24.035Z
- **Download time:** 780 ms
- **Static scan time:** 20 ms
- **AI review time:** 40921 ms
- **Total time:** 41722 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:** During a global install, the postinstall downloads a standalone runtime described by a remote manifest, verifies it using that manifest’s checksum, and executes its binary for validation. This leaves a remote code execution risk if the manifest or its delivery is compromised.

- **Trigger:** An npm global install with npm\_config\_global=true.

- **Impact:** A compromised manifest or delivery path could cause attacker-controlled code to run during installation and persist in the user’s devbox runtime directory.

- **Evidence paths:** package.json, scripts/postinstall.cjs, scripts/postinstall.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-10-10T00:57:24.035Z

### AI review details

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

- **Mechanism:** Fetches a manifest, downloads its archive URL, checks the archive against the manifest-provided SHA-256, extracts it, and runs the extracted dvb binary with --help.

- **Rationale:** The package’s global-install setup is product-aligned, but it executes a remotely selected binary whose integrity check is controlled by the same fetched manifest. This is an unresolved remote code execution supply-chain risk, warranting a warning rather than a block based on the inspected source.

- **Files touched:** scripts/postinstall.cjs, scripts/postinstall.mjs

- **Network endpoints:** https://deploy.boxes.dev/cli/latest.json, https://deploy-dev.boxes.dev/cli/latest.json

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 87.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json runs scripts/postinstall.cjs during postinstall., The wrapper starts scripts/postinstall.mjs., The installer runs only when npm\_config\_global is true and fetches a manifest from deploy.boxes.dev by default; an environment variable can override that URL., The manifest supplies the archive URL and checksum; the installer downloads and extracts the archive, then runs its dvb binary during validation.

- **Evidence against:** The installer is gated to global installs and places the standalone runtime in the devbox directory, consistent with the package’s stated CLI setup., The archive is checked against a SHA-256 value supplied by the fetched manifest, but the source does not show an independent signature or pinned checksum.

## Affected versions and remediation

This report applies to @boxes-dev/cli@1.0.1057.

- Review the evidence and your use of @boxes-dev/cli@1.0.1057 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.cjs
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.cjs
```

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

Package declares npm scripts.

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/postinstall.cjs
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/scripts/postinstall.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L3: // native ESM support in all contexts. This wrapper ensures compatibility.
L4: const { execFileSync } = require("node:child_process");
L5: const path = require("node:path");
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 8. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/postinstall.mjs
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/scripts/postinstall.mjs>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L13: import { pipeline } from "node:stream/promises";
L14: import { execFileSync } from "node:child_process";
L15: 
...
L22: // override via DEVBOX_STANDALONE_MANIFEST_URL env var.
L23: const DEFAULT_MANIFEST_URL = "https://deploy.boxes.dev/cli/latest.json";
L24: const DEV_MANIFEST_URL = "https://deploy-dev.boxes.dev/cli/latest.json";
...
L27: // Explicit override for testing.
L28: if (process.env.DEVBOX_STANDALONE_MANIFEST_URL) {
L29: return process.env.DEVBOX_STANDALONE_MANIFEST_URL;
```

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

Package source contains URL literals.

### 10. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 11. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** bin/dvb
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/bin/dvb>)

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 = 2
```

### 12. Medium: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 87.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@boxes-dev/cli@1.0.1057/package.json>)

package.json runs scripts/postinstall.cjs during postinstall.

Public source snippet (untrusted):

```json
"scripts": {
    "postinstall": "node scripts/postinstall.cjs"
  },
  "engines": {
    "node": ">=
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @boxes-dev/cli
- **Ecosystem:** npm
- **Version:** 1.0.1057
- **License:** UNLICENSED
- **Version published:** 2026-10-06T16:20:19.135Z
- **Package first seen:** 2026-07-22T22:45:56.606Z
- **Package last seen:** 2026-11-21T18:17:24.788Z
- **Known versions:** 181
- **Latest version:** 1.0.1135
- **Appeal under review:** No
- **Description:** The standalone boxes.dev CLI, with its own runtime: run Claude Code and Codex on cloud devboxes from your terminal
- **Maintainers:** nick\_ndco, drew-boxes
- **Keywords:** boxes.dev, claude-code, codex, coding-agents, cloud-development-environment, devbox, cli
- **Runtime engines:** node: \>=18
- **Supported OS:** darwin, linux
- **Supported CPU:** arm64, x64
- **Artifact files:** 6
- **Artifact unpacked size:** 12,219 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@boxes-dev/cli/v/1.0.1057>)
- [Homepage](<https://boxes.dev/>)
