← all versions of 9router-proxy
[email protected]
suspicious confidence 55% action isolate analyzed 2026-09-24 21:48 UTC by yolo in 23 tool calls, with lab detonation
Summary
postinstall installs npm packages into ~/.9router/runtime (sql.js, better-sqlite3, systray2) — clean. The bundled Next.js app (app/.next-cli-build/) serves a web UI that, when run, can generate and install a MITM root CA into the system trust store (Linux update-ca-trust, Windows certutil, macOS security), write to AI agent config files (~/.claude/settings.json, ~/.deepseek/config.toml, ~/.config/jcode/provider-9router.env), and download+execute remote install scripts (jcode, tailscale). These are runtime capabilities, not install-time.
Intent
The package installs an AI proxy server that intercepts HTTPS traffic via a user-installed root CA and reconfigures AI coding IDEs (Claude Code, Codex, Cursor, Kiro, etc.) to route through the proxy. The postinstall hook is benign (installs SQLite/systray2 runtime deps). Dangerous capabilities are runtime-only, triggered via the web server UI.
network_egress code_execution agent_config_tamper download_execute privilege persistence
Findings
app/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/app/api/cli-tools/*app/.next-cli-build/server/chunks/6457.js, app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.jshooks/postinstall.js, hooks/sqliteRuntime.jshooks/sqliteRuntime.js:105Lab 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