---
canonical: "https://firewall.lpm.dev/npm/claudish/v/12.0.0"
markdown: "https://firewall.lpm.dev/npm/claudish/v/12.0.0.md"
package: "claudish"
report_status: "published"
title: "claudish@12.0.0 npm security report"
verdict: "clean"
version: "12.0.0"
---

# claudish@12.0.0 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
**Allowed — no malicious behavior detected** — 21 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 12.0.0
- **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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The manifest has no npm install lifecycle hook, and the launcher passes arguments to the bundled CLI. The flagged credential use is a Codex quota request to ChatGPT’s Codex endpoint, so the inspected source does not establish malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-10-20T06:39:31.977Z
- **Finished:** 2026-10-20T06:40:23.004Z
- **Download time:** 1545 ms
- **Static scan time:** 8627 ms
- **AI review time:** 40854 ms
- **Total time:** 51027 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 in the inspected source. The Codex quota probe uses saved Codex credentials with the matching ChatGPT Codex endpoint.

- **Trigger:** Running the CLI and invoking the Codex quota probe.

- **Impact:** The inspected behavior supports quota lookup and does not establish credential disclosure to an unrelated recipient or another attack.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-20T06:40:23.004Z

### AI review details

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

- **Mechanism:** The probe reads the local Codex model cache and credentials, then sends an authenticated request to ChatGPT’s Codex endpoint.

- **Rationale:** The manifest has no npm install lifecycle hook, and the launcher passes arguments to the bundled CLI. The flagged credential use is a Codex quota request to ChatGPT’s Codex endpoint, so the inspected source does not establish malicious behavior.

- **Files touched:** package.json, bin/claudish.cjs, dist/index.js

- **Network endpoints:** https://chatgpt.com/backend-api/codex/responses

### Review decision

- **Verdict:** Clean

- **Confidence:** 91.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** package.json exposes a CLI and lists development and build scripts, with no install lifecycle script., The launcher starts the bundled CLI and forwards its arguments to Bun., The flagged Codex location reads a local model cache to select a probe model., The Codex quota probe sends the saved access token to ChatGPT’s Codex endpoint and requests quota-related response headers., The Codex quota adapter is registered among the package’s provider adapters.

## Affected versions and remediation

This report applies to claudish@12.0.0.

- No action is needed for claudish@12.0.0. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/claudish.cjs
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/bin/claudish.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L6: //
L7: // ── Why this is spawn() and not spawnSync() ──────────────────────────────────
L8: //
```

### 3. High: Shell (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/claudish.cjs
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/bin/claudish.cjs>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L42: *
L43: * `which` does not exist in cmd or PowerShell — it throws "'which' is not
L44: * recognized...", so Windows fell straight through to a list of POSIX-only
```

### 4. High: Eval (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L2085: exports.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
L2086: const ret = new Function(getStringFromWasm0(arg0, arg1));
L2087: return ret;
```

### 5. Medium: Dynamic Require (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/claudish.cjs
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/bin/claudish.cjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L36: 
L37: const { execFileSync, execSync, spawn } = require("node:child_process");
L38: const { resolve } = require("node:path");
```

### 6. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 7. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 8. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/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
L68985: throw new Error(`invalid_args: ${flagCheck.message}`);
L68986: const path = resolve4(sessionPath);
L68987: const manifest = JSON.parse(readFileSync31(join49(path, "manifest.json"), "utf-8"));
...
L68994: assertNoActiveRun(path);
L68995: const parentEnv = opts.parentEnv ?? process.env;
L68996: const kind = opts.kind ?? "run";
L68997: const spawnPlan = await (opts.spawnPlanner ?? prehydrateCredentialsForSpawn)(Object.values(manifest.models).map((m) => m.model));
L68998: await assertMagmuxAvailable();
```

### 10. Critical: Credential Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L114: }
L115: function inMcpSession(env = process.env) {
L116: return env[ENV.CLAUDISH_PANE_CHILD] === "1";
...
L129: return;
L130: process.stderr.write(`claudish: nested session refused: ${reason}
L131: `);
...
L139: try {
L140: parsed = JSON.parse(raw);
L141: } catch {
...
L239: processCwdOps = {
L240: cwd: () => process.cwd(),
L241: realpath: (path) => realpathSync(path),
```

### 11. High: Credential Redirect Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
import { existsSync, readFileSync, writeFileSync } from "fs";
writeFileSync(path, `${JSON.stringify(cfg, null, 2)}
import { appendFile, existsSync as existsSync2, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "fs";
writeFileSync2(logFilePath, logBuffer.join(""), { flag: "a" });
writeFileSync2(alwaysOnLogPath, alwaysOnBuffer.join(""), { flag: "a" });
writeFileSync2(alwaysOnLogPath, `Claudish Session Log - ${new Date().toISOString()}
writeFileSync2(logFilePath, `Claudish Debug Log - ${new Date().toISOString()}
import { appendFileSync, mkdirSync as mkdirSync2, readFileSync as readFileSync2, writ
```

### 12. High: Sandbox Evasion Gated Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** bin/claudish.cjs
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/bin/claudish.cjs>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L6: //
L7: // ── Why this is spawn() and not spawnSync() ──────────────────────────────────
L8: //
...
L16: //   · `stdio: "inherit"` gives the Bun child THIS process's fd 0/1/2. When a
L17: //     caller pipes our stdout, the Bun child holds the write end of that pipe.
L18: //   · So SIGTERM killed only this launcher. The Bun child was ORPHANED, not
...
L69: ? 'powershell -c "irm bun.sh/install.ps1 | iex"'
L70: : "curl -fsSL https://bun.sh/install | bash";
L71: }
L72: 
L73: function findBun(platform = process.platform, env = process.env) {
L74: try {
```

### 13. Critical: Encrypted Payload Temp Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

Source decrypts an embedded payload, writes it to disk, and executes it through a child process.

Public source snippet (untrusted):

```javascript
L114: }
L115: function inMcpSession(env = process.env) {
L116: return env[ENV.CLAUDISH_PANE_CHILD] === "1";
...
L129: return;
L130: process.stderr.write(`claudish: nested session refused: ${reason}
L131: `);
...
L139: try {
L140: parsed = JSON.parse(raw);
L141: } catch {
...
L239: processCwdOps = {
L240: cwd: () => process.cwd(),
L241: realpath: (path) => realpathSync(path),
```

### 14. Critical: Remote Response Code Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 98.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

Source passes code obtained from a remote response into a dynamic execution sink.

Public source snippet (untrusted):

```javascript
L114: }
L115: function inMcpSession(env = process.env) {
L116: return env[ENV.CLAUDISH_PANE_CHILD] === "1";
...
L129: return;
L130: process.stderr.write(`claudish: nested session refused: ${reason}
L131: `);
...
L139: try {
L140: parsed = JSON.parse(raw);
L141: } catch {
...
L239: processCwdOps = {
L240: cwd: () => process.cwd(),
L241: realpath: (path) => realpathSync(path),
```

### 15. Critical: Trigger Reachable Dangerous Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.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 -> dist/index.js
L114: }
L115: function inMcpSession(env = process.env) {
L116: return env[ENV.CLAUDISH_PANE_CHILD] === "1";
...
L129: return;
L130: process.stderr.write(`claudish: nested session refused: ${reason}
L131: `);
...
L139: try {
L140: parsed = JSON.parse(raw);
L141: } catch {
...
L239: processCwdOps = {
L240: cwd: () => process.cwd(),
L241: realpath: (path) => realpathSync(path),
```

### 16. High: Trigger Reachable Credential Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.js
L114: }
L115: function inMcpSession(env = process.env) {
L116: return env[ENV.CLAUDISH_PANE_CHILD] === "1";
...
L129: return;
L130: process.stderr.write(`claudish: nested session refused: ${reason}
L131: `);
...
L139: try {
L140: parsed = JSON.parse(raw);
L141: } catch {
...
L239: processCwdOps = {
L240: cwd: () => process.cwd(),
L241: realpath: (path) => realpathSync(path),
```

### 17. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 18. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 19. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

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

### 20. Medium: Wildcard Dependency (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

### 21. High: Semantic Analysis Limited (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/claudish@12.0.0/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 1
```

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

- **Dependencies:** 9
- **Optional dependencies:** 4
- **Peer dependencies:** 0
- **Development dependencies:** 5
- **Published dependency-graph edges:** 13

### Published dependency entries
- @1password/sdk 0.4.1-beta.1 (Dependency)
- @inquirer/prompts ^8.0.1 (Dependency)
- @inquirer/search ^4.0.1 (Dependency)
- @modelcontextprotocol/sdk ^1.27.0 (Dependency)
- @opentui/core ^0.1.107 (Dependency)
- @opentui/react ^0.1.107 (Dependency)
- dotenv ^17.2.3 (Dependency)
- react ^19.2.4 (Dependency)
- zod ^4.1.13 (Dependency)
- @claudish/magmux-darwin-arm64 12.0.0 (OptionalDependency)
- @claudish/magmux-darwin-x64 12.0.0 (OptionalDependency)
- @claudish/magmux-linux-arm64 12.0.0 (OptionalDependency)
- @claudish/magmux-linux-x64 12.0.0 (OptionalDependency)

## Package metadata
- **Package:** claudish
- **Ecosystem:** npm
- **Version:** 12.0.0
- **License:** MIT
- **Version published:** 2026-10-20T06:36:26.715Z
- **Package first seen:** 2026-08-05T09:34:43.830Z
- **Package last seen:** 2026-11-22T13:52:59.161Z
- **Known versions:** 116
- **Latest version:** 14.28.3
- **Appeal under review:** No
- **Description:** Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models
- **Author:** Jack Rudenko
- **Maintainers:** jackrudenko
- **Keywords:** claude, claude-code, openrouter, proxy, cli, mcp, model-context-protocol, ai
- **Runtime engines:** bun: \>=1.0.0, node: \>=18.0.0
- **Artifact files:** 5
- **Artifact unpacked size:** 3,143,848 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/claudish/v/12.0.0>)
- [Repository](<https://github.com/MadAppGang/claudish>)
- [Homepage](<https://github.com/MadAppGang/claudish#readme>)
- [Issues](<https://github.com/MadAppGang/claudish/issues>)
