Summary
The only install-time code is postinstall -> scripts/fix-node-pty-perms.js, which chmods node-pty's macOS spawn-helper to 0755 and nothing else; detonation showed exit 0, zero network calls and no writes outside the package (the single /home/andy/.npmrc read is npm's own config read, not the hook). The heavy static-prescreen hits come from 60+ MB of minified bundled web assets (shiki/mermaid/katex/monaco in dist-web/) and from large, defensively written agent runtime code: network use is limited to registry.npmjs.org, nodejs.org (Node runtime pinned to hard-coded SHA-256), chat.blun.ai (update manifest, allowlisted to *.blun.ai) and api.telegram.org via the bundled grammY bot. Agent-config writing is real but scoped and documented: first run of bin/blun.js copies its own telegram/agent-spine plugins and skills into ~/.blun/plugins and ~/.blun/mcp.json, and agent-spine can publish a SKILL.md into the Codex user skill root (~/.agents/skills) with digest markers; it reads (does not silently rewrite) CLAUDE.md/AGENTS.md/settings.json chains for context. No base64/hex payload, eval-of-blob, env dump to a third party, or persistence outside the vendor's own directories was found.
Intent
blun-king-cli is what it claims: a large commercial AI-agent CLI (BLUN) with a Telegram channel, bundled web UI, and an "agent-spine" plugin that it installs into the user's own ~/.blun profile. Its install hook is a single node-pty permission fix; no credential theft, obfuscated payload, or unexpected egress was found.
network_egress download_execute code_execution agent_config_tamper persistence credential_access reconnaissance
Postinstall hook is a benign chmod info scripts/fix-node-pty-perms.js:13-54, package.json:12
postinstall runs scripts/fix-node-pty-perms.js, which only resolves node-pty's prebuilds dir and chmods darwin-*/spawn-helper to 0o755 (repairNodePtySpawnHelpers, lines 13-35); on non-darwin it returns immediately. No fs writes elsewhere, no network.
Detonation: no network, no unexpected file access info lab report (andy_detonate)
Lab run: hooks run 2, postinstall exit 0, 0 connect() calls, 0 DNS names, 0 HTTP requests, no files written outside the package. The reported canary read of /home/andy/.npmrc is attributable to the npm CLI process (npm run-script) rather than to the hook code.
Network egress is restricted to expected endpoints low bin/update-notice.js:21-23,185-201; bin/managed-node.js:12-37,145-153
Only registry.npmjs.org (self-update), nodejs.org (managed Node runtime download for darwin/win32 with pinned sha256 and redirects forced to https), chat.blun.ai/blun-code-version.json (update fallback manifest; notes URL validated to host blun.ai or *.blun.ai) and api.telegram.org. No unknown or suspicious hosts.
Downloads and installs a Node.js runtime, hash-pinned low bin/managed-node.js:49-174
ensureManagedNode downloads node v24.15.0 from nodejs.org into BLUN_HOME/runtime/node after verifying a hard-coded SHA-256, and refuses unsafe redirects/oversized archives. This is the standard prebuilt-binary pattern, not a download-and-execute of remote code.
Writes into the user's own agent profile (~/.blun) at first run low bin/plugin-bootstrap.js:82-156, bin/standard-tools-bootstrap.js:182-265
installManagedTelegramPlugin / installManagedAgentSpinePlugin copy packaged plugins and register them in ~/.blun/plugins/installed.json; seedStandardTools edits ~/.blun/mcp.json; seedStandardDesignSkill copies a skill into ~/.blun/skills. All destinations are inside the vendor's private BLUN_HOME directory, with atomic writes and 0700/0600 modes.
Can publish a skill into a host agent's skill root (Codex) medium agent-spine-plugin/src/lib/codex-skill-installation.js:147-211
installCodexSkill writes SKILL.md into ~/.agents/skills/agent-spine (defaultCodexSkillsRoot) with a sealed install marker and digest checks, and refuses to touch an unmanaged existing directory. This is the documented function of the shipped plugin, but it does place third-party instructions where another agent host will load them.
Ships always-on agent rules intended for AGENTS.md/CLAUDE.md medium standard-skills/translate-native/integrations/AGENT_RULES.md:1-33
standard-skills/translate-native/integrations/AGENT_RULES.md instructs that these rules be applied as 'always-on instructions in AGENTS.md, CLAUDE.md, or the equivalent global instruction file'. The rules themselves only gate user-visible output through the vendor's language-guard MCP; they contain no instruction to conceal actions from the user or to exfiltrate data.
Reads host instruction files and mcp/settings JSON for context low agent-spine-plugin/src/lib/source-roots.js:238-265,332-372
source-roots.js enumerates CLAUDE.md, CLAUDE.local.md, .claude/rules, settings.json/settings.local.json, ~/.codex AGENTS.md and Codex memories to build a preflight context. Reads are digest-bound and documented as byte-preserving; no evidence of rewriting without explicit confirmation flows.
Subprocess execution with env credentials limited to local, user-configured adapters low agent-spine-plugin/src/lib/preflight.js:434-470
preflight.js spawns a user-configured retrieval adapter executable and passes only the env variable names listed in local policy; the language guard is started as python3 standard-tools/language-guard/blun_language_guard.py with a signing-key path under ~/.blun/secrets. Credentials are not sent anywhere by the package itself.
Static-prescreen flags are mostly false positives info dist-web/assets/*, telegram-plugin/dist/*.mjs
The 73 'obfuscation' / 45 'crypto_wallet' / 'ransomware' hits trace to minified third-party bundles under dist-web/ (shiki grammars, mermaid, katex, cytoscape, monaco) and 1.6-1.8 MB telegram-plugin/dist bundles of grammY; the two 'raw IPs' 178.04.183.04 / 131.05.136.05 only match digits inside those minified files. 'prompt-injection' hints are ordinary prose containing words like 'silently'.
Packaging bug, not malice info package.json:60
package.json declares "main": "index.js" but no index.js is shipped, so require('blun-king-cli') fails. The real entry points are the bin entries bin/blun.js and bin/king.js.