Armando found that imgdecode v1.0.0, published to npm on 2026-09-30, ships a prebuilt Windows native addon with no source code and, as soon as it is loaded in an interactive terminal, waits for a decrypted file that its dependency imgbundle writes into cdn-img-fetch's package folder, then passes those bytes to the addon. The release is the execution stage of a chain in which cdn-img-fetch downloads an encrypted file from GitHub and imgbundle decrypts it.
Key Findings
- Malicious version: v1.0.0, published 2026-09-30; this is the first release, and later versions 1.0.1 to 1.0.3 are also malicious
- Entry point: no install hook -- the code runs on import, in index.js, the package
main
- Targets: Windows -- the only addon shipped is
prebuilds/win32-x64/imgdecode.node
- Evasion: a precompiled DLL with no
binding.gyp or native source, a terminal-only trigger (process.stdout.isTTY) that skips piped and CI runs, a file watcher that fires when the decrypted file appears, swallowed errors, and download, decryption and execution split across three packages from three npm accounts
- Detection: Archive-GZIP.Downloader.SupplyChain, Archive-TAR.Downloader.SupplyChain, Script-JS.Downloader.SupplyChain, Text.Downloader.SupplyChain, Win64.Downloader.SupplyChain
Package Background
imgdecode describes itself as a "Native image buffer decoder for Node.js build pipelines". Its package.json names the author "build-tools-community", declares no source repository, and publishes only index.js, the readme and a prebuilds folder. Spectra Assure Community records no direct dependents.
It was published by the npm account malfexteste8, which has no other packages, at 22:32 UTC on 2026-09-30. The account name follows the series behind the earlier cdn-img-fetch (malfexteste2), img-to-native (malfexteste3) and native-runner (malfexteste4), and the later imgbundle (malfexteste6) and runhelper (malfexteste7). Unlike its companions, imgdecode was still listed on npm when this analysis was written.
Attack Analysis
There is no install hook; the trigger is any .