Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of blun-king-cli

[email protected]

suspicious   confidence 65%   action isolate   analyzed 2026-09-24 17:51 UTC by yolo in 33 tool calls, with lab detonation

Summary

Install hook (bin/fix-node-pty-perms.js) is benign — only chmod's Darwin node-pty spawn-helper binaries. The rest of the package runs at bin/ invocation or host plugin discovery time. The agent-spine plugin reads host-native agent instruction files as a read-only context overlay and registers plugin manifests in .claude-plugin/ and .codex-plugin/. Network calls: registry.npmjs.org, chat.blun.ai, api.telegram.org. No credential theft, no encoded payload execution, no unexpected egress detected in the lab.

Intent

The package installs a legitimate node-pty permission fixer and exposes CLI bins for a local update-lease protocol. It bundles a large agent-spine plugin that reads (but does not write) host-native agent instruction files (CLAUDE.md, AGENTS.md, SOUL.md, MEMORY.md) and registers as a Claude Code / Codex plugin via .claude-plugin/ and .codex-plugin/ directories. Network calls are limited to npm registry, a fallback version-check host (chat.blun.ai), and the official Telegram Bot API.

agent_config_tamper credential_access

Findings

Install hook is benign node-pty permission fixer info bin/fix-node-pty-perms.js:28
bin/fix-node-pty-perms.js only chmod's darwin-* prebuild spawn-helper binaries to 0755. Lab: exit 0, no network, no files written outside package.
Agent config file reads (read-only overlay) low agent-spine-plugin/src/lib/preflight.js:395-397
agent-spine-plugin/src/lib/preflight.js resolves and reads CLAUDE.md, AGENTS.md, SOUL.md, MEMORY.md from host-native paths as part of a read-only context spine. No writes to these files.
Plugin registration directories bundled in tarball low agent-spine-plugin/.claude-plugin/plugin.json:1
agent-spine-plugin/.claude-plugin/plugin.json and .codex-plugin/plugin.json register the agent-spine plugin with Claude Code and OpenAI Codex hosts. Hosts discover these directories automatically.
Network calls to chat.blun.ai (fallback version check) info bin/update-notice.js:22
bin/update-notice.js fetches https://chat.blun.ai/blun-code-version.json as a fallback manifest URL. Unknown domain, not the npm registry.
Telegram Bot API calls info telegram-plugin/dist/bridge.mjs:4179
telegram-plugin/dist/bridge.mjs and mcp-server.mjs call https://api.telegram.org/bot<token>/... — official Telegram Bot API.
Static pre-screen false positives on defensive code info agent-spine-plugin/src/lib/preflight.js:28
99 credential_harvest hits are from regex matching variable names like 'secret', 'token', 'password' in defensive validation functions (requireSecret, FORBIDDEN_KEY_RE). These reject secret-shaped values, not harvest them.
Missing main entry (index.js) info package.json:53
require() of the package entry file fails: Cannot find module 'index.js'. The bins (blun, king) work independently.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 0), require (exit 0).