Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of durindoor

[email protected]

clean   confidence 35%   action allow   analyzed 2026-09-24 20:54 UTC by yolo in 13 tool calls, with lab detonation

Summary

postinstall runs node hooks/postinstall.js which npm-installs better-sqlite3 and systray2 into ~/.9router/runtime/node_modules (native accelerator + macOS/Linux tray). The 78 MB app bundle is a Next.js server that proxies AI API calls, installs a MITM root CA into system trust stores (requires sudo), and reads/writes AI agent config files (~/.claude/settings.json, ~/.codex/settings.json, etc.) to configure provider connections. Lab connected only to registry.npmjs.org (npm install) — nothing unexpected.

Intent

An AI proxy/management CLI ("DurinDoor", internally "9router") that installs native SQLite and system-tray deps at postinstall, and runs a Next.js dashboard server to proxy requests to 20+ AI providers (OpenAI, Anthropic, Gemini, etc.), manage OAuth connections, and configure local coding agents. All observed behavior matches this purpose.

code_execution network_egress credential_access persistence privilege

Findings

postinstall installs native deps info hooks/postinstall.js:9,16
hooks/postinstall.js calls npm install [email protected] and [email protected] into ~/.9router/runtime/node_modules. Originates from the package's own comment_sqlite and comment_systray fields.
MITM root CA installed to system trust store medium app/.next-cli-build/server/chunks/6182.js:43-100
app/.next-cli-build/server/chunks/6182.js generates a self-signed root CA and installs it to Windows Root store (certutil), macOS System.keychain (security), and Firefox/Chromium NSS databases (certutil). Requires sudo on macOS/Linux.
Reads AI agent config files for provider setup low app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js, app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js, and 10+ similar routes
Multiple API routes read ~/.claude/settings.json, ~/.codex/settings.json, ~/.cursor/..., ~/.qwen/settings.json, ~/.deepseek/config.toml, etc. to configure AI provider connections locally.
Download-and-execute instruction in UI text info app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js:18
The jcode provider notes include 'Install via: curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash' as informational text — not executed by package code.
Spawn child processes for local models info app/.next-cli-build/server/chunks/2415.js:6-14
Chunks spawn local CLI tools (auggie, etc.) via child_process.spawn for on-device model inference.

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