Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of poe-code

[email protected]

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

Summary

The package is an AI-agent orchestration CLI (poe-code). It reads API keys from process.env (ANTHROPIC_API_KEY, OPENAI_API_KEY, POE_API_KEY) to configure downstream provider clients — standard behavior for this class of tool. The encrypted local credential store (.poe-code/credentials.enc) and macOS Keychain backend store only the tool's own keys. The postinstall hook is a no-op (sync-skills.ts is missing). The lab run made zero network connections. High static capability counts are false positives from regex matching on process.env, execFile, spawn, and AES-GCM encryption used for credential storage.

Intent

A CLI tool to orchestrate AI coding agents (Claude Code, Codex, Gemini CLI, etc.) — reads provider API keys from the environment to authenticate API calls, manages its own encrypted credential store, and reads AGENTS.md files for agent context. Install hook is inert (missing sync-skills.ts). No unexpected network egress, no credential exfiltration, no persistence.

Findings

Install hook is inert info scripts/postinstall-sync-skills.mjs:24
postinstall runs node scripts/postinstall-sync-skills.mjs, which tries to spawn scripts/sync-skills.ts via tsx. That file does not exist in the tarball (ENOENT), so the hook skips.
API key reading from process.env info dist/agent.js:4376
dist/agent.js reads ANTHROPIC_API_KEY, OPENAI_API_KEY, POE_API_KEY from process.env to authenticate provider API calls. This is the stated purpose of the package.
Encrypted local credential store info dist/agent.js:3971
dist/agent.js implements an AES-GCM encrypted file store at .poe-code/credentials.enc for the tool's own API keys. Salt is 'poe-code:encrypted-file-auth-store:v1'. Not exfiltration.
AGENTS.md context loading info dist/agent.js:6667
dist/agent.js reads AGENTS.md from the project tree and ~/.config/poe-code/AGENTS.md to inject memory/context into AI agent prompts. Path traversal is prevented via realpath canonicalization.
macOS Keychain backend info dist/agent.js:4189
dist/agent.js:4189-4246 uses 'security' CLI to read/write macOS Keychain entries for the tool's own secrets. Standard platform behavior.
Legitimate API endpoints info dist/agent.js:4423
Network targets are api.poe.com/v1 (own API), api.anthropic.com, api.openai.com/v1, api.duckduckgo.com (search tool), json-schema.org (schema). No unexpected hosts.
Husky prepare hook (no-op without husky) info package.json:91
prepare runs 'husky' which failed with exit 127 (not found) in the lab. Standard git-hook installer; harmless when absent.

Lab evidence

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