Loading npm security reports…
Loading npm security reports…
@mindexec/cli@0.2.449: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Nov 9, 2026, 04:24 UTC · by lpm-firewall-ai The default RemoteHub bind address contradicts the documented loopback-only default and unnecessarily exposes the remote-agent interface to the network. The pairing-token check reduces the risk, and the source does not establish malicious behavior, so this warrants a warning rather than a block.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Starting the CLI server starts RemoteHub automatically.
Impact
The listener exposes the remote-agent connection surface to the local network by default, increasing exposure beyond the documented configuration; the pairing token limits access.
Mechanism
RemoteHub listens on 0.0.0.0:5198 and accepts agent connections after a pairing-token handshake.
Evidence
remote-hub.js server.js README.md
public snapshot
Evidence for warning
RemoteHub defaults to binding 0.0.0.0 on port 5198, making its listener reachable on network interfaces. The normal server startup path starts RemoteHub automatically. The README says RemoteHub binds to loopback by default and documents 0.0.0.0 as an explicit LAN-mode setting. Agent connections must present a pairing token; the server generates an 18-byte random token by default and compares it during the handshake. Evidence against
The HTTP bridge itself listens only on 127.0.0.1. The RemoteHub handshake rejects connections with an invalid pairing token. The package provides a direct remote-agent feature, which explains why it includes a network listener. 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 84 files · 6.09 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 · L19 Code excerpt · 9 lines 19 import { createServer } from 'http' ;
20 import { WebSocket, WebSocketServer } from 'ws' ;
21 import chokidar from 'chokidar' ;
⋯
29
30 const execAsync = promisify (exec);
31 const execFileAsync = promisify (execFile);
⋯
34 const app = express ();
35 const PORT = normalizePort (process.env.BRIDGE_PORT);
36 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' ;
⋯
34 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 30 const execAsync = promisify (exec);
31 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' ;
⋯
34 const app = express ();
35 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' ;
⋯
34 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.
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 } = require ('electron' );
4 const { spawn } = require ('child_process' );
5 const fs = require ('fs' );
6 const http = require ('http' );
7 const net = require ('net' );
⋯
17 let isQuitting = ;
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.
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
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
mode4-atlas-worker.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = mode4-atlas-worker.js
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.
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-live-rate-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-live-rate-smoke.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @mindexec/cli@0.2.478
matchedPath = scripts/remote-fast-live-rate-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
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
↓
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
35
const PORT = normalizePort (process.env.BRIDGE_PORT);
36 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
37 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
38 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
48 const VERBOSE_REMOTE_AGENT_LOGS = /^(1 |true |yes|on)$/i.test (String (process.env.MINDEXEC_VERBOSE_REMOTE_A
normalizePort
36 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
37 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
38 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
48 const VERBOSE_REMOTE_AGENT_LOGS = /^(1 |true |yes|on)$/i.test (String (process.env.MINDEXEC_VERBOSE_REMOTE_AGENT || process.env.BRIDGE_VERBOSE_REMOTE_AGENT || '
35 const PORT = normalizePort (process.env.BRIDGE_PORT);
36 const BRIDGE_ROOT = path.dirname (fileURLToPath (import .meta.url));
37 const PACKAGE_INFO = JSON.parse (readFileSync (path.join (BRIDGE_ROOT, 'package.json' ), 'utf8' ).replace (/^\uFEFF/, '' ));
38 const BRIDGE_PACKAGE_NAME = String (PACKAGE_INFO.name || '@mindexec/cli' );
new
Promise
if
false
18 let requestedExitCode = 0 ;
19 let activeBridgePort = DEFAULT_BRIDGE_PORT;
43 resolve (JSON.parse (body));