Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of 02-echo

[email protected]

suspicious   confidence 60%   action isolate   analyzed 2026-09-24 23:18 UTC by yolo in 4 tool calls, with lab detonation

Summary

preinstall runs node setup_bun.js which downloads https://bun.sh/install and pipes it to bash, installing a third-party runtime (Bun) on the host. No credential theft or data exfiltration observed; code is transparent. Unrelated download-execute at install time for a package named "02-echo".

Intent

Package claims to be an echo utility (02-echo) but its preinstall hook attempts to download and install the Bun JavaScript runtime from bun.sh — an unrelated binary, executed on the host at install time.

download_execute code_execution reconnaissance

Findings

Download-and-execute unrelated runtime at install time high setup_bun.js:71-74
preinstall hook (setup_bun.js:74) runs curl -fsSL https://bun.sh/install | bash (Linux/macOS) or powershell -c 'irm bun.sh/install.ps1|iex' (Windows), downloading and executing code from bun.sh.
Shell profile file access for PATH reload low setup_bun.js:32-36
Reads ~/.bashrc, ~/.bash_profile, ~/.profile, ~/.zshrc to update process.env.PATH (setup_bun.js:32-36). System reconnaissance; benign intent but unexpected for an 'echo' utility.
Mismatch between package name and behavior medium package.json:2, setup_bun.js:74
Package named 02-echo (suggesting a simple echo utility) but installs the Bun runtime — a completely unrelated JavaScript runtime.

Lab evidence

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

Canary credential files read: /etc/passwd