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:00 UTC by yolo in 12 tool calls, with lab detonation

Summary

Install hook postinstall runs scripts/postinstall-sync-skills.mjs which spawns scripts/sync-skills.ts via tsx (skips in CI). The package provides CLI commands to configure Poe API, manage AI agent configuration files, and spawn AI coding tools. Lab run: no network egress, no canary credential reads, no files written outside the package.

Intent

A large monorepo CLI tool for configuring Poe API and AI developer workflows. Manages API credentials, AI agent configuration files (AGENTS.md, CLAUDE.md, .claude/settings.json), and spawns child processes to run AI coding tools (Claude Code, Codex, etc.). All flagged capabilities (credential_access, agent_config_tamper, code_execution) are legitimate features of the stated purpose.

Findings

Postinstall spawns sync-skills.ts info scripts/postinstall-sync-skills.mjs:66
scripts/postinstall-sync-skills.mjs spawns node scripts/sync-skills.ts (via tsx) to sync global skills. Skips when CI=1 or SKIP_SYNC_SKILLS=1.
Encrypted credential store for API keys info dist/credentials.js:14-79
dist/credentials.js stores API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, POE_API_KEY) in ~/.auth-store/credentials.enc using AES-256-GCM encryption with machine-derived keys.
Agent config file management info dist/agent.js:6667,20483-20505
dist/agent.js manages AGENTS.md, CLAUDE.md, .claude/settings.json, .cursor/mcp.json, .agents/skills for Claude, Codex, Cursor, and Goose agents. CLI commands utils-symlink-agents.js and utils-symlink-skills.js manipulate these files.
Child process spawning for AI tools info dist/providers/claude-code.js:60,11522
dist/providers/claude-code.js spawns Claude Code, Codex, and other AI coding tools via node:child_process spawn/execSync. This is the stated purpose of the package.
Husky prepare hook (failed in lab) info package.json:91
package.json prepare runs husky to install git hooks. Failed in offline lab (husky not installed) - expected.

Lab evidence

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