Summary
The postinstall hook scripts/postinstall-sync-skills.mjs is effectively a no-op in the published tarball: it only spawns scripts/sync-skills.ts (via tsx or `npm run sync-skills`) when that file exists, and it is not among the shipped files ("files" includes only scripts/postinstall-sync-skills.mjs), so the plan returns skip/missing-sync-script. Detonation confirms install-time silence: postinstall exit 0, 0 connect()/0 DNS/0 HTTP, the only canary read being npm's own ~/.npmrc; `prepare: husky` fails harmlessly (devDependency not installed). All flagged "credential" and "agent config" capability comes from the package's stated purpose — provider API-key management (POE_API_KEY, ANTHROPIC_API_KEY, OPENAI_API_KEY, encrypted file store / macOS keychain) and installing skills/MCP configs for claude-code, codex, cursor, gemini-cli, goose and opencode. Network destinations are only api.poe.com, poe.com, api.anthropic.com, api.openai.com, api.github.com, api.duckduckgo.com and doc/placeholder URLs; no .ssh/.aws/.env access, no hidden text, no unexpected egress. Caveat: the lab could not require() the entry file (missing deps, offline), so runtime paths of dist/*.js were read statically rather than executed.
Intent
poe-code is a genuine Poe/agent-workflow CLI and SDK for the poe-platform project. It configures Poe API credentials, installs skills/MCP configs for coding agents, and spawns provider CLIs; the large static "credential/agent-config" score reflects those documented features, not abuse.
credential_access network_egress code_execution agent_config_tamper reconnaissance
Postinstall skill-sync hook is inert as shipped info scripts/postinstall-sync-skills.mjs:23-26, package.json:110,131
scripts/postinstall-sync-skills.mjs:23-26 builds the plan against join(repoRoot, 'scripts/sync-skills.ts'); if that file is absent it returns {action:'skip', reason:'missing-sync-script'} (line 24-26) and never spawns anything. package.json:123-189 'files' ships only scripts/postinstall-sync-skills.mjs, so sync-skills.ts is not present in the tarball. The lab postinstall ran to exit 0 with no processes beyond the hook itself.
CI/opt-out guards on the hook info scripts/postinstall-sync-skills.mjs:16-55
The hook refuses to run when env.CI is set (line 16-18) and when SKIP_SYNC_SKILLS=1 (line 19-21), and uses shell:false with an argument array (line 39-54) — a deliberately conservative install-time design.
prepare hook is husky, a devDependency info package.json:91,285
package.json:91 'prepare': 'husky' — husky is listed in devDependencies (package.json:285) and is not installed for consumers, so the hook fails with 'husky: not found' (exit 127) in the lab. No production behavior.
Credential handling matches stated purpose info dist/index.js:166-184; dist/agent.js:18527-18664; packages/auth-store/dist/*
dist/index.js:166-184 and dist/credentials.js read POE_API_KEY from the environment or from an encrypted store (encrypted-file-store.js, keychain-store.js via the macOS `security` CLI). Provider API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY) are read/written at dist/agent.js:18527-18664 as part of configuring provider CLIs — the tool's documented function. No reads of .ssh, .aws, or .env files were found anywhere in the package.
Agent config / skill installation is an explicit user-invoked feature info dist/skills.js; packages/agent-skill-config/dist/apply.js; dist/cli/commands/install-skill-file.js
dist/skills.js and packages/agent-skill-config, packages/agent-mcp-config, packages/agent-hook-config write skill and MCP definitions into agent config directories, but only when the operator runs the corresponding CLI subcommands (skill install, utils symlink-skills/agents). No config path is touched at install time.
curl | bash strings are printed guidance, not executed downloads low dist/providers/claude-code.js:11893, dist/providers/cursor.js:11799, dist/providers/goose.js:11778-11791
dist/providers/claude-code.js:11893, cursor.js:11799 and goose.js:11778-11791 contain 'curl -fsSL https://claude.ai/install.sh | bash' and equivalents only inside user-facing install instruction strings for third-party CLIs; the package does not fetch or execute them itself.
Prompt-injection prescreen hits are false positives info dist/providers/claude-code.js:8841-8861; README.md:183-237
The 'system impersonation' hits are template placeholders such as ${CLAUDE_PROJECT_DIR}/${CLAUDE_PLUGIN_ROOT} in dist/providers/claude-code.js:8841-8861, and the README hits are TypeScript usage examples (README.md:183-237). No zero-width or concealing characters were found (only esprima's Unicode tables matched), and no text addressed at an AI reader was discovered.
Network egress limited to expected vendor endpoints info dist/agent.js:4423,18542-18661; dist/chunk-OOO5R6VJ.js:698,1265-1266; dist/chunk-2BJTG7OS.js:20529
URLs across the package are api.poe.com / poe.com (auth, models, whoami), api.anthropic.com, api.openai.com/v1, api.github.com/graphql, api.duckduckgo.com, plus schema IDs and documentation links (json-schema.org, poe-platform.github.io, podman.io) and reserved placeholders (toolcraft.invalid, gateway.example). No unknown host or raw-IP egress exists.
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