VDB
Sign up

MAL-2026-15631

Malicious code in nextjsupdater (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/nextjsupdater

No fixed version published yet for nextjsupdater (npm). Pin to a known-safe version or switch to an alternative.

References