Summary
The postinstall hook (node scripts/postinstall-sync-skills.mjs) computes a plan to run scripts/sync-skills.ts via local tsx or `npm run sync-skills`, but that script is not in the published files list, so the hook exits 0 doing nothing — the lab confirms it spawns nothing and makes zero network connections. `prepare: husky` is a dev-only no-op for registry installs (husky is a devDependency; lab shows exit 127 "husky: not found"). The flagged "credential harvest"/"obfuscation"/"agent config tamper" hits are the product: AES-256-GCM encryption of its own credential file, macOS `security find-generic-password` for its own keychain item, and writing/reading other agents' config paths (~/.claude.json, ~/.codex/config.toml) as part of `poe-code configure`. Neighbouring versions 17.0.18–17.0.21 are already published clean. No exfiltration endpoint, no env or credential upload, no encoded payload was found anywhere in 1500 files.
Intent
poe-code is what it claims to be: a CLI/SDK that configures the Poe API for developer workflows and for other coding agents (claude-code, codex, cursor, gemini-cli, goose, opencode), storing its own Poe credential in ~/.poe-code/credentials.enc or the macOS Keychain. Its install hooks do nothing malicious in the published artifact; the static pre-screen's credential/obfuscation/agent-config hits are all explained by that declared functionality.
credential_access network_egress agent_config_tamper download_execute
Postinstall hook is inert in the published tarball info scripts/postinstall-sync-skills.mjs:9-73
createPostinstallSkillSyncPlan() only spawns when scripts/sync-skills.ts exists (line 23-26, 'missing-sync-script' skip). The package's files[] ships only scripts/postinstall-sync-skills.mjs, and grep for 'sync-skills' finds no such .ts file, so the hook returns skip. Lab: postinstall exit 0, no child processes, 0 connections.
prepare: husky is a dev-only script info package.json:91
husky is listed in devDependencies (package.json:285) and is not installed for registry consumers; npm does not run prepare for published tarballs. Lab run: 'sh: 1: husky: not found', exit 127.
Credential storage is the package's own secret store info packages/auth-store/dist/create-secret-store.js:19-39, packages/auth-store/dist/keychain-store.js:20
createSecretStore/resolveBackend reads only its own backend env var (POE_AUTH_BACKEND/AUTH_BACKEND), and KeychainStore executes `security find-generic-password -s <own service> -a <own account> -w`. The encrypted file store uses AES-GCM with base64 iv/authTag/ciphertext fields — the source of the 'obfuscation' hits. No other tool's credential store, ~/.ssh, ~/.aws/credentials or ~/.git-credentials is touched (grep found no such paths).
Writes to other agents' config/skill paths are the declared feature low dist/skills.js:10-74
dist/skills.js and packages/agent-skill-config/* build paths such as ~/.claude.json, ~/.codex/config.toml, ~/.config/Claude/claude_desktop_config.json and AGENTS.md handling, invoked by the `configure`, `skill`, `install` commands. Nothing writes to these paths at install or require time; the postinstall plan never fires.
Installer download commands are user-triggered provider setup low dist/providers/claude-code.js:11893, dist/providers/cursor.js:11799, dist/providers/goose.js:11778-11800
Provider definitions embed official vendor installers: `curl -fsSL https://claude.ai/install.sh | bash` (and install.ps1), `curl https://cursor.com/install -fsS | bash`, and block/goose's download_cli.sh. These run only when the operator invokes the install/configure path for that provider, and point at the vendors' own hosts — not at download-and-execute of an unknown payload.
No exfiltration channel and no encoded payload info dist/agent.js:13351, dist/chunk-KCU7F5KW.js:10423
Grep found no webhook/pastebin/telegram/discord/ngrok/OAST hosts, no eval/new Function/atob outside node_modules/gray-matter (js-yaml function tag, a known library false positive), and no long base64 literal (>200 chars) that could hide a payload. process.env is only spread into child processes and test containers (options.env, Object.entries(process.env) for spawn env), never serialized to a remote host.
Prompt-injection hints in the pre-screen are false positives info dist/providers/claude-code.js:8841-8861, node_modules/gray-matter/README.md:97
The 'inj:system_impersonation' hits are CLI template literals such as `projectDir: "${CLAUDE_PROJECT_DIR}"` in provider config templates, and gray-matter's README code sample. No text in the package addresses an AI reader or tries to steer a verdict.
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