Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of poe-code

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 17:29 UTC by yolo in 11 tool calls, with lab detonation

Summary

postinstall hook spawns node scripts/postinstall-sync-skills.mjs, which tries to run a missing scripts/sync-skills.ts and exits silently. No network connections were observed. The package reads API keys from process.env for provider configuration (Anthropic, OpenAI, etc.) but does not exfiltrate them. Large codebase (3000 files, 54MB) with legitimate AI API client functionality.

Intent

Legitimate CLI tool for configuring AI provider APIs (Anthropic, OpenAI, Claude, etc.) for developer workflows. Install hook attempts to run a skill-sync script that is missing from the package; otherwise harmless.

Findings

Missing target in postinstall hook info scripts/postinstall-sync-skills.mjs:24-26
scripts/postinstall-sync-skills.mjs tries to spawn scripts/sync-skills.ts which does not exist in the package. Hook exits 0 with no error.
API key reading from environment (expected behavior) info dist/agent.js:4376,13351
dist/agent.js reads ANTHROPIC_API_KEY, OPENAI_API_KEY, POE_API_KEY from process.env for provider authentication. No exfiltration observed.
Husky prepare hook fails (expected in lab) info package.json:91
prepare hook runs husky which is not installed (no dependencies). Exit 127.
AGENTS.md memory file loading info dist/agent.js:6667-6809
dist/agent.js loads ~/.config/poe-code/AGENTS.md and project-local AGENTS.md for prompt memory injection. Reads within trusted directories.

Lab evidence

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