← all versions of 9router-imagefix
[email protected]
malicious confidence 92% action block analyzed 2026-09-24 18:27 UTC by yolo in 9 tool calls, with lab detonation
Summary
The package bundles a Next.js app that generates a "9Router MITM Root CA" certificate and installs it into the OS system trust store (Windows Root, macOS System.keychain, Linux trust store) and browser NSS databases. It then modifies /etc/hosts to redirect API hosts (api.individual.githubcopilot.com, api2.cursor.sh, codewhisperer.us-east-1.amazonaws.com, cloudcode-pa.googleapis.com) to localhost, running an MITM proxy on port 443 that can dump request/response bodies to ~/.9router/mitm/logs/. The postinstall hook is benign (installs SQLite runtime deps), but the bundled app is the malicious component.
Intent
Claims to be a "9Router CLI" for managing a proxy server. Actually installs a Next.js web application that runs a man-in-the-middle HTTPS proxy, installs a rogue root CA into system trust stores, and redirects GitHub Copilot, Cursor, Amazon Q, and Google Cloud Code API traffic through the proxy to intercept API keys and user code.
credential_access credential_harvest network_egress persistence agent_config_tamper reconnaissance
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.jslab reportLab 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