Loading npm security reports…
Loading npm security reports…
@rabbi696/ezrouter@0.5.77: 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 Sep 17, 2026, 04:59 UTC · by lpm-firewall-ai The install hook only warms SQLite and tray deps; Claude and other agent configs are changed only when the user runs Quick Setup or dashboard Apply. That is documented dual-use router behavior and explicit-user-command agent-config mutation, so it should warn rather than block.
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
npm install runs postinstall; agent-config writes require the user to start ezrouter and use CLI Quick Setup or the dashboard Apply action.
Impact
Claude Code and similar tools can be pointed at the local router; this is product behavior, not an unattended install hijack.
Mechanism
User-invoked writes to foreign AI-agent settings plus a local proxy and optional MITM
Evidence
hooks/postinstall.js src/cli/menus/cliTools.js src/cli/api/client.js ~/.ezrouter/runtime ~/.claude/settings.json ~/.claude.json
Decision evidencepublic snapshot Evidence for warning
postinstall runs npm to install SQLite and tray packages into a home-directory runtime folder CLI Quick Setup writes Claude Code env vars so traffic is sent to this local router HTTP APIs apply or reset settings for Claude, Codex, Droid, and OpenClaw Tray menu can register OS autostart; default bind is 0.0.0.0 Bundled server includes MITM, hosts-file, and local CA tooling as product features Evidence against
Manifest and README describe a local AI router CLI, and the source matches that product postinstall only warms SQLite and systray2; it does not write agent config files Claude settings changes run only after the user starts the CLI and chooses Quick Setup or dashboard Apply No runtime self-dependency on another @rabbi696/ezrouter release and no secret-exfil host High scanner hits are bundled Next.js, react-dom, and node-forge, not package-authored malware Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 41 files · 606 KB of source
5 external domains referenced
127.0.0.1 api.anthropic.com api.example.com registry.npmjs.org www.apple.com Findings2 critical · 19 high · 7 medium · 6 low Source & flagged code26 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node hooks/postinstall.js
High Child process
Package source references child process execution.
app/src/mitm/server.js View on unpkg · L32 Code excerpt · 3 lines 32 `)}catch{}}var cd=(()=>{let e=new Uint32Array(256);for(let t=0;t<256;t++){let a=t;for(let r=0;r<8;r++)a=a&1?3988292384^a>>>1:a>>>1;e[t]=a}return e})();function Vo(e){let t=42949672...
33 `);t.push({role:"tool",tool_call_id:n.toolUseId||"",content:s})}let r=(e.content||"").trim();return(r||a.length===0)&&t.push({role:"user",content:r}),t}function gd(e){let t=e.toolU...
34 $proc = Start-Process powershell -ArgumentList @(
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
app/src/mitm/server.js View on unpkg · L24 High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
app/src/mitm/server.js View on unpkg · L24 Shared code excerpt · 2 findings · 5 lines 24 Private-MAC: `+B.digest().toHex()+` \r
25 `,s};ma.publicKeyToOpenSSH=function(e,t){var a="ssh-rsa";t=t||"";var r=Ce.util.createBuffer();return vr(r,a),xt(r,e.e),xt(r,e.n),a+" "+Ce.util.encode64(r.bytes())+" "+t};ma.private...
26 `);u=c.pop()||"";for(let g of c){let v=g.trim();if(!v||!v.startsWith("data:"))continue;let y=v.slice(5).trim();if(y!=="[DONE]"){process.env.DEBUG_MITM&&Ea(` [SSE in ] ${y.slice (0 ,200 ...
⋯
32 `)}catch{}}var cd=(()=>{let e=new Uint32Array(256);for(let t=0;t<256;t++){let a=t;for(let r=0;r<8;r++)a=a&1?3988292384^a>>>1:a>>>1;e[t]=a}return e})();function Vo(e){let t=42949672...
33 `);t.push({role:"tool",tool_call_id:n.toolUseId||"",content:s})}let r=(e.content||"").trim();return(r||a.length===0)&&t.push({role:"user",content:r}),t}function gd(e){let t=e.toolU.
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
cli.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @rabbi696/ezrouter@0.6.8
matchedIdentity = npm:QHJhYmJpNjk2L2V6cm91dGVy:0.6.8
similarity = 0.967
summary = stored previous version shares package body but lacks this dangerous source file
Code excerpt · 3 lines 247 if (process.platform === "win32" ) {
248 const psCmd = `powershell -NonInteractive -WindowStyle Hidden -Command "Get-WmiObject Win32_Process -Filter 'Name=\\"cloudflared.exe\\"' | Select-Object ProcessId,CommandLine | Con...
249 const output = (psCmd, { encoding: , windowsHide: , timeout: });
node_modules/node-forge/dist/forge.min.js View file High Eval
Package source references dynamic code evaluation.
node_modules/node-forge/dist/forge.min.js View on unpkg · L1 Code excerpt · 2 lines 1 !function (e,t){"object" ==typeof exports&&"object" ==typeof module?module.exports=t ():"function" ==typeof define&&define.amd?define ([],t):"object" ==typeof exports?exports.forge=t ():e....
2 //# sourceMappingURL=forge.min.js.map
Medium Dynamic require
Package source references dynamic require/import behavior.
app/server.js View on unpkg · L1 Code excerpt · 2 lines 1 const path = require ('path' )
2
node_modules/react-dom/cjs/react-dom-server.node.development.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/react-dom/cjs/react-dom-server.node.development.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = react-dom-helpers@3.3.3
matchedPath = cjs/react-dom-server.node.development.js
matchedIdentity = npm:cmVhY3QtZG9tLWhlbHBlcnM:3.3.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Weak crypto
Package source references weak cryptographic algorithms.
node_modules/react-dom/cjs/react-dom-server.node.development.js View on unpkg · L11 Code excerpt · 12 lines High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/cli/tray/autostart.js View on unpkg · L3 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
src/cli/tray/autostart.js View on unpkg · L3 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: scripts.dev -> cli.js -> src/cli/tray/autostart.js
3 const os = require ("os" );
4 const { execSync } = require ("child_process" );
5
⋯
36 }
37 const computed = path.resolve (__dirname, ".." , ".." , , );
app/node_modules/ip-address/dist/ipv6.js#virtual:normalized:round1 View file High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
app/node_modules/ip-address/dist/ipv6.js#virtual:normalized:round1 View on unpkg · L186 Code excerpt · 9 lines 186 * @example
187 * var addressAndPort = Address6.fromURL("http://[ffff::]:8080/foo/");
188 * addressAndPort.address.correctForm(); // "ffff::"
⋯
221 }
222 // If there"s a port convert it to an integer\n if (port) {\n port = parseInt(port, 10);\n // squelch out of range ports (valid ports are 0-65535)\n ...
223 * Throws `AddressError` if the mask is non-contiguous (e.g.
⋯
611 if (v4Octets.some((octet) => /^0\d/.test(octet))) {
612 // The prefix groups haven"t been through the bad-character check\n // yet, so escape them before including in the error HTML.\n const highlighted = v...
613 //# sourceMappingURL=ipv6.js.map
app/node_modules/next/dist/compiled/jest-worker/threadChild.js View file Critical Remote response code execution
Source passes code obtained from a remote response into a dynamic execution sink.
app/node_modules/next/dist/compiled/jest-worker/threadChild.js View on unpkg · L1 Code excerpt · 1 line 1 (()=>{"use strict" ;var __webpack_modules__={582 :(e,r)=>{Object.defineProperty (r,"__esModule" ,{value:true });r.PARENT_MESSAGE_SETUP_ERROR=r.PARENT_MESSAGE_OK=r.PARENT_MESSAGE_CUSTOM=...
High Runtime package install
Package source invokes a package manager install command at runtime.
app/src/lib/updater/updater.js View on unpkg · L1 Code excerpt · 6 lines 1 // Standalone detached updater process.
2 // Spawns `npm i -g <pkg>@latest`, exposes progress via tiny HTTP server.
3 // Survives after parent Next server exits (detached + unref by spawner).
4
5 const { spawn } = require ("child_process" );
6 const http = require ("http" );
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
app/public/9router-connect.ps1 View on unpkg Scanner record · 4 lines path = app/public/9router-connect.ps1
kind = build_helper
sizeBytes = 6820
magicHex = [redacted]
node_modules/node-forge/flash/swf/SocketPool.swf View file High Ships high entropy blob
Package ships high-entropy non-source blobs.
node_modules/node-forge/flash/swf/SocketPool.swf View on unpkg Scanner record · 4 lines path = node_modules/node-forge/flash/swf/SocketPool.swf
kind = high_entropy_blob
sizeBytes = 21162
magicHex = [redacted]
app/node_modules/ip-address/dist/ipv4.js#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
app/node_modules/ip-address/dist/ipv4.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 49
app/node_modules/@next/env/dist/index.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
app/node_modules/@next/env/dist/index.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = shieldcortex@5.0.1
matchedPath = dashboard/.next/standalone/dashboard/node_modules/@next/env/dist/index.js
matchedIdentity = npm:c2hpZWxkY29ydGV4:5.0.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = react-dom-helpers@3.3.3
matchedPath = cjs/react-dom-server-legacy.browser.development.js
matchedIdentity = npm:cmVhY3QtZG9tLWhlbHBlcnM:3.3.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = react-dom-helpers@3.3.3
matchedPath = cjs/react-dom-server-legacy.browser.development.js
matchedIdentity = npm:cmVhY3QtZG9tLWhlbHBlcnM:3.3.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/react-dom/cjs/react-dom-server.browser.development.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/react-dom/cjs/react-dom-server.browser.development.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = react-dom-helpers@3.3.3
matchedPath = cjs/react-dom-server.browser.development.js
matchedIdentity = npm:cmVhY3QtZG9tLWhlbHBlcnM:3.3.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/react-dom/cjs/react-dom-server.edge.development.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/react-dom/cjs/react-dom-server.edge.development.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = react-dom-helpers@3.3.3
matchedPath = cjs/react-dom-server.edge.development.js
matchedIdentity = npm:cmVhY3QtZG9tLWhlbHBlcnM:3.3.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Same file environment network execution Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
execSync
"utf8"
true
5000
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
cli.js View on unpkg · L2 Code excerpt · 12 lines Cross-file remote execution chain: cli.js spawns app/src/mitm/server.js; helper contains network access plus dynamic code execution.
2
3 const { spawn, exec, execSync } = require ("child_process" );
4 const path = require ("path" );
5 const fs = require ("fs" );
6 const https = require ("https" );
7 const net = require ("net" );
⋯
36 start () {
37 if (process.stdout.isTTY) {
38 process.stdout.write (`\r${frames[0]} ${currentText}` );
39 interval = setInterval (() => {
⋯
64
65 const pkg = require ("./package.json" );
12 "production" !== process.env.NODE_ENV &&
251 function writeToDestination (destination, view) {
252 destination = destination.write (view);
253 destinationHasCapacity$1 = destinationHasCapacity$1 && destination;
417 "Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props" ,
714 for (index = match.index; index < text.length; index++) {
715 switch (text.charCodeAt (index)) {
".."
"cli.js"
38 if (fs.existsSync (computed)) return computed;
47 function enableAutoStart (cliPath) {
48 const platform = process.platform;
50 if (!["darwin" , "win32" , "linux" ].includes (platform)) return false ;
51 if (platform === "linux" && !process.env.DISPLAY) return false ;
260 // https://developer.apple.[redacted]ASLR_classes.html#//apple_ref/doc/uid/TP40000983-CH1g-BBCIAHJF:~:...
261 return input.replaceAll(/[\\"]/g, (original)=>`\\${original}`);\n}\nfunction launchEditor(fileName, line1, column1) {\n if (!_fs.default.existsSync(fileName)) {\