← all versions of 9router-imagefix
[email protected]
suspicious confidence 50% action isolate analyzed 2026-09-24 16:46 UTC by yolo in 13 tool calls, with lab detonation
Summary
The postinstall hook runs `npm install` to populate ~/.9router/runtime with sql.js and better-sqlite3; npm reads canary files ~/.npmrc and ~/.gitconfig during this process. The bundled Next.js app serves a dashboard with API routes that read/write AI agent config files (~/.claude/settings.json, ~/.codex/config.toml, etc.) and a MITM server module that generates and installs a root CA to system trust stores and modifies /etc/hosts to redirect AI coding tool traffic through a local proxy. No credential exfiltration or file destruction observed in the lab.
Intent
A CLI tool and web dashboard for a MITM proxy server that intercepts AI coding tool API traffic. The package installs runtime dependencies and provides API routes to configure various AI coding tools to route through the proxy.
code_execution network_egress credential_access agent_config_tamper persistence privilege
Findings
hooks/postinstall.js:10, hooks/sqliteRuntime.js:98-108app/.next-cli-build/server/chunks/915.js:1app/.next-cli-build/server/chunks/915.js:46-62app/.next-cli-build/server/app/api/cli-tools/*-settings/route.jsapp/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js:23Lab 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/.npmrc, /home/andy/.gitconfig
Files written outside the package: /home/andy/.9router/runtime/package.json