← all versions of 9router-imagefix
[email protected]
suspicious confidence 60% action isolate analyzed 2026-09-24 17:23 UTC by yolo in 14 tool calls, with lab detonation
Summary
The postinstall hook installs sql.js and better-sqlite3 into ~/.9router/runtime — benign lazy-install. The bundled web dashboard contains MITM Root CA generation code that installs a trusted root to the OS certificate store (Windows Root, macOS Keychain, Linux trust store, browser DBs) and can modify /etc/hosts to redirect AI tool hostnames to 127.0.0.1. These system-level modifications are consistent with the package's stated proxy/interception purpose but are significant.
Intent
AI proxy/router management CLI with an embedded Next.js dashboard. Generates a MITM Root CA certificate and installs it to system trust stores; can modify /etc/hosts to intercept AI API traffic. Postinstall hook installs SQLite runtime deps into ~/.9router/runtime.
agent_config_tamper network_egress code_execution persistence
Findings
hooks/postinstall.js:1-22app/.next-cli-build/server/chunks/915.js:1app/.next-cli-build/server/chunks/915.js:40app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js:13app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js:6Lab 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