Loading npm security reports…
Loading npm security reports…
@trieuluan/hiverouter@0.5.121: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
37 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 22, 2026, 20:29 UTC · by lpm-firewall-ai The install hook prepares named SQLite and tray dependencies, and the Apple Silicon tray binary is checksum and architecture validated. Persistence setup is reachable from the CLI's explicit hide-menu choice; the routing hints do not establish an attack.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The postinstall hook warms dependencies; the CLI repeats checks at startup. Tray auto-start setup requires selecting the hide option.
Impact
The inspected paths do not show credential collection, unrelated data transmission, or automatic persistence. The app's tray feature can contact GitHub for its validated binary.
Mechanism
The hook runs npm installs for named runtime dependencies. On Apple Silicon, the tray binary download is validated by checksum and architecture before use.
Evidence
~/.9router/runtime ~/.cache/node-systray/<version> Library/LaunchAgents/com.9router.autostart.plist Microsoft/Windows/Start Menu/Programs/Startup/9router.vbs .config/autostart/9router.desktop
github.com
npm registry
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall hook warms SQLite and tray dependencies; it contains no code sending host, user, project, or credential data. Runtime SQLite installs use named package dependencies in the user data directory. The Apple Silicon tray download is checked against a pinned SHA-256 and Mach-O architecture before replacing the tray binary. Auto-start registration is called from the CLI's explicit hide-menu choice. Evidence against
Install and startup paths do make network requests: npm installs runtime dependencies, and Apple Silicon may download a tray binary from github.com. The CLI supports OS-start persistence, but the inspected call path invokes it only after the user selects hide. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 46 files · 679 KB of source
6 external domains referenced
127.0.0.1 api.anthropic.com api.example.com github.com registry.npmjs.org www.apple.com Findings3 critical · 21 high · 7 medium · 6 low Source & flagged code29 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
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
app/.next-cli-build/server/chunks/1260.js View file Critical Critical secretCleared
Package contains a critical-looking secret pattern.
app/.next-cli-build/server/chunks/1260.js View on unpkg · L1 Critical Secret patternCleared
PuTTY private key in app/.next-cli-build/server/chunks/1260.js
app/.next-cli-build/server/chunks/1260.js View on unpkg · L1 Shared code excerpt · 2 findings · 3 lines 1 patternName = private_key_putty
severity = critical
line = 1
High Child processCleared
Package source references child process execution.
app/src/mitm/server.js View on unpkg · L36 High ShellCleared
Package source references shell execution.
app/src/mitm/server.js View on unpkg · L36 Shared code excerpt · 2 findings · 3 lines 36 `)}catch{}}var Nh=(()=>{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 Xo(e){let t=42949672...
37 `);t.push({role:"tool",tool_call_id:i.toolUseId||"",content:o})}let n=(Array.isArray(e.images)?e.images:[]).filter(i=>i!==null&&typeof i=="object"&&!Array.isArray(i)&&i.source!==nu...
38 $proc = Start-Process powershell -ArgumentList @(
High Same file environment network executionCleared
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 · L28 app/node_modules/@emnapi/runtime/dist/emnapi.cjs.min.js View file High EvalCleared
Package source references dynamic code evaluation.
app/node_modules/@emnapi/runtime/dist/emnapi.cjs.min.js View on unpkg · L1 Code excerpt · 1 line 1 const e=new WeakMap;function t (t){return e.has (t)}const i=(()=>{function t (t){Object.setPrototypeOf (this ,null ),e.set (this ,t)}return t.prototype=null ,t})();function s (i){if (!t (i))th...
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
app/server.js View on unpkg · L1 Code excerpt · 2 lines 1 const path = require ('path' )
2
app/node_modules/@smithy/core/dist-cjs/submodules/config/index.js View file Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
app/node_modules/@smithy/core/dist-cjs/submodules/config/index.js View on unpkg · L155 Code excerpt · 12 lines 155 const getHomeDir = () => {
156 const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
157 if (HOME) {
⋯
167 if (!homeDirCache[homeDirCacheKey]) {
168 homeDirCache[homeDirCacheKey] = homedir ();
169 }
⋯
189 const ssoTokenText = await readFile$1 (ssoTokenFilepath, "utf8" );
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/cli/tray/autostart.js View on unpkg · L3 Medium Install persistenceCleared
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/@aws-sdk/credential-provider-http/dist-cjs/index.js View file High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
app/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js View on unpkg · L64 Code excerpt · 9 lines 64 if (response.statusCode === 200 ) {
65 const parsed = JSON.parse (str);
66 if (typeof parsed.AccessKeyId !== "string" ||
⋯
108 const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" ;
109 const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2" ;
110 const AWS_CONTAINER_CREDENTIALS_FULL_URI = ;
app/node_modules/next/dist/compiled/jest-worker/threadChild.js View file Critical Remote response code executionCleared
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__={994 :(e,r)=>{Object.defineProperty (r,"__esModule" ,{value:true });r.PARENT_MESSAGE_SETUP_ERROR=r.PARENT_MESSAGE_OK=r.PARENT_MESSAGE_CUSTOM=...
High Cross file remote execution contextCleared
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" );
⋯
High Runtime package installCleared
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 helperCleared
Package ships non-JavaScript build or shell helper files.
src/cli/tray/tray.ps1 View on unpkg Scanner record · 4 lines path = src/cli/tray/tray.ps1
kind = build_helper
sizeBytes = 4001
magicHex = [redacted]
app/node_modules/next/dist/compiled/commander/index.js#virtual:string-array:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
app/node_modules/next/dist/compiled/commander/index.js#virtual:string-array:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 8
app/node_modules/@next/env/dist/index.js View file High Known malware source similarityCleared
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 = botmancers@0.11.1
matchedPath = app/node_modules/@next/env/dist/index.js
matchedIdentity = npm:Ym90bWFuY2Vycw:0.11.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
app/.next-cli-build/server/app/api/oauth/cursor/import/route.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/app/api/oauth/cursor/import/route.js
app/.next-cli-build/server/app/api/oauth/cursor/import/route.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js
app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js
app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/app/api/providers/[id]/models/route.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/app/api/providers/[id]/models/route.js
app/.next-cli-build/server/app/api/providers/[id]/models/route.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/app/api/providers/client/route.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/app/api/providers/client/route.js
app/.next-cli-build/server/app/api/providers/client/route.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/chunks/3535.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/chunks/3535.js
app/.next-cli-build/server/chunks/3535.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/chunks/5615.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/chunks/5615.js
app/.next-cli-build/server/chunks/5615.js View on unpkg · L62 Code excerpt · 3 lines 62 patternName = google_api_key
severity = high
line = 62
app/.next-cli-build/server/chunks/2409.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/chunks/2409.js
app/.next-cli-build/server/chunks/2409.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
app/.next-cli-build/server/chunks/8896.js View file High Secret patternCleared
Google API key in app/.next-cli-build/server/chunks/8896.js
app/.next-cli-build/server/chunks/8896.js View on unpkg · L1 Code excerpt · 3 lines 1 patternName = google_api_key
severity = high
line = 1
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
app/src/mitm/server.js View on unpkg · L28 Shared code excerpt · 2 findings · 5 lines 28 Private-MAC: `+I.digest().toHex()+` \r
29 `,s};xa.publicKeyToOpenSSH=function(e,t){var a="ssh-rsa";t=t||"";var r=xe.util.createBuffer();return mr(r,a),xt(r,e.e),xt(r,e.n),a+" "+xe.util.encode64(r.bytes())+" "+t};xa.private...
30 `);u=c.pop()||"";for(let y of c){let v=y.trim();if(!v||!v.startsWith("data:"))continue;let g=v.slice(5).trim();if(g!=="[DONE]"){process.env.DEBUG_MITM&&Ta(` [SSE in ] ${g.slice (0 ,200 ...
⋯
36 `)}catch{}}var Nh=(()=>{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 Xo(e){let t=42949672...
37 `);t.push({role:"tool",tool_call_id:i.toolUseId||"",content:o})}let n=(Array.isArray(e.images)?e.images:[]).filter(i=>i!==null&&typeof i=="object"&&!Array.isArray(i)&&i.source!==nu.
190
return JSON.parse (ssoTokenText);
545 const imdsRequest = async (options) => {
546 const { request } = require ('node:http' );
547 return new Promise ((resolve, reject) => {
".."
".."
"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 ;
"AWS_CONTAINER_CREDENTIALS_FULL_URI"
116 const relative = options.[redacted] ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];
117 const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];
36
start () {
37 if (process.stdout.isTTY) {
38 process.stdout.write (`\r${frames[0]} ${currentText}` );
39 interval = setInterval (() => {
65 const pkg = require ("./package.json" );