← all versions of 9router-imagefix
[email protected]
suspicious confidence 65% action isolate analyzed 2026-09-24 18:31 UTC by yolo in 22 tool calls, with lab detonation
Summary
Install hook runs node hooks/postinstall.js which installs native SQLite deps into ~/.9router/runtime (no network egress beyond npm registry). The bundled Next.js server (app/.next-cli-build/) contains extensive MITM infrastructure: generates and installs a root CA certificate into system trust stores (Windows Root, macOS System.keychain, Linux trust store, Firefox/Chromium NSS databases) and modifies /etc/hosts to redirect AI provider domains (api2.cursor.sh, codewhisperer.us-east-1.amazonaws.com, cloudcode-pa.googleapis.com) to 127.0.0.1 for HTTPS interception. API routes read and write AI tool config files (~/.claude/settings.json, ~/.codex/config.toml, etc.). No credential exfiltration detected.
Intent
A legitimate AI-API proxy CLI (9Router) that intercepts HTTPS traffic to AI providers by installing a root CA certificate and modifying /etc/hosts. The package also reads and writes configuration files for multiple AI coding tools (Claude, Codex, Devin, etc.). While the MITM capability is a stated feature for proxying AI API calls, the system-level changes (root CA installation, hosts file modification) are aggressive and privacy-invasive.
credential_access network_egress agent_config_tamper persistence
Findings
app/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/chunks/915.jsapp/.next-cli-build/server/app/api/cli-tools/claude-settings/route.jshooks/postinstall.jsapp/.next-cli-build/server/app/dashboard/token-saver.htmlLab 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