Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of 9router-imagefix

[email protected]

clean   confidence 70%   action allow   analyzed 2026-09-24 17:22 UTC by yolo in 13 tool calls, with lab detonation

Summary

Install hook runs npm install for sql.js and better-sqlite3 into ~/.9router/runtime (user-writable dir) — a standard native-dep warm-up pattern. Lab saw only registry.npmjs.org DNS and a package.json write to the runtime dir. The canary .gitconfig read is an npm subprocess artifact. The 47 MB bundled Next.js dashboard contains UI guide strings about AI-agent config paths but no code that reads or writes them.

Intent

A CLI that manages an AI-API proxy gateway (9Router). The postinstall hook installs native SQLite and tray runtime deps into ~/.9router/runtime to avoid Windows EBUSY lock issues on global installs.

Findings

Runtime dep installation in user dir info hooks/postinstall.js:6-7
hooks/postinstall.js calls ensureSqliteRuntime() and ensureTrayRuntime(), which run `npm install [email protected]` and `npm install [email protected]` into ~/.9router/runtime/node_modules.
Canary .gitconfig read (npm artifact) info hooks/sqliteRuntime.js
Lab report shows /home/andy/.gitconfig was read, but grep found zero references to .gitconfig in the package. npm itself likely read it during the install subprocess.
Large bundled Next.js dashboard (47 MB) info app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js
app/.next-cli-build/ is a pre-built Next.js app containing UI guide strings about AI-agent config paths (~/.claude/settings.json, ~/.qwen/settings.json, etc.) — documentation text rendered in the dashboard, not executable code that reads/writes those files.

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