Loading npm security reports…
Loading npm security reports…
@mindexec/cli: Remote code execution – 0.2.478 blocked | LPM Firewall
npm / Remote code execution / @mindexec/cli MindExec local runtime and bridge CLI
This report shows the evidence for @mindexec/cli@0.2.478 . 1 of 38 known versions is blocked or flagged. The newest version, 0.2.521, is flagged.
Blocked & quarantined
A remote web origin can execute commands in the bridge workspace with the user's privileges.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Sep 19, 2026, 23:18 UTC · by lpm-firewall-ai The remote-origin allowlist, token disclosure, and shell sink form a complete command-execution chain. The absence of an install hook does not remove the runtime backdoor.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A user starts the CLI or desktop bridge and visits content served from an allowed mindexec.pages.dev subdomain.
Mechanism
CORS-exposed bearer token enables shell-command requests to the local bridge.
Attack narrative
The server listens locally but deliberately accepts CORS requests from mindexec.pages.dev subdomains. Its public status response includes the bridge token. The same token protects the shell endpoint, so JavaScript served from an allowed remote origin can obtain the token and submit a command to the local bridge. This establishes a remote command-execution path after the user runs the package.
public snapshot
Evidence for block
The bridge permits any mindexec.pages.dev subdomain to make cross-origin requests to its loopback service. Its unauthenticated status endpoint returns the bridge bearer token. That token authorizes a shell-execution API, creating remote command execution for an allowed package-controlled web origin. Evidence against
package.json defines CLI entrypoints and no automatic npm lifecycle hook. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 104 files · 6.30 MB of source
18 external domains referenced
127.0.0.1 aka.ms api.duckduckgo.com cdn.jsdelivr.net dotnet.generated.invalid duckduckgo.com github.com html.duckduckgo.com mindexec.lovecrdm.workers.dev mindexec.pages.dev mindexecution.pages.dev news.google.com search.brave.com updates.example www.bing.com www.googleapis.com www.w3.org www.youtube.com Findings1 critical · 8 high · 8 medium · 6 low Source & flagged code16 flagged Code excerpt · 3 lines 12 import path from 'path' ;
13 import { exec, spawn, spawnSync, execFile } from 'child_process' ;
14 import { promisify } from 'util' ;
Code excerpt · 2 lines 31 const execAsync = promisify (exec);
32 const execFileAsync = promisify (execFile);
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
server.js View on unpkg · L12 Code excerpt · 12 lines 12 import path from 'path' ;
13 import { exec, spawn, spawnSync, execFile } from 'child_process' ;
14 import { promisify } from 'util' ;
⋯
18 import sharp from 'sharp' ;
19 import { createServer } from 'http' ;
20 import { WebSocket, WebSocketServer } from 'ws' ;
⋯
36 const app = express ();
37 const PORT = (process.env.BRIDGE_PORT);
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
server.js View on unpkg · L12 Code excerpt · 12 lines Cross-file remote execution chain: server.js spawns wwwroot/_framework/blazor.webassembly.js; helper contains network access plus dynamic code execution.
12 import path from 'path' ;
13 import { exec, spawn, spawnSync, execFile } from 'child_process' ;
14 import { promisify } from 'util' ;
⋯
18 import sharp from 'sharp' ;
19 import { createServer } from 'http' ;
20 import { WebSocket, WebSocketServer } from 'ws' ;
⋯
36 const app = express ();
wwwroot/_framework/dotnet.runtime.opaiwunc3t.js View file Low Eval
Package source references a known benign dynamic code generation pattern.
wwwroot/_framework/dotnet.runtime.opaiwunc3t.js View on unpkg · L2 Code excerpt · 3 lines 2 //! The .NET Foundation licenses this file to you under the MIT license.
3 var e="9.0.17" ,t="Release" ,n=!1 ;const r=[[!0 ,"mono_wasm_register_root" ,"number" ,["number" ,"number" ,"string" ]],[!0 ,"mono_wasm_deregister_root" ,null ,["number" ]],[!0 ,"mono_wasm_string...
4 //# sourceMappingURL=dotnet.runtime.js.map
wwwroot/_framework/dotnet.native.566r55w3xu.js View file Medium Dynamic require
Package source references dynamic require/import behavior.
wwwroot/_framework/dotnet.native.566r55w3xu.js View on unpkg · L7 Code excerpt · 2 lines 8 var Module=moduleArg;var readyPromiseResolve,readyPromiseReject;Module["ready" ]=new Promise ((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});if (_nativeMod...
9
scripts/remote-fleet-render-smoke.mjs View file Medium Unsafe vm context
Package source executes code through a VM context API.
scripts/remote-fleet-render-smoke.mjs View on unpkg · L9 Code excerpt · 11 lines 10 const SYNTHETIC_COUNT = Number (process.env.REMOTE_FLEET_RENDER_SMOKE_COUNT || 500 );
11
⋯
436 async function loadCss3DManager () {
437 const __dirname = path.dirname (fileURLToPath (import .meta.url));
438 const hotPathModulePath = path.resolve (__dirname, '../../MindExecution.Shared/wwwroot/js/mind-map-css3d-hotpath.js' );
⋯
447 const runtimeTrace = [];
Low Weak crypto
Package source references weak cryptographic algorithms.
remote-hub.js View on unpkg · L1 Code excerpt · 12 lines 1 import net from 'net' ;
2 import os from 'os' ;
⋯
9 const MAX_LINE_CHARS = 4 * 1024 * 1024 ;
10 const MAX_THUMBNAIL_BASE64_CHARS = 3 * 1024 * 1024 ;
11 const MAX_STREAM_BASE64_CHARS = 3 * 1024 * 1024 ;
⋯
140 const DUPLICATE_DEVICE_RETRY_AFTER_MS = ;
scripts/remote-fast-mdm-browser-smoke.mjs View file High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/remote-fast-mdm-browser-smoke.mjs View on unpkg · L3 Code excerpt · 8 lines 3 import assert from 'node:assert/strict' ;
4 import { spawn } from 'node:child_process' ;
5 import { mkdtemp, rm } from 'node:fs/promises' ;
6 import net from 'node:net' ;
7 import os from 'node:os' ;
⋯
14 const LOCAL_BRIDGE_DIR = path.resolve (path. ( ( .meta.url)), );
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
electron/main.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @mindexec/cli@0.2.521
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.521
similarity = 0.752
summary = stored previous version shares package body but lacks this dangerous source file
High Spawned bundled service listener
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
electron/main.cjs View on unpkg · L3 Code excerpt · 13 lines Detached bundled service listener: electron/main.cjs spawns server.js; helper exposes a broad-bound HTTP listener.
3 const { app, BrowserWindow, dialog, ipcMain } = require ('electron' );
4
wwwroot/_framework/MindExecution.Plugins.Business.7m8u1q142p.dll View file Medium Ships native binary
Package ships native binary artifacts.
wwwroot/_framework/MindExecution.Plugins.Business.7m8u1q142p.dll View on unpkg Scanner record · 4 lines path = wwwroot/_framework/MindExecution.Plugins.Business.7m8u1q142p.dll
kind = native_binary
sizeBytes = 675328
magicHex = [redacted]
wwwroot/_framework/dotnet.native.x6q5aixc38.wasm View file Medium Ships WASM module
Package ships WebAssembly modules.
wwwroot/_framework/dotnet.native.x6q5aixc38.wasm View on unpkg Scanner record · 4 lines path = wwwroot/_framework/dotnet.native.x6q5aixc38.wasm
kind = wasm_module
sizeBytes = 3701624
magicHex = [redacted]
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
start-bridge.bat View on unpkg Scanner record · 4 lines path = start-bridge.bat
kind = build_helper
sizeBytes = 590
magicHex = [redacted]
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
codex-runtime.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 7
wwwroot/_content/MindExecution.Shared/js/marked.min.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
wwwroot/_content/MindExecution.Shared/js/marked.min.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @jacebenson/jsn@3.3.1
matchedPath = [redacted].min.js
matchedIdentity = npm:QGphY2ViZW5zb24vanNu:3.3.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Versions38 known versions Version Verdict Type Firewall Report Released
0.2.521 latest Suspicious Remote code execution Warn Published Sep 1, 2026 0.2.517 Suspicious Staged payload carrier Warn Published Sep 1, 2026 0.2.516 Suspicious Remote code execution Warn Published Sep 1, 2026 0.2.515 Suspicious Remote code execution Warn Published Sep 1, 2026 0.2.514 Suspicious AI-agent capability abuse Warn Published Sep 1, 2026 0.2.506 Suspicious Remote code execution Warn Published Aug 31, 2026 0.2.505 Suspicious Remote code execution Warn Published Aug 31, 2026 0.2.503 Suspicious AI-agent capability abuse Warn Published Aug 30, 2026 0.2.483 Suspicious Remote code execution Warn Published Aug 24, 2026 0.2.482 Suspicious Remote code execution Warn Published Aug 23, 2026 0.2.480 Clean — Allow Published Aug 23, 2026 0.2.479 Suspicious AI-agent capability abuse Warn Published Aug 23, 2026 0.2.478 Malicious Remote code execution Block Published Aug 23, 2026 0.2.477 Suspicious Remote code execution Warn Published Aug 22, 2026 0.2.476 Suspicious Remote code execution Warn Published Aug 22, 2026 0.2.475 Suspicious AI-agent capability abuse Warn Published Aug 22, 2026 0.2.474 Suspicious Remote code execution Warn Published Aug 21, 2026 0.2.473 Suspicious Credential exfiltration Warn Published Aug 21, 2026 0.2.471 Suspicious Remote code execution Warn Published Aug 19, 2026 0.2.469 Clean — Allow Published Aug 19, 2026 0.2.468 Suspicious AI-agent capability abuse Warn Published Aug 19, 2026 0.2.467 Suspicious AI-agent capability abuse Warn Published Aug 19, 2026 0.2.466 Suspicious Remote code execution Warn Published Aug 19, 2026 0.2.465 Suspicious Remote code execution Warn Published Aug 17, 2026 0.2.460 Suspicious Remote code execution Warn Published Aug 15, 2026 0.2.459 Clean — Allow Published Aug 15, 2026 0.2.458 Suspicious AI-agent capability abuse Warn Published Aug 5, 2026 0.2.449 Suspicious AI-agent capability abuse Warn Published Jul 25, 2026 0.2.441 Suspicious — Warn Published Jul 13, 2026 0.2.440 Clean — Allow Published Jul 13, 2026 0.2.439 Clean — Allow Published Jul 13, 2026 0.2.438 Clean — Allow Published Jul 13, 2026 0.2.437 Clean — Allow Published Jul 12, 2026 0.2.436 Clean — Allow Published Jul 12, 2026 0.2.435 Suspicious AI-agent capability abuse Warn Published Jul 12, 2026 0.2.432 Suspicious AI-agent capability abuse Warn Published Jul 12, 2026 0.2.431 Suspicious — Warn Published Jul 12, 2026 0.2.430 Suspicious AI-agent capability abuse Warn Published Jul 11, 2026 Show 27 more versions Show fewer versions
Semantic analysis limited
Code↓
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
wwwroot/_framework/dotnet.runtime.opaiwunc3t.js1 finding
Low Eval Code↓ normalizePort
38 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
39 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
40 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
50 const VERBOSE_REMOTE_AGENT_LOGS = /^(1 |true |yes|on)$/i.test (String (process.env.MINDEXEC_VERBOSE_REMOTE_AGENT || process.env.BRIDGE_VERBOSE_REMOTE_AGENT || '
37 const PORT = normalizePort (process.env.BRIDGE_PORT);
38 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
39 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
40 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
448
const webSocketConnections = [];
449 const webSocketSends = [];
30000
141 const SYNTHETIC_FRAME_DATA_URL = 'data:image/png;base64,[redacted]' ;
142 const SYNTHETIC_FRAME_PAYLOAD = Buffer.from (SYNTHETIC_FRAME_DATA_URL.split (',' )[1 ], 'base64' );
323 function isPrivateIPv4 (value) {
324 const parts = String (value || '' ).split ('.' ).map (part => Number (part));
397 const candidates = [];
dirname
fileURLToPath
import
'..'
15 const REQUESTED_FPS = Number (process.env.MINDEXEC_REMOTE_MDM_BROWSER_REQUEST_FPS || 12 );
16 const SAMPLE_MS = Number (process.env.MINDEXEC_REMOTE_MDM_BROWSER_SAMPLE_MS || 1500 );
const { spawn } = require ('child_process' );
5 const fs = require ('fs' );
6 const http = require ('http' );
7 const net = require ('net' );
27 let isQuitting = false ;
28 let requestedExitCode = 0 ;
29 let activeBridgePort = DEFAULT_BRIDGE_PORT;
39 function resolveDesktopIconPath () {
40 const iconPath = path.resolve (__dirname, '..' , 'wwwroot' , 'icon-512.png' );
41 return fs.existsSync (iconPath) ? iconPath : undefined ;
45 if (!app.isPackaged) return 'development' ;