Malicious code in bianira-ui (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11132
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a775549df738e414db9982a4695da893427c09ccc63cd520917c1b73476f4336) plugin.js (the package main) contains an appended top-level IIFE that runs on any require/import of the package. Every network-related identifier (http/https/child_process, URL, RPC method names, C2 host, attacker address, request paths) is written as \uXXXX unicode escapes to evade static inspection. The payload queries Ethereum RPC endpoint eth.drpc.org for the latest transaction sent by hardcoded address 0xa322e5f3d311d3080e6f0121063e9adc2490ef1a, derives a C2 IP from the first 4 bytes of that transaction's `to` field (blockchain dead-drop C2 resolution), then fetches two XOR-encrypted payloads over plain HTTP from paths /0x/cls and /0x/ls on the derived host. The first payload is passed to eval(); the second is executed by spawning `node -e` with the decoded content as the argument. This yields full remote code execution on any machine that installs and imports the package, with the C2 endpoint dynamically rotatable by the attacker through new Ethereum transactions.
- Source published
- 28 Jul 2026 13:41:20 UTC
- Source modified
- 28 Jul 2026 14:36:51 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.