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

# dsh-montagex@0.2.9 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 18 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 0.2.9
- **Selected version is latest:** Yes
- **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 automatically falls back to OPENAI\_API\_KEY for operations whose default endpoints include other AI providers, contrary to its documented provider-specific key mapping. This is a credential-handling risk reached through feature requests, so it warrants a warning rather than a malicious block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 89.0%
- **Started:** 2026-11-19T04:35:14.727Z
- **Finished:** 2026-11-19T04:36:41.146Z
- **Download time:** 1032 ms
- **Static scan time:** 19389 ms
- **AI review time:** 65997 ms
- **Total time:** 86419 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:** A provider operation can use OPENAI\_API\_KEY with a different provider's configured endpoint.

- **Trigger:** When the user invokes a vision, image, video, or audio provider operation and no higher-priority key is configured.

- **Impact:** An OpenAI credential may be disclosed to another AI provider, exposing the key to that provider and risking unauthorized use.

- **Evidence paths:** lib/index.js, docs/architecture.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-19T04:36:41.146Z

### AI review details

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

- **Mechanism:** The shared resolver falls back to OPENAI\_API\_KEY, then the provider request sends that value as a bearer token to the configured base URL. Defaults include api.deepseek.com and api.modelverse.cn.

- **Rationale:** The package automatically falls back to OPENAI\_API\_KEY for operations whose default endpoints include other AI providers, contrary to its documented provider-specific key mapping. This is a credential-handling risk reached through feature requests, so it warrants a warning rather than a malicious block.

- **Files touched:** lib/index.js, docs/architecture.md, package.json

- **Network endpoints:** https://api.deepseek.com, https://api.modelverse.cn/v1

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 89.0%

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

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Medium

- **Evidence for warning:** The default vision provider uses api.deepseek.com; image and video defaults use api.modelverse.cn., The key resolver automatically checks OPENAI\_API\_KEY after provider-specific environment variables., Provider requests send the resolved key in an Authorization bearer header., The architecture documentation maps OPENAI\_API\_KEY to openai-chat and DEEPSEEK\_API\_KEY to deepseek-chat.

- **Evidence against:** The key is used by provider-operation functions for the package's image, video, audio, and vision features., The manifest has no install, preinstall, or postinstall lifecycle script., No evidence found that the key is sent to an unrelated collector.

## Affected versions and remediation

This report applies to dsh-montagex@0.2.9.

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

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L3284: // src/providers/grade.ts
L3285: import { spawnSync } from "node:child_process";
L3286: import { existsSync as existsSync2 } from "node:fs";
```

### 3. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** lib/stage/app.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/stage/app.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L6433: try {
L6434: e = new Function("ctx", `"use strict";
L6435: ${o}
```

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** lib/client.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/client.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L8: var __hasOwnProp = Object.prototype.hasOwnProperty;
L9: var __commonJS = (cb, mod) => function __require() {
L10: return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
```

### 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: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** lib/index.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/index.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: lib/index.js spawns lib/vendor/ort-wasm-simd-threaded.jsep.mjs; helper contains network access plus dynamic code execution.
L27: mode: z.union(modes).default(mode).description("Protocol used to reach the provider."),
L28: baseURL: z.string().default(baseURL).description("Base URL, e.g. https://api.openai.com/v1/"),
L29: apiKey: z.string().role("secret").default("").description("API key; empty means local endpoint or env fallback."),
...
L222: if (!source.startsWith("---")) {
L223: return { frontmatter: { type: "" }, body: source };
L224: }
...
L575: id = "montagex-bundled-okf";
L576: root = resolve(process.cwd(), "knowledge");
L577: inventoryPath = join(this.root, "_meta", "inventory.json");
...
L596: const raw = await readFile(this.inventoryPath, "utf8")
```

### 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: Ships Wasm Module
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** lib/edit/assets/fft-\_Y3kmDnt.wasm
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/edit/assets/fft-_Y3kmDnt.wasm>)

Package ships WebAssembly modules.

Public source snippet (untrusted):

```text
path = lib/edit/assets/fft-_Y3kmDnt.wasm
kind = wasm_module
sizeBytes = 8359
magicHex = [redacted]
```

### 12. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** lib/stage/vcam/vcam\_launcher.py
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/stage/vcam/vcam_launcher.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = lib/stage/vcam/vcam_launcher.py
kind = build_helper
sizeBytes = 9768
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.

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

Package manifest does not declare a clear license.

### 15. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** assets/stage/host/dsh-host.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/assets/stage/host/dsh-host.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_parse_error; limitedFiles = 9
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/testing.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/testing.js>)

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 = dsh-montagex@0.2.0
matchedPath = lib/testing.js
matchedIdentity = npm:ZHNoLW1vbnRhZ2V4:0.2.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/index.js
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/index.js>)

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 = dsh-montagex@0.2.0
matchedPath = lib/index.js
matchedIdentity = npm:ZHNoLW1vbnRhZ2V4:0.2.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/vendor/ort-wasm-simd-threaded.jsep.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-montagex@0.2.9/lib/vendor/ort-wasm-simd-threaded.jsep.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 = dsh-montagex@0.2.0
matchedPath = lib/vendor/ort-wasm-simd-threaded.jsep.mjs
matchedIdentity = npm:ZHNoLW1vbnRhZ2V4:0.2.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

- **Dependencies:** 7
- **Optional dependencies:** 0
- **Peer dependencies:** 5
- **Development dependencies:** 10
- **Published dependency-graph edges:** 12

### Published dependency entries
- @webav/av-cliper ^1.2.8 (Dependency)
- @xyflow/react ^12.11.3 (Dependency)
- cmdk ^1.1.1 (Dependency)
- nanoid ^6.0.1 (Dependency)
- three ^0.185.1 (Dependency)
- tui-image-editor ^3.15.3 (Dependency)
- wavesurfer.js ^7.12.11 (Dependency)
- @deepseek-ai/cordis ^4.1.0 (PeerDependency)
- @deepseek-ai/dsh-skill \* (PeerDependency)
- @deepseek-ai/dsh-system-prompt \* (PeerDependency)
- @deepseek-ai/dsh-tools ^0.2.2-rc.5 (PeerDependency)
- @deepseek-ai/schemastery ^3.19.0 (PeerDependency)

## Package metadata
- **Package:** dsh-montagex
- **Ecosystem:** npm
- **Version:** 0.2.9
- **License:** SEE LICENSE IN NOTICE
- **Version published:** 2026-11-19T04:32:19.695Z
- **Package first seen:** 2026-11-13T05:46:54.852Z
- **Package last seen:** 2026-11-19T04:36:41.146Z
- **Known versions:** 8
- **Latest version:** 0.2.9
- **Appeal under review:** No
- **Description:** MontageX: a full-pipeline AI video production harness for DeepSeek Harness — brief triage, shot planning, storyboard, image/video/audio generation, an infinite shot canvas, and local ffmpeg editing, grading, subtitles and QC, plus team collaboration. Mont
- **Maintainers:** royrao
- **Keywords:** deepseek-harness, deepseek-harness-video-agent, ai-video-agent-harness, dsh-plugin, ai-video, ai-video-generator, text-to-video, image-to-video, video-agent, video-editing, storyboard-canvas, montagex
- **Runtime engines:** dsh: \>=0.2.2-rc.5 \<0.3.0-0, node: \>=24.9.0
- **Artifact files:** 803
- **Artifact unpacked size:** 65,946,454 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dsh-montagex/v/0.2.9>)
