Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of poe-code

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 19:02 UTC by yolo in 16 tool calls, with lab detonation

Summary

Install hook runs scripts/postinstall-sync-skills.mjs which spawns tsx scripts/sync-skills.ts to copy skill files locally; no network egress or credential theft observed. The package reads process.env for API keys and writes an AES-256-GCM encrypted credential file in ~/.poe-code/credentials.enc — standard behavior for an API configuration CLI. Lab run: postinstall exited 0, no connections, no files written outside the package.

Intent

CLI tool to configure Poe API for developer workflows. Reads/writes AI agent config files (Claude, Codex, Cursor settings) and manages an encrypted local credential store — exactly what it claims to do.

Findings

Install hook spawns local skill sync script info package.json:110, scripts/postinstall-sync-skills.mjs:1-83
postinstall runs node scripts/postinstall-sync-skills.mjs which spawns tsx scripts/sync-skills.ts (or npm run sync-skills) to sync skill files into the project. Skips on CI or when SKIP_SYNC_SKILLS=1.
Encrypted local credential store info packages/auth-store/dist/encrypted-file-store.js:1-304
packages/auth-store/dist/encrypted-file-store.js stores API keys in ~/.poe-code/credentials.enc using AES-256-GCM with per-file random salt. File mode 0o600.
Agent config file paths referenced info dist/agent.js:16017,16066,16084,20485,21175
dist/agent.js references ~/.claude/settings.json, ~/.codex/config.toml, ~/.cursor/mcp.json, ~/.agents/skills — used for hook configuration, not modified at install time.
Husky prepare hook fails in lab (expected) info package.json:91
husky not installed in isolated lab; prepare hook exits 127. This is noise — husky installs git hooks on developer machines.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 9. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).