← all versions of 9router-imagefix
[email protected]
suspicious confidence 65% action isolate analyzed 2026-09-24 16:44 UTC by yolo in 13 tool calls, with lab detonation
Summary
9router-imagefix installs a local MITM proxy that requires sudo to install a root CA into the system trust store and modify /etc/hosts. The proxy intercepts traffic to GitHub Copilot, Cursor, Gemini, CodeWhisperer, etc., enabling credential access. Postinstall only installs runtime deps from registry.npmjs.org (npm itself reads ~/.npmrc — expected).
Intent
A local MITM proxy gateway for AI API services. The postinstall hook lazily installs runtime SQLite and system-tray deps into ~/.9router/runtime. The bundled Next.js server spawns a proxy that generates a self-signed root CA, installs it to system trust stores (with sudo), redirects AI tool hosts via /etc/hosts, and intercepts/logs all HTTPS traffic to those services.
credential_access network_egress privilege agent_config_tamper persistence
Findings
app/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/chunks/915.jshooks/sqliteRuntime.js (via npm)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/.npmrc, /home/andy/.gitconfig
Files written outside the package: /home/andy/.9router/runtime/package.json