← all versions of 9router-imagefix
[email protected]
suspicious confidence 70% action isolate analyzed 2026-09-24 18:34 UTC by yolo in 11 tool calls, with lab detonation
Summary
Postinstall hook installs SQLite runtime into ~/.9router/runtime (benign). The server bundle contains a MITM subsystem that generates and trusts a "9Router MITM Root CA" system-wide (chunks/915.js), and can hijack DNS for GitHub Copilot, Google Antigravity, CodeWhisperer, Kiro, and Cursor by writing to /etc/hosts (chunks/915.js). API routes under app/api/cli-tools/ read AI agent config from ~/.claude/, ~/.cursor/, ~/.codex/, etc. (credential_harvest). A remote install URL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash is embedded in warning text (download_execute). Prompt-injection text impersonates a system message in token-saver.html.
Intent
A 9Router proxy CLI that ships a Next.js server with a built-in MITM root CA installer, DNS hijacking for AI coding tool APIs, and API routes that read/write AI agent configuration files. The package also embeds a remote script download-and-execute URL.
credential_access credential_harvest network_egress agent_config_tamper code_execution persistence obfuscation
Findings
app/.next-cli-build/server/chunks/915.js:1app/.next-cli-build/server/chunks/915.js:46app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js:1app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js:24app/.next-cli-build/server/app/dashboard/token-saver.html:1app/.next-cli-build/server/chunks/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