Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of poe-code

[email protected]

suspicious   confidence 50%   action isolate   analyzed 2026-09-24 18:10 UTC by yolo in 12 tool calls, with lab detonation

Summary

[email protected] is a large monorepo CLI that manages AI agent skills, hook configs, and encrypted API key stores. Its postinstall hook attempts to run scripts/sync-skills.ts (absent from the tarball) — a benign no-op in the lab. The package reads and writes AI agent config files (AGENTS.md, ~/.claude/settings.json, ~/.codex/hooks.json, ~/.cursor/mcp.json) and skill directories, and reads API keys from process.env and encrypted stores. No credential exfiltration or unexpected network egress was observed in the offline lab.

Intent

A CLI tool to configure the Poe API and manage skills/hook configurations for external AI coding agents (Claude Code, Codex, Cursor, Goose, OpenCode). It reads and writes AI agent configuration files and encrypted credential stores.

Findings

Install hook runs absent script info scripts/postinstall-sync-skills.mjs:66
scripts/postinstall-sync-skills.mjs spawns scripts/sync-skills.ts via tsx, but that file is absent from the tarball. Hook exited 0 with no side-effects.
Reads AI agent config files medium dist/agent.js:6667-6840
Loads AGENTS.md from project root and ~/.config/poe-code/AGENTS.md; registers hook configs for ~/.claude/settings.json, ~/.codex/hooks.json, ~/.cursor/mcp.json; discovers skills from ~/.claude/skills, ~/.codex/skills, ~/.cursor/skills, ~/.agents/skills.
Reads API keys from environment and encrypted store medium dist/credentials.js; dist/chunk-PPEHQEYU.js
Reads ANTHROPIC_API_KEY, OPENAI_API_KEY, POE_API_KEY from process.env; stores keys encrypted in ~/.config/poe-code/credentials.enc with salt 'poe-code:encrypted-file-auth-store:v1'.
Spawns external AI agent processes low dist/agent.js:3247; dist/providers/claude-code.js
Spawns claude-code, codex, cursor, gemini-cli, goose, opencode as child processes via node:child_process to execute prompts.

Lab evidence

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