Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of durindoor

[email protected]

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

Summary

The postinstall hook runs node hooks/postinstall.js which installs better-sqlite3 and systray2 into ~/.9router/runtime/node_modules (user-writable, avoids Windows EBUSY on global update). Lab DNS traffic is only to registry.npmjs.org (expected). One unexplained canary read of /home/andy/.gitconfig occurred — likely an npm/git artifact in the offline lab, not direct credential theft. The large bundled Next.js app (app/.next-cli-build/) contains server routes for the local dashboard; download-and-execute URLs and agent-config paths appear only in UI text, not install-time code.

Intent

A self-hosted AI gateway CLI that installs native SQLite and system-tray dependencies into a user-writable runtime directory (~/.9router/runtime). The bundled Next.js server is the local dashboard; nothing exfiltrates data at install time.

Findings

Postinstall installs native deps to user data dir info hooks/postinstall.js:9-16
hooks/postinstall.js calls ensureSqliteRuntime() and ensureTrayRuntime(), which run `npm install [email protected]` and `npm install [email protected]` into ~/.9router/runtime/node_modules. This is a bounded, user-writable directory.
Canary credential file read unexplained low hooks/postinstall.js (lab artifact)
Lab report shows /home/andy/.gitconfig was read during hook execution. No source reference to .gitconfig found; likely an npm/git artifact in the offline lab.
Download-and-execute URL in server UI text info app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js:18
app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js contains text recommending `curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash` — this is UI informational text, not executed at install time.
AI agent config paths in server routes info app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js:1
app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js references ~/.claude/settings.json — this is part of the local dashboard UI, not install-time 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