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

# coda-cli@1.5.50 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 13 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Unknown
- **Selected version:** 1.5.50
- **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 automatic update path installs a differently named global package without a separate confirmation, creating unresolved supply chain risk. The inspected credential transfer follows the configured AI endpoint, and no concrete malicious behavior was established.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 78.0%
- **Started:** 2026-10-29T08:05:31.690Z
- **Finished:** 2026-10-29T08:06:26.702Z
- **Download time:** 502 ms
- **Static scan time:** 300 ms
- **AI review time:** 54209 ms
- **Total time:** 55012 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:** The CLI's automatic update check can trigger a global installation of code-cli.

- **Trigger:** Invoking the CLI with no arguments or with --v when its update check finds a newer version.

- **Impact:** An unrelated global package may be installed without a separate confirmation in the inspected path; source does not establish malicious behavior by that package.

- **Evidence paths:** bin/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-29T08:06:26.702Z

### AI review details

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

- **Mechanism:** The CLI runs an npm global install command, with sudo on non-Windows systems.

- **Rationale:** The automatic update path installs a differently named global package without a separate confirmation, creating unresolved supply chain risk. The inspected credential transfer follows the configured AI endpoint, and no concrete malicious behavior was established.

- **Files touched:** bin/index.js, servers/agent-server/main.js

- **Network endpoints:** https://api.openai.com/v1, http://127.0.0.1:11434

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 78.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest exposes bin/index.js as the coda command and declares no lifecycle scripts., On empty CLI input or --v, bin/index.js checks for an update; when a newer version is found, it automatically runs a global install of code-cli, using sudo on non-Windows systems., The agent server sends configured API keys to the configured or protocol-default AI endpoint as part of its chat request.

- **Evidence against:** The CLI install is reached through normal CLI invocation and an update check; the inspected source does not establish that code-cli is malicious or that installation runs during package installation., Agent-server credentials are sent to the configured or protocol-default chat endpoint, not shown going to an unrelated recipient., The account action matches are in the CLI command-handling path; no automatic publisher-selected account action was established.

## Affected versions and remediation

This report applies to coda-cli@1.5.50.

- Review the evidence and your use of coda-cli@1.5.50 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:** bin/index.js
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/bin/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: (()=>{"use strict";var e={450(e,t,s){t.childProcess=void 0;const a=s(317);t.childProcess={runCmdLive:(e,t=process.cwd())=>new Promise(s=>{const n=(0,a.spawn)(e,{cwd:t,stdio:"inheri...
L3: //# sourceMappingURL=index.js.map
```

### 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. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/index.js
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/bin/index.js>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: (()=>{"use strict";var e={450(e,t,s){t.childProcess=void 0;const a=s(317);t.childProcess={runCmdLive:(e,t=process.cwd())=>new Promise(s=>{const n=(0,a.spawn)(e,{cwd:t,stdio:"inheri...
L3: //# sourceMappingURL=index.js.map
```

### 7. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** generator/chat/index.js
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/generator/chat/index.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: (()=>{"use strict";var e={450(e,t,a){t.childProcess=void 0;const s=a(317);t.childProcess={runCmdLive:(e,t=process.cwd())=>new Promise(a=>{const n=(0,s.spawn)(e,{cwd:t,stdio:"inheri...
L2: //# sourceMappingURL=index.js.map
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
kind = compressed_blob
sizeBytes = 33753
magicHex = [redacted]
```

### 11. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
kind = high_entropy_blob
sizeBytes = 33753
magicHex = [redacted]
```

### 12. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
- **Public source:** [View source](<https://unpkg.com/coda-cli@1.5.50/apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = apps/coda-vscode-chat/coda-vscode-chat-1.0.0.vsix
kind = nested_archive_needs_inspection
sizeBytes = 33753
magicHex = [redacted]
```

### 13. 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.

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

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

### Published dependency entries
- @nestjs/common ^10.0.0 (Dependency)
- @nestjs/config ^3.2.0 (Dependency)
- @nestjs/core ^10.0.0 (Dependency)
- @nestjs/platform-fastify ^10.0.0 (Dependency)
- axios ^1.7.3 (Dependency)
- chalk ^6.0.1 (Dependency)
- del ^9.0.1 (Dependency)
- dotenv ^18.0.9 (Dependency)
- fastify ^4.26.0 (Dependency)
- fs-extra ^11.4.1 (Dependency)
- glob ^13.0.6 (Dependency)
- inquirer ^14.2.3 (Dependency)
- npm-check-updates ^23.1.1 (Dependency)
- ora ^9.4.1 (Dependency)
- pm2 ^7.1.1 (Dependency)
- reflect-metadata ^0.2.0 (Dependency)
- rxjs ^7.8.1 (Dependency)
- semver ^7.8.5 (Dependency)

## Package metadata
- **Package:** coda-cli
- **Ecosystem:** npm
- **Version:** 1.5.50
- **License:** MIT
- **Version published:** 2026-10-29T08:01:20.999Z
- **Package first seen:** 2026-10-14T15:19:01.715Z
- **Package last seen:** 2026-11-04T12:33:54.772Z
- **Known versions:** 15
- **Latest version:** 1.9.34
- **Appeal under review:** No
- **Description:** NodeJS命
- **Author:** Lanscod
- **Maintainers:** lanscod
- **Keywords:** command line tools, AI agent
- **Runtime engines:** node: \>=22.0.0
- **Artifact files:** 52
- **Artifact unpacked size:** 1,031,895 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/coda-cli/v/1.5.50>)
