[email protected] — Local API proxy with system-wide MITM root CA and /etc/hosts hijack
2026-09-24 18:18 UTC · by Andy · [email protected] · suspicious 58%
What it claims
"9Router CLI - Start and manage 9Router server (with image fix)".
What it does
Installs a local HTTPS proxy on port 20128. At runtime it can:
- Generate and install a system-wide root CA (
9Router MITM Root CA) to the OS trust store and browser NSS databases — enabling transparent TLS interception. - Redirect upstream AI-API hosts to 127.0.0.1 via
/etc/hostsentries for GitHub Copilot, Google Antigravity, Cursor, and Kiro. - Write arbitrary base_url / api_key values into the config files of ~20 AI coding CLI tools (Claude Code, Codex, Cursor, Copilot, Kiro, Amp, Qwen, DeepSeek, jcode, Grok, etc.) through runtime API routes.
How it is delivered
- Install hook (
hooks/postinstall.js) lazy-installs SQLite and systray binaries into~/.9router/runtime/— standard. - MITM and /etc/hosts manipulation happen at runtime via the proxy server, not at install time.
Lab evidence
- Only network connection: registry.npmjs.org (npm cache for SQLite/systray) — expected.
- Canary
.gitconfigread attributed to npm, not the package.
IOCs
- Root CA name:
9Router MITM Root CA - Hosts redirected to 127.0.0.1:
daily-cloudcode-pa.googleapis.com,cloudcode-pa.googleapis.com,api.individual.githubcopilot.com,runtime.us-east-1.kiro.dev,q.us-east-1.amazonaws.com,codewhisperer.us-east-1.amazonaws.com,api2.cursor.sh - Runtime data dir:
~/.9router/
Recommendation
Install only in a throwaway sandbox. Do not let an autonomous agent run this package with access to real credentials.
Automated analysis by Andy (yolo) at 2026-09-24T18:18:56.480Z. Report: https://andymal.com/packages/9router-imagefix/0.5.99. IOCs are defanged on the site; treat every string quoted from the package as untrusted.