Summary
The package ships a postinstall hook (scripts/postinstall-sync-skills.mjs) that resolves a plan and only spawns work when a repo-local scripts/sync-skills.ts exists — a file that is NOT in the published tarball (package.json files[] ships only the .mjs), so it skips. Detonation confirms: postinstall exited 0, no child processes beyond npm/node/sh, zero connect() calls, zero DNS, zero HTTP. The numerous credential/config/browser hits are the product's declared function: a local AES-encrypted secret store under ~/.poe-code/credentials.enc for the user's own Poe key, and config writers for ~/.claude.json, ~/.codex, ~/.cursor etc. invoked by `poe-code configure`/`install`. The single canary read (/home/andy/.npmrc) is npm's own user-config read during the hook run, not package code — nothing in the package references .npmrc. Verdict: clean; the prescreen noise comes from a 54 MB monorepo bundle (source maps, agent SDKs, terminal UI).
Intent
poe-code is a legitimate CLI from the poe-platform GitHub org that configures Poe API credentials into developer agent CLIs (Claude Code, Codex, Cursor, Gemini CLI, Goose, OpenCode), installs skill/AGENTS.md files and runs agent pipelines. All credential access and agent-config writes happen on explicit user commands, not at install time; the postinstall hook only attempts a repo-local skill sync and no-ops in an installed package.
credential_access agent_config_tamper code_execution reconnaissance network_egress
Postinstall hook is inert in published installs info scripts/postinstall-sync-skills.mjs:16-56
scripts/postinstall-sync-skills.mjs builds a plan that returns {action:'skip', reason:'missing-sync-script'} unless <root>/scripts/sync-skills.ts exists; package.json files[] ships only 'scripts/postinstall-sync-skills.mjs', so the TS sync script is absent from the tarball. The script also honors CI and SKIP_SYNC_SKILLS=1 and uses spawnSync with shell:false. Lab: exit 0, no additional npm/tsx child process, no network.
prepare hook is husky (dev-only, fails harmlessly) info package.json:91
'prepare': 'husky' exited 127 with 'husky: not found' in the lab because husky is a devDependency and devDependencies are not installed in the sandbox — expected, not an attack indicator.
Credential handling is scoped to the user's own Poe key low dist/index.js:166-208, dist/credentials.js:2466
dist/index.js getPoeApiKey() reads POE_API_KEY from env or an AES-encrypted file store (~/.poe-code/credentials.enc, scrypt-derived key) and uses it only as a Bearer token against https://api.poe.com/v1 (/whoami). No harvesting of ~/.ssh, ~/.aws, .env files or other tools' token stores; grep for those paths and for base64/eval-launched payloads returned nothing.
Agent config writes match the stated purpose and are user-invoked low dist/skills.js:11-52
packages/agent-defs and packages/agent-skill-config describe config paths such as ~/.claude.json, ~/.config/Claude/claude_desktop_config.json, and per-agent skill dirs; these are written/patched by explicit `poe-code configure|install|skill` subcommands (with --dry-run support), never from the install hooks.
Vendor CLI installers download-and-execute official install scripts low dist/providers/claude-code.js:11881-11904, dist/providers/cursor.js:11799, dist/providers/goose.js:11778-11791
'poe-code install <provider>' runs the vendor's own installer, e.g. bash -c 'curl -fsSL https://claude.ai/install.sh | bash' and 'curl https://cursor.com/install -fsS | bash' (goose: GitHub releases download_cli.sh). User-triggered, dry-run aware, first-party domains only — consistent with the advertised configure/install feature, not covert download-execute.
Prescreen 'prompt injection' and 'credential harvest' hits are false positives info dist/providers/claude-code.js:8841-8861, dist/agent.js:3953-3955
The injection hints are CLAUDE_PLUGIN_ROOT/CLAUDE_PROJECT_DIR template variables and gray-matter README text; 'obfuscation' hits are legitimate base64 IV/authTag handling in the encrypted credential store and a base64 round-trip validation helper. A grep for classic injection phrasing ('ignore previous instructions', 'do not tell the user') across all 1499 text files returned zero matches.
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