Loading npm security reports…
Loading npm security reports…
@mindexec/cli@0.2.441: npm security report – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 32 findings warrant review before installing.
AI security reviewscanned on Nov 8, 2026, 13:26 UTC · by lpm-firewall-ai The implementation’s default broad bind contradicts the stated loopback-only default, creating an unintended network exposure when users start the bridge. Pair-token authentication limits access, so this is a warning-level capability risk rather than clear malicious behavior.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Starting the CLI bridge starts RemoteHub automatically.
Impact
The listener is reachable from other network interfaces by default, contrary to the documented opt-in LAN behavior; token validation reduces but does not remove the exposure.
Mechanism
RemoteHub listens on 0.0.0.0:5197 unless REMOTE_HUB_HOST is set. Its agent handshake requires a pair token.
Evidence
remote-hub.js server.js README.md
Network endpoints2
0.0.0.0:5197 127.0.0.1:5147
public snapshot
Evidence for warning
RemoteHub is enabled by default and defaults to host 0.0.0.0; it listens on that host and port 5197. The README says RemoteHub binds to loopback by default and that LAN binding requires explicit configuration, which conflicts with the source defaults. The server starts RemoteHub automatically when the bridge starts; the separate HTTP API binds to 127.0.0.1. RemoteHub requires a valid pair token before accepting an agent connection, which limits unauthenticated access. The manifest starts the bridge through the CLI and lists no install lifecycle hook. Evidence against
The broad listener is part of the package’s documented remote-agent feature, and its socket handshake checks a pair token. The main bridge HTTP server binds to loopback, and the pair token is generated or configured by the user’s local installation. 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 70 files · 5.96 MB of source
16 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.pages.dev mindexecution.pages.dev news.google.com search.brave.com www.bing.com www.googleapis.com www.w3.org www.youtube.com Findings2 critical · 19 high · 7 medium · 4 low Source & flagged code25 flagged Critical Same file environment network execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
server.js View on unpkg · L18 Code excerpt · 9 lines 18 import sharp from 'sharp' ;
19 import { createServer } from 'http' ;
20 import { WebSocket, WebSocketServer } from 'ws' ;
⋯
28
29 const execAsync = promisify (exec);
30 const execFileAsync = promisify (execFile);
⋯
33 const app = express ();
34 const PORT = normalizePort (process.env.BRIDGE_PORT);
35 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
server.js View on unpkg · L12 Code excerpt · 12 lines Trigger-reachable chain: manifest.main -> server.js
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' ;
⋯
33 const app = express ();
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 29 const execAsync = promisify (exec);
30 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' ;
⋯
33 const app = express ();
34 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' ;
⋯
33 const app = express ();
wwwroot/_framework/dotnet.runtime.opaiwunc3t.js View file High Eval
Package source references dynamic code evaluation.
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 High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
wwwroot/_framework/dotnet.native.566r55w3xu.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = wwwroot/_framework/dotnet.native.566r55w3xu.js
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
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" ]= ((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject}); (_nativeMod...
High Spawned bundled service listener
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
launch-bridge.cjs View on unpkg · L4 Code excerpt · 13 lines Detached bundled service listener: launch-bridge.cjs spawns server.js; helper exposes a broad-bound HTTP listener.
4 const fs = require ('fs' );
5 const { spawn } = require ('child_process' );
6 const packageInfo = require ('./package.json' );
7 const { normalizePort, releaseBridgePort } = require ('./port-guard.cjs' );
8
9 const bridgeRoot = __dirname;
10 const serverPath = path.resolve (bridgeRoot, );
wwwroot/_framework/Microsoft.AspNetCore.Authorization.htf46vkphd.dll View file Medium Ships native binary
Package ships native binary artifacts.
wwwroot/_framework/Microsoft.AspNetCore.Authorization.htf46vkphd.dll View on unpkg Scanner record · 4 lines path = wwwroot/_framework/Microsoft.AspNetCore.Authorization.htf46vkphd.dll
kind = native_binary
sizeBytes = 26624
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 = 558
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 = 2
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
port-guard.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = port-guard.cjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/auth-session-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/auth-session-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-agent-managed-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-agent-managed-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-agent-managed-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-http-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-http-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-registry-follower-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-registry-follower-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-registry-follower-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-agent-package-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-agent-package-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-agent-package-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-fast-mdm-browser-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-fast-mdm-browser-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-fast-mdm-browser-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-fleet-render-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-fleet-render-smoke.mjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-fleet-render-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-frame-ws-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-frame-ws-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
scripts/remote-hub-identity-smoke.mjs View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/remote-hub-identity-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-hub-identity-smoke.mjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source
↓
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
34
const PORT = normalizePort (process.env.BRIDGE_PORT);
35 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
36 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
37 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
47 const VERBOSE_REMOTE_AGENT_LOGS = /^(1 |true |yes|on)$/i.test (String (process.env.MINDEXEC_VERBOSE_REMOTE_A
normalizePort
35 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
36 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
37 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
47 const VERBOSE_REMOTE_AGENT_LOGS = /^(1 |true |yes|on)$/i.test (String (process.env.MINDEXEC_VERBOSE_REMOTE_AGENT || process.env.BRIDGE_VERBOSE_REMOTE_AGENT || '
34 const PORT = normalizePort (process.env.BRIDGE_PORT);
35 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
36 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
37 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
new
Promise
if
'server.js'
11 const inheritedWorkspacePath = String (process.env.WORKSPACE_PATH || '' ).trim ();
12 const rawArgs = process.argv.slice (2 );
18 const appUrl = `http://localhost:${normalizePort(process.env.BRIDGE_PORT)}/mindcanvas` ;
19 const statusUrl = `http://127.0.0.1:${normalizePort(process.env.BRIDGE_PORT)}/api/status` ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
launch-bridge.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = launch-bridge.cjs
matchedIdentity = npm:QG1pbmRleGVjL2NsaQ:0.2.478
similarity = 1.000
summary = normalized source hash matched finalized malicious source