Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of 9router-imagefix

[email protected]

suspicious   confidence 55%   action isolate   analyzed 2026-09-24 18:20 UTC by yolo in 11 tool calls, with lab detonation

Summary

The package installs native dependencies (sql.js, better-sqlite3, systray2) into ~/.9router/runtime via npm install — standard for CLI tools bundling native binaries. The Next.js dashboard under app/ is the 9Router web UI. A canary credential file was read during the hook run; npm credential helpers may explain this, but positive benign proof is incomplete.

Intent

A legitimate CLI tool that runs a 9Router proxy/gateway with a Next.js dashboard. The postinstall hook installs native SQLite and system-tray dependencies into ~/.9router/runtime — normal for a CLI needing native prebuilds. A canary credential file (.gitconfig) was read during hook execution, plausibly from npm's normal credential-helper behavior.

Findings

Canary credential file read (.gitconfig) low hooks/postinstall.js -> npm install subprocess
During postinstall hook execution, /home/andy/.gitconfig was read. This is plausibly from npm's normal credential-helper behavior (credential-store/git-based helpers), but the package code itself does not reference .gitconfig.
Runtime directory creation (~/.9router/runtime) info hooks/sqliteRuntime.js:34-46
The postinstall hook creates ~/.9router/runtime/package.json to serve as an npm project root for installing native dependencies. This is documented behavior.
Native dependency installation from npm registry info hooks/sqliteRuntime.js:143,156
npm install [email protected] and [email protected] --no-audit --no-fund --prefer-online — connections to registry.npmjs.org observed in lab. Standard pattern for obtaining native prebuilds.
Legacy systray removal info hooks/trayRuntime.js:25-43
hooks/trayRuntime.js removes the old [email protected] package from runtime and global node_modules to avoid AV false-positives and broken binaries on modern macOS.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (timed out).

DNS names requested: registry[.]npmjs[.]org

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.gitconfig

Files written outside the package: /home/andy/.9router/runtime/package.json