Summary
postinstall runs node scripts/postinstall-sync-skills.mjs, which only spawns `tsx scripts/sync-skills.ts` (or `npm run sync-skills`) when that file exists; scripts/sync-skills.ts is not shipped in the tarball, so the hook is a no-op (lab: exit 0, no processes beyond npm, no network). The package's agent-config behaviour (~/.claude/skills, ~/.codex/skills, ~/.cursor, ~/.gemini, ~/.agents/skills, AGENTS.md handling) and its encrypted local credential store (~/.auth-store/credentials.enc, AES-256-GCM) match the advertised purpose, and all outbound hosts are api.poe.com / poe.com / api.anthropic.com / api.openai.com / github.com plus 127.0.0.1 OAuth loopback. No obfuscated payload, no download-and-execute, no environment or credential exfiltration to a third-party host was found.
Intent
poe-code is the Poe Platform CLI that proxies coding agents (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Goose) through the Poe API: it writes those agents' config/skill files and stores a Poe API key locally. The heavy static flags come from the deliberate, documented configuration of other agents' directories, not from hidden behaviour.
agent_config_tamper credential_access network_egress code_execution reconnaissance
postinstall hook is inert in the published tarball info scripts/postinstall-sync-skills.mjs:16-26
scripts/postinstall-sync-skills.mjs builds a plan and skips when scripts/sync-skills.ts is absent (createPostinstallSkillSyncPlan, lines 23-26); the `files` list in package.json ships only scripts/postinstall-sync-skills.mjs, and grep confirms scripts/sync-skills.ts is not present. Lab detonation: hook exit 0, no child processes other than npm's own runner, 0 connect()/DNS/HTTP.
prepare: husky fails harmlessly low package.json:91
prepare runs `husky`, which is a devDependency and not installed for consumers; lab shows `sh: 1: husky: not found` (exit 127). No effect on the environment.
Writes other agents' skill/config directories (intended feature) medium packages/agent-skill-config/dist/configs.js:4
packages/agent-skill-config/dist/configs.js:4-30 maps global skill dirs ~/.claude/skills, ~/.codex/skills, ~/.cursor/skills-cursor, ~/.gemini/skills, ~/.config/opencode/skills, ~/.agents/skills; dist/cli/commands/install-skill-file.js:22-52 installs SKILL.md with diff-before-overwrite and skip-if-exists. This is the package's stated function (configure agents), and the installed skill markdown contains no exfiltration or instruction-override text (grep for 'ignore previous', 'exfiltrate', 'send the key' = 0 hits).
Local credential store is encrypted and only used for the Poe key low packages/auth-store/dist/encrypted-file-store.js:40-111
packages/auth-store/dist/encrypted-file-store.js:1-111 stores secrets at ~/.auth-store/credentials.enc with aes-256-gcm, scrypt-derived key, 0600 perms, symlink checks; network use in dist/credentials.js:2491-2499 is a plain fetch to api.poe.com endpoints (/v1/whoami).
No unexpected egress hosts or embedded encoded payloads info dist/credentials.js:2491
All literal URLs in dist/ resolve to api.poe.com, poe.com, api.anthropic.com, api.openai.com, github.com, api.github.com, json-schema.org, toolcraft.invalid (schema placeholder), poe-platform.github.io and http://127.0.0.1 loopback for the OAuth callback. No base64/rot13 blob is decoded into eval/new Function outside of third-party js-yaml/gray-matter (CVE-prone but not used on attacker input here) and the AES code.
Lab read of the canary ~/.npmrc is npm's, not the package's info LAB REPORT
The detonation report lists /home/andy/.npmrc as read; this occurs because npm itself reads the user config while running the install scripts. The package's own hooks touch no home-directory credential paths.
Static pre-screen flags are bundler artifacts info dist/agent.js:18555, dist/chunk-2BJTG7OS.js:29507
The high volume of credential_access/credential_harvest/obfuscation hits comes from 54 MB of bundled monorepo chunks (dist/agent.js, chunk-*.js, *.js.map) plus text like provider env var names (ANTHROPIC_API_KEY, OPENAI_API_KEY) and encrypted-store base64 fields. No single file performs concealed collection or transfer.
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