NetSight
criticalMalware report

GHSA-fvvj-g7hq-q83p

Malicious code in bcdt (npm)

Impact

On install, the postinstall script ("node trg7rt9t.cjs") runs an obfuscated loader (trg7rt9t.cjs). The loader reads a C2 string from an Ethereum smart contract (getString) through public RPC providers. It then downloads a platform-specific binary (node-linux / node-macos / node-win.exe) to the temp directory, makes it executable and runs it detached. In the OpenSSF Package Analysis sandbox it connected to 193.233.201.21:3001, ran "sudo -n true" and wrote /tmp/node-linux. It shares the C2 IP and contract wallet(s) with a November 2024 campaign of npm droppers already in this database (e.g. MAL-2024-10688 agentbas, MAL-2024-10692 axios-mockadptr, MAL-2024-10917 bignum.js). Published 2024-11-01. Reported to npm on 2026-11-25 and replaced with a security holding package (0.0.1-security) the same day. Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected packages

EcosystemPackageAffectedFixed in
npmbcdt>= 0none recorded

Weakness classification

References