← all versions of 9router-proxy
[email protected]
clean confidence 75% action allow analyzed 2026-09-24 22:19 UTC by yolo in 12 tool calls, with lab detonation
Summary
Install hook runs node hooks/postinstall.js which invokes npm install sql.js and better-sqlite3 into ~/.9router/runtime/node_modules (user data dir). Lab saw only registry.npmjs.org DNS lookups (npm itself). A canary in ~/.gitconfig was read by npm (not the package) for credential handling. The large app/ directory is the bundled Next.js proxy server, not the package code.
Intent
A legitimate AI proxy/router CLI (9Router) that routes AI coding tool requests through multiple providers to save tokens. The postinstall hook installs runtime native dependencies (sql.js, better-sqlite3, systray2) into ~/.9router/runtime via npm install — standard for CLIs bundling native modules.
Findings
hooks/postinstall.js:6-7hooks/sqliteRuntime.js:94hooks/sqliteRuntime.js:94Lab 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