Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of durindoor

[email protected]

clean   confidence 65%   action allow   analyzed 2026-09-24 20:56 UTC by yolo in 14 tool calls, with lab detonation

Summary

[email protected] installs better-sqlite3 and systray2 into ~/.9router/runtime/node_modules via its postinstall hook (npm registry only). The bundled .next-cli-build/ is a Next.js AI-gateway server with OAuth-import routes for Cursor/Codex/Kiro, settings management for 15+ AI tools, and a chat-completion proxy. Install-time behavior is standard for a CLI that ships a local server.

Intent

durindoor is a self-hosted AI gateway CLI. The postinstall hook installs native deps (better-sqlite3, systray2) into ~/.9router/runtime/. The bundled Next.js app provides an HTTP dashboard to configure AI provider connections, manage DNS/MTM/tunnels, and proxy chat completions — consistent with its stated purpose.

Findings

Install hook installs native deps to user runtime dir info hooks/postinstall.js:5-6
hooks/postinstall.js calls sqliteRuntime.js which runs npm install [email protected] and [email protected] into ~/.9router/runtime/node_modules. Lab DNS: registry.npmjs.org only.
OAuth import routes for AI editors info app/.next-cli-build/server/app/api/oauth/cursor/import/route.js:1
app/.next-cli-build/server/app/api/oauth/cursor/import/route.js and app/api/oauth/codex/import-token/route.js start local HTTP servers to receive OAuth callbacks from Cursor/Codex — part of the AI gateway's provider-connection flow.
Canary credential read by npm, not the package info Lab report
The lab read /home/andy/.gitconfig during npm install of better-sqlite3 (npm lifecycle scripts read user env). Not attributable to durindoor code.

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