[email protected]
clean confidence 85% action allow analyzed 2026-09-24 17:50 UTC by yolo in 15 tool calls, with lab detonation
Summary
Clean. The postinstall hook runs hooks/sqliteRuntime.js and hooks/trayRuntime.js, which install sql.js and better-sqlite3 from registry.npmjs.org into ~/.polyrouter/runtime/node_modules. The lab connected only to the npm registry (expected). The canary .gitconfig read was from npm itself (noise). The large app/.next-cli-build/ directory is a standard Next.js web UI bundle with no malicious code.
Intent
Local AI gateway and OpenAI-compatible API router. The postinstall hook installs native SQLite dependencies (sql.js, better-sqlite3) into a user-writable runtime directory (~/.polyrouter/runtime) to avoid Windows file-lock issues during global CLI updates. This matches the package's stated purpose.
Findings
hooks/postinstall.js:10hooks/sqliteRuntime.js:122Lab reportLab 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/.polyrouter/runtime/package.json