MAL-2026-15631
Dashboard / Malicious Package / MAL-2026-15631
MAL-2026-15631
Summary: Malicious code in nextjsupdater (npm)
Details: Source: amazon-inspector (3c72c588f940a53ee4432bb472a919af2dac7e6d86344c8427764f38d6412b93) The package presents itself as a Next.js update tool but its exported downloadAndRunUpdate function in index.js retrieves updater.hta from https://raw.githubusercontent.com/Acevatex/Testprogram/main/updater.hta, writes it to the OS temp directory, and executes it via spawn("cmd.exe", ["/c", destPath], { detached: true, windowsHide: true }). The fetch targets a mutable main branch of a personal GitHub account unrelated to the npm publisher and unrelated to Next.js, with no version pin and no integrity check, so whatever bytes that repository serves at invocation time run on the Windows host with the invoking user's privileges and no visible window. The package name and description mirror Next.js tooling to make the dropper appear legitimate.
Affected packages
Package
Name: nextjsupdater
Purl: pkg:npm/nextjsupdater
Affected ranges
Type: N/A
Events:
