Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of poe-code

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-19 17:55 UTC by dsv41-flash in 19 tool calls, with lab detonation

Summary

The postinstall hook scripts/postinstall-sync-skills.mjs only spawns `scripts/sync-skills.ts` (via tsx or `npm run sync-skills`) if that file exists; it is not in the published file list, so the plan returns action:"skip" (reason "missing-sync-script") and the hook is a no-op — confirmed by the lab (exit 0, no network, 0 connections). `prepare: husky` fails harmlessly with `husky: not found` and never runs for registry installs. The static prescreen's credential_access / credential_harvest / agent_config_tamper hits come from the package's stated purpose: storing the Poe API key in an encrypted file or macOS Keychain (packages/auth-store) and installing skill files into ~/.claude/skills, ~/.codex/skills, ~/.cursor/skills-cursor, ~/.gemini/skills, ~/.agents/skills. All network destinations are first-party or well-known (api.poe.com, api.anthropic.com, api.openai.com, github.com, poe-platform.github.io); no encoded blobs, no eval of downloaded content, no reads of ~/.ssh, ~/.aws or ~/.npmrc by package code (the single canary read of ~/.npmrc is npm's own config load).

Intent

[email protected] is a large (53 MB, 1500-file) bundled CLI/SDK from poe-platform that configures Poe API access for developer workflows and integrates with agent CLIs (claude-code, codex, cursor, gemini-cli, goose, opencode) and their skill directories. Its install-time code is inert: the postinstall hook exits without spawning anything, and the flagged "credential"/"agent config" hits are the package's documented feature set, not concealment.

network_egress code_execution agent_config_tamper credential_access

Findings

postinstall hook is a no-op in the published tarball info scripts/postinstall-sync-skills.mjs:23-26
createPostinstallSkillSyncPlan() checks existsSync(join(root,'scripts/sync-skills.ts')) and returns {action:'skip', reason:'missing-sync-script'} because scripts/sync-skills.ts is absent from the package `files` list and from the extracted tarball (andy_read_file returned ENOENT). Lab confirms: postinstall exit 0 with no child processes beyond the shell, 0 network calls.
No network egress at install time info lab report
andy_detonate: 0 connect() calls, 0 DNS names, 0 HTTP requests, 0 TLS SNI across all hooks plus a require() of the entry point. The require itself failed only because dependencies are not installed in the lab.
prepare:husky is standard and inert here info package.json:91
"prepare":"husky" is the conventional husky git-hook installer; it exited 127 (`sh: 1: husky not found`). `prepare` does not run for registry installs anyway.
Credential handling matches the stated purpose low packages/auth-store/dist/keychain-store.js:20-52, packages/auth-store/dist/encrypted-file-store.js:58-60
packages/auth-store/dist/keychain-store.js uses `security find-generic-password/add-generic-password/delete-generic-password` and packages/auth-store/dist/encrypted-file-store.js uses AES-GCM with scrypt-derived keys to store the caller's own Poe/provider API keys. The many ANTHROPIC_API_KEY / OPENAI_API_KEY / POE_API_KEY references in dist/providers/* are provider configuration descriptors (env var names, base URLs), not reads of third-party secret stores.
Agent config/skill writes are the advertised feature low packages/agent-skill-config/dist/configs.js:6-28, packages/agent-skill-config/dist/apply.js:98-102
packages/agent-skill-config/dist/configs.js maps globalSkillDir to ~/.claude/skills, ~/.codex/skills, ~/.cursor/skills-cursor, ~/.gemini/skills, ~/.config/opencode/skills, ~/.agents/skills; apply.js explicitly refuses to force-remove the shared skills root. This is what `poe-code skill`/`sync-skills` are documented to do.
Documented one-line installer for Claude Code is user-initiated info dist/providers/claude-code.js:11893
dist/providers/claude-code.js contains `curl -fsSL https://claude.ai/install.sh | bash` as guidance to install Anthropic's own CLI when configuring that provider; it is emitted to the user during setup, not executed by an install hook. Similar third-party installer references appear for Docker/Podman. No execution observed in the lab.
Prescreen prompt-injection hints are false positives info dist/providers/claude-code.js:8841,8861; node_modules/gray-matter/README.md:97
The 'system impersonation' hits are template placeholders such as ${CLAUDE_PROJECT_DIR}, ${CLAUDE_PLUGIN_ROOT}, $(git rev-parse --show-toplevel) and a gray-matter README code sample. Grep for 'ignore previous instructions', 'disregard', 'do not tell', 'exfiltrate' across all 1499 text files returned zero matches; no hidden text addressed to an AI reader.
Version history corroborates provenance info package.json:2-4, repository field
andy_ioc_lookup for poe-code returns clean 17.0.18, 17.0.19 and 17.0.20; 17.0.21 is a contiguous release of the same package with the same repository (github.com/poe-platform/poe-code). No typosquat or name/lifecycle mismatch.

Lab evidence

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