---
canonical: "https://firewall.lpm.dev/npm/chatgpt-desktop-setup"
markdown: "https://firewall.lpm.dev/npm/chatgpt-desktop-setup/v/1.0.1.md"
package: "chatgpt-desktop-setup"
report_status: "published"
title: "chatgpt-desktop-setup@1.0.1 npm security report"
verdict: "malicious"
version: "1.0.1"
---

# chatgpt-desktop-setup@1.0.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 by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-18056 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Trusted malware advisory block
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.1
- **Selected version is latest:** No
- **Analysis source:** OpenSSF/OSV malicious advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-18056 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.

LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.

- **LPM AI reviewed:** 2026-10-29T22:50:07.127Z

OpenSSF/OSV advisory MAL-2026-18056 confirms this npm version as malicious. On running the CLI, the package rewrites ~/.codex/config.toml and ~/.codex/.codex-global-state.json to point ChatGPT Desktop and the Codex CLI at a hardcoded non-OpenAI inference endpoint (DEFAULT\_GATEWAY\_URL = https://api.vokes.in/v1), registering model providers chatgpt\_pro\_5x / gpt-6-astra and setting that gateway as the active provider...

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-10-29T22:45:52.501Z
- **Finished:** 2026-10-29T22:50:07.127Z
- **Download time:** 750 ms
- **Static scan time:** 59 ms
- **AI review time:** 253816 ms
- **Total time:** 254626 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:** No attack was identified. The explicitly invoked CLI configures a caller-supplied gateway key and provider in the Codex user configuration.

- **Trigger:** The user runs the setup CLI and supplies or enters a gateway API key.

- **Impact:** This is expected setup behavior; the inspected source shows no automatic install-time action or credential transfer by the package.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-29T22:50:07.127Z

### AI review details

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

- **Mechanism:** The CLI writes the selected provider URL and supplied key into the Codex configuration for later use by that provider.

- **Rationale:** The manifest has no install lifecycle hook, and the CLI performs its configuration only when invoked. The key is requested as a gateway key and placed in the configured provider settings; no package-initiated network transfer or other attack behavior was identified.

- **Files touched:** ~/.codex/config.toml

- **Network endpoints:** https://api.vokes.in/v1

### Review decision

- **Verdict:** Clean

- **Confidence:** 94.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** package.json points the executable entrypoints to bin/cli.js; its only script is an explicit start command, with no install lifecycle hook., The flagged source location resolves the Codex config path and parses TOML sections; it does not perform an agent configuration write by itself., The CLI accepts a caller-supplied API key or prompts for one, and labels it as the gateway key., The CLI defaults to api.vokes.in but accepts a caller-selected gateway URL, then writes the provider and authentication settings to the Codex config., The key is supplied as the configured provider's auth command argument; the observed code does not send it through a network request.

## Affected versions and remediation

This report applies to chatgpt-desktop-setup@1.0.1.

- Avoid installing chatgpt-desktop-setup@1.0.1. 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

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

Package source references environment variables.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 6. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 94.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/package.json>)

package.json points the executable entrypoints to bin/cli.js; its only script is an explicit start command, with no install lifecycle hook.

Public source snippet (untrusted):

```json
{
  "name": "chatgpt-desktop-setup",
  "version": "1.0.1",
  "description": "One-command setup for ChatGPT Desktop & Codex CLI with custom 3P inference gateway",
  "main": "bin/cli.js",
  "bin": {
    "chatgpt-desktop-setup": "bin/cli.js",
    "
```

### 7. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 94.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/bin/cli.js>)

The flagged source location resolves the Codex config path and parses TOML sections; it does not perform an agent configuration write by itself.

Public source snippet (untrusted):

```javascript
'.codex', 'config.toml');
}

function splitTomlSections(content) {
  const lines = (content || '').split(/\r?\n/);
  const sections = [];
  let currentHeader = '';
  let currentLin
```

### 8. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 94.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/package.json>)

package.json points the executable entrypoints to bin/cli.js; its only script is an explicit start command, with no install lifecycle hook.

Public source snippet (untrusted):

```json
"files": [
    "bin",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "start": "node ./bin/cli.js"
  },
  "keywords": [
    "chatgpt",
    "chatgpt-desktop",
    "codex",
    "codex-cli",
    "ope
```

### 9. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 94.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/bin/cli.js>)

The CLI defaults to api.vokes.in but accepts a caller-selected gateway URL, then writes the provider and authentication settings to the Codex config.

Public source snippet (untrusted):

```javascript
ult Configurations
const DEFAULT_GATEWAY_URL = 'https://api.vokes.in/v1';
const DEFAULT_PROVIDER = 'chatgpt_pro_5x';
const DEFAULT_PROVIDER_NAME = 'ChatGPT Pro 5x';
const DEFAULT_MODEL = 'gpt-6-astra';
const DEFAULT_REAS
```

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 94.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/bin/cli.js>)

The CLI accepts a caller-supplied API key or prompts for one, and labels it as the gateway key.

Public source snippet (untrusted):

```javascript
reasoning = args[++i];
    } else if (arg === '--cli') {
      launchMode = 'cli';
    } else if (arg === '--no-launch') {
      shouldLaunch = false;
    } else if (!arg.startsWith('-') && !apiKey) {
      apiKey = arg;
    }
  }

  printBanner();

  // If no API key provided, prompt interactively
  if (!apiKey) {
    console.log(`  ${c.gree
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 94.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/bin/cli.js>)

The CLI defaults to api.vokes.in but accepts a caller-selected gateway URL, then writes the provider and authentication settings to the Codex config.

Public source snippet (untrusted):

```javascript
lines: [
      `[model_providers.${provider}]`,
      `name = ${JSON.stringify(providerName)}`,
      `base_url = ${JSON.stringify(baseUrl)}`,
      `wire_api = ${JSON.stringify(wireApi)}`
    ]
  };

  const authArgsFormatted = JSON.st
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 94.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/chatgpt-desktop-setup@1.0.1/bin/cli.js>)

The key is supplied as the configured provider's auth command argument; the observed code does not send it through a network request.

Public source snippet (untrusted):

```javascript
const authCommand = winPlatform ? 'powershell' : 'echo';
  let authArgs;
  if (winPlatform) {
    const escapedKey = apiKey.replace(/'/g, "''");
    authArgs = ['-NoProfile', '-Command', `Write-Output '${escapedKey}'`];
  } else {
    authArgs = [apiKey];
  }

  const providerSection = {
    header: `model_providers.${provider}`,
    lines: [
      `[model_providers.${provider}]`,
      `name =
```

## 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:** chatgpt-desktop-setup
- **Ecosystem:** npm
- **Version:** 1.0.1
- **License:** MIT
- **Version published:** 2026-10-14T09:26:25.965Z
- **Package first seen:** 2026-10-19T21:48:45.894Z
- **Package last seen:** 2026-10-29T22:50:07.127Z
- **Known versions:** 6
- **Latest version:** 0.0.1-security
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/chatgpt-desktop-setup/v/1.0.1>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-18056>)
- [ADVISORY](<https://github.com/advisories/GHSA-pgq5-xq28-533m>)
- [PACKAGE](<https://www.npmjs.com/package/chatgpt-desktop-setup/v/1.0.2>)
- [PACKAGE](<https://www.npmjs.com/package/chatgpt-desktop-setup/v/1.0.3>)
- [PACKAGE](<https://www.npmjs.com/package/chatgpt-desktop-setup/v/1.0.1>)
- [PACKAGE](<https://www.npmjs.com/package/chatgpt-desktop-setup/v/1.0.0>)
