Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of blun-king-cli

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-19 15:47 UTC by dsv41-flash in 23 tool calls, with lab detonation

Summary

[email protected] is a large, legitimately-structured agent CLI. The only install hook, scripts/fix-node-pty-perms.js, chmods node-pty's darwin spawn-helper to 0755 and does nothing else; the lab run produced zero connect() calls, zero DNS lookups and no writes outside the package (the single /home/andy/.npmrc canary read is npm itself, not the hook). The flagged "credential_harvest / obfuscation / agent_config_tamper" hits come from process.env pass-through in a 900-file codebase, minified dist-web bundles (mermaid/katex/syntax grammars) and security documentation that merely contains the words "silently" and "credentials"; no exfiltration endpoint, encoded payload, persistence mechanism or decode-and-exec was found. The package does legitimately download the Node 24.15.0 runtime from nodejs.org (SHA-256 pinned) and installs into ~/.claude / ~/.codex skill roots and ~/.blun, which is its stated function and is worth knowing before installing: treat it as an agent-capable tool, not a passive library. Sibling versions 9.1.599 and 9.1.601 were previously analyzed clean.

Intent

A 66 MB AI-agent CLI ("BLUN King") that bundles an interactive agent, an AgentSpine memory/hook plugin, translation-guard skills and a Telegram bridge. Its install hook is a single chmod, and everything that touches credentials, config dirs or the network matches its documented purpose.

network_egress download_execute agent_config_tamper reconnaissance

Findings

Postinstall hook is a plain chmod info scripts/fix-node-pty-perms.js:13-35
repairNodePtySpawnHelpers() resolves node-pty, iterates node-pty/prebuilds/darwin-* and chmods spawn-helper to 0o755. No network, no exec, no files read outside node-pty. Confirmed by lab: hook exit 0, 0 connect() calls, 0 DNS names.
Lab detonation clean info andy_detonate report
2 hooks run, 6 processes (npm + the postinstall chain and the require probe), exit 0. 0 connect() calls, 0 DNS names, 0 HTTP requests, 0 files written outside the package. require() of the package failed only because package.json declares main index.js which is not shipped; real entry points are bin/blun.js and bin/king.js.
Node runtime download is integrity-pinned low bin/managed-node.js:12-37,146-153
ensureManagedNode() downloads node-v24.15.0-<platform> from https://nodejs.org/dist/... into $BLUN_HOME/runtime/node, verifies a hardcoded SHA-256 per platform, rejects non-https redirects, and only then unpacks with /usr/bin/tar or System32\tar.exe. Standard platform-binary fetch, not download-and-execute of remote code.
Update check talks only to npm registry and vendor manifest low bin/update-notice.js:20-29
REGISTRY_URL=https://registry.npmjs.org/blun-king-cli, INSTALL_REGISTRY_URL=https://registry.npmjs.org/, FALLBACK_MANIFEST_URL=https://chat.blun.ai/blun-code-version.json. Manifest is schema-validated and versions are parsed as strict semver; no environment or credential data is placed in the request body.
Writes to agent host config/skill roots (by design) low agent-spine-plugin/src/lib/codex-skill-installation.js:147, agent-spine-plugin/src/lib/source-roots.js, agent-spine-plugin/src/lib/codex-installation.js:163
The bundled AgentSpine plugin installs SKILL.md into the user's Codex/Claude skill roots and reads the CLAUDE.md / AGENTS.md / AGENTS.override.md instruction hierarchy. Its own README and CHANGELOG state that existing AGENTS.md/CLAUDE.md/SOUL.md bytes are preserved. This is the package's advertised function, but an agent operator should expect install-time modification of ~/.claude and ~/.codex.
Telegram bot token stored in plain file info LIESMICH.txt:49-57
The user pastes their own BotFather token into ~/.blun/channels/telegram/.env; the CLI reads it to drive the Telegram bridge. Expected for a Telegram-channel agent; the token stays local.
Static prescreen flags are heuristic noise info dist-web/assets/*, agent-spine-plugin/**
The crypto_wallet / ransomware / browser_theft / obfuscation tags map to bundled mermaid, KaTeX, cytoscape and ~200 syntax-highlighting grammars, and to engineering docs (e.g. translate-native/docs/PREMORTEM.md) that discuss credential rotation and 'silently skipped' rows. No eval/Function/atob/staged base64 payload was found in bin/; the only Buffer.from(...,'base64') is a sha512 integrity length check at bin/update-notice.js:79.
Large minified bundles not fully audited low blun.mjs (21 MB), worker-host.mjs (14 MB), telegram-plugin/dist/bridge.mjs (1.6 MB), dist-web/assets/index-CiPA8Kex.js (1.3 MB)
These compiled/bundled artifacts could not be exhaustively reviewed within this analysis and account for the residual uncertainty in the verdict. A targeted string search of them surfaced no unexpected exfiltration hosts.

Lab 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