← all versions of blun-king-cli
[email protected]
clean confidence 75% action allow analyzed 2026-09-19 15:25 UTC by dsv41-flash in 25 tool calls, with lab detonation
Summary
The only install-time code is postinstall -> scripts/fix-node-pty-perms.js (54 lines), which resolves the node-pty package, and on darwin chmods prebuilds/darwin-*/spawn-helper to 0755; on the lab it exited 0 with no network, no spawned children and no writes outside the package. Detonation showed 0 connect() calls, 0 DNS lookups and 0 HTTP requests; the single canary read (/home/andy/.npmrc) is npm's own config read during the npm run-script invocation, not the hook. Runtime code that does touch the network is the documented product surface: the npm update notifier (registry.npmjs.org, fallback chat.blun.ai), the management runtime downloader in bin/managed-node.js (nodejs.org archive verified against a pinned SHA-256 before extraction) and the Telegram bridge. Capability to read/merge ~/.claude, ~/.codex and AGENTS.md/CLAUDE.md/SOUL.md comes from the bundled agent-spine-plugin, which is that plugin's stated purpose and is written defensively (it hash-preserves host instruction files, refuses SSRF to private ranges and refuses credentials embedded in URLs); none of that runs at install. Main/index.js is missing so require() of the package root fails — a packaging bug, not malicious behaviour. No exfiltration, obfuscated payload, persistence, or credential harvesting was found; two 20 MB+ bundled bundles (blun.mjs, worker-host.mjs) could not be exhaustively read, which is the main limit on confidence.
Intent
blun-king-cli is a large first-party AI-agent CLI (BLUN King) that ships a bundled agent runtime, a Telegram bridge (grammy), a Claude/Codex "AgentSpine" memory plugin and a web UI. Its install script only chmods node-pty's spawn-helper on macOS; the heavy capability prescreen hits come from bundled third-party assets (monaco, katex, mermaid) and from security documentation, not from malicious code.
network_egress download_execute agent_config_tamper
Findings
scripts/fix-node-pty-perms.js:13-45bin/managed-node.js:49-173bin/update-notice.js:21-23, telegram-plugin/dist/bridge.mjsagent-spine-plugin/src/lib/source-roots.js:376-395, agent-spine-plugin/README.md:24dist-web/assets/, standard-skills/translate-native/docs/PREMORTEM.mdpackage.json:60Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 0), require (exit 0).
Canary credential files read: /home/andy/.npmrc