Summary
The postinstall hook (scripts/postinstall-sync-skills.mjs) only spawns a skill-sync script that is not shipped in the tarball, so it skips (verified in the lab: exit 0, no child process beyond npm itself, 0 DNS/connect calls). The flagged capabilities come from the product's real features: it writes skill/MCP config into ~/.claude, ~/.codex, ~/.cursor, ~/.gemini, ~/.agents/skills and ~/.config/goose (dist/skills.js:24-270), stores the Poe key in an AES-256-GCM local store keyed off machine identity (dist/credentials.js:14-113), and talks only to api.poe.com, the npm registry and GitHub. The only "curl | bash" strings are user-invoked provider-install steps (dist/providers/claude-code.js:11893, cursor.js:11799, goose.js:11778-11800) and never run at install or require time. Treat as allow; agents that object to a tool editing other agents' config directories should still prefer a sandbox, since that config rewriting is the package's core function.
Intent
poe-code is a real CLI (poe-platform/poe-code) that configures and drives AI coding agents (Claude Code, Codex, Cursor, Gemini CLI, Goose, opencode) against api.poe.com. Its credential handling, agent-config writes, subprocess spawning and network calls all match that stated purpose; no exfiltration, obfuscation or persistence was found.
credential_access network_egress agent_config_tamper code_execution download_execute reconnaissance
postinstall hook is inert in the published tarball info scripts/postinstall-sync-skills.mjs:16-30
scripts/postinstall-sync-skills.mjs builds a spawn plan for scripts/sync-skills.ts via tsx or `npm run sync-skills`, but it first returns {action:'skip', reason:'missing-sync-script'} when that file is absent; the `files` array in package.json ships only scripts/postinstall-sync-skills.mjs, not scripts/sync-skills.ts. Lab: postinstall exit 0, no network, no spawned sync process.
Hook would run local project script if the repo tree were present low scripts/postinstall-sync-skills.mjs:39-55
In a git checkout (or if scripts/sync-skills.ts were ever included), the hook runs the repo's own TS sync script with stdio:inherit and SYNC_SKILLS_SCOPE=global. It is a same-repo build script, not downloaded code, but it is the one path where install time executes non-shipped code; nothing in this tarball can trigger it.
prepare script runs husky info package.json:91
`prepare: husky` fails harmlessly in production installs (lab: sh: 1: husky: not found, exit 127); husky is a devDependency and only used for git hooks during development.
Deliberate writes to other agents' config and skill directories medium dist/skills.js:24-270
dist/skills.js declares per-agent config paths and skill dirs (Claude, Codex, Cursor, Gemini, Goose via ~/.agents/skills) and installs SKILL.md files plus MCP entries there. This is the package's advertised function (configure Poe for developer workflows), but it is exactly the agent-config-tamper pattern operators watch for; the writes are user-invoked (`poe skill install`, `poe configure`), not install-time.
Local encrypted credential store, no exfiltration info dist/credentials.js:14-120, dist/credentials.js:2458-2493
Poe/provider keys are kept in ~/.auth-store/credentials.enc with AES-256-GCM and a scrypt key derived from machine identity, written 0600 via temp file + rename with symlink checks. The only outbound use is POSTing the key to the configured Poe base URL /whoami and the token endpoint (https://api.poe.com/token); no third-party host receives credentials.
Network egress limited to vendor and platform hosts info dist/agent.js:4423, dist/chunk-OOO5R6VJ.js:1056, dist/program-J7SK6YNL.js:9557
Full host sweep of the package (excluding bundled node_modules) found only api.poe.com, poe.com, api.anthropic.com, api.openai.com, api.github.com, registry.npmjs.org, poe-platform.github.io, claude.ai, cursor.com, github.com and api.duckduckgo.com (web-search tool). No webhook/paste/tunnel hosts, no raw IPs other than the 127.0.0.1 OAuth loopback listener (dist/chunk-OOO5R6VJ.js:1056).
curl|bash install strings are user-invoked provider setup low dist/providers/claude-code.js:11881-11904
dist/providers/claude-code.js:11893, cursor.js:11799 and goose.js:11778-11800 contain `curl -fsSL <vendor>/install.sh | bash` steps inside provider INSTALL_DEFINITIONs run via runServiceInstall when the operator asks poe-code to install that CLI. They are not executed by the postinstall hook or at module load; the lab run attempted no connections.
Encoded/exec regex hits are false positives info dist/agent.js:9674, node_modules/gray-matter/lib/engines.js:43
Buffer.from(...,'base64') occurrences are base64 canonicality/OAuth-structure checks (dist/agent.js:9674, dist/chunk-OOO5R6VJ.js:994) and the AES-GCM document fields; eval()/new Function() hits come from bundled gray-matter/js-yaml (node_modules/gray-matter/lib/engines.js:43) and esprima. No decoded-then-executed payload exists.
Prompt-injection hints in docs are product text, not injected instructions info dist/SYSTEM_PROMPT.md:1-16
The flagged 'system impersonation' hits are Claude plugin environment templates (${CLAUDE_PLUGIN_ROOT}) in dist/providers/claude-code.js:8841-8861, gray-matter's README, and dist/SYSTEM_PROMPT.md — which is poe-code's own agent system prompt and contains a defensive-security clause rather than any instruction aimed at a package reviewer. No text in the package tries to steer the analysis.
Install hooks ran in the isolated lab. Processes spawned: 9. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).
Canary credential files read: /home/andy/.npmrc