MAL-2026-15631

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nextjsupdater/MAL-2026-15631.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15631
Published
2026-08-31T18:03:32Z
Modified
2026-08-31T18:31:21.129933996Z
Summary
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-31T18:22:29.802525556Z",
            "source": "amazon-inspector",
            "versions": [
                "1.2.1"
            ],
            "id": "IN-MAL-2026-019312",
            "modified_time": "2026-08-31T18:03:32Z",
            "sha256": "3c72c588f940a53ee4432bb472a919af2dac7e6d86344c8427764f38d6412b93"
        }
    ]
}
References
Credits

Affected packages

npm / nextjsupdater

Package

Affected ranges

Affected versions

1.*
1.2.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nextjsupdater/MAL-2026-15631.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "2811129784370d355c70a3c05b5a647fdb29821e731ac150fb6c0a24376ac0ad8a6cfd",
            "sha256": "343bfa3ca0d269c86d61de7fd3c164cb450f82397d637ea3a54d6b456d4b12a0"
        },
        {
            "path": "package.json",
            "tlsh": "9bd097102004d83316d0021804128423e4a1cc572100780e038f202cc3cea7364fe32d",
            "sha256": "62c04be2473f11c8fd2133658bac7d9e55491b04a41d4b45fba2f3967281f973"
        }
    ],
    "package_integrity": [
        {
            "filename": "nextjsupdater-1.2.1.tgz",
            "hashes": {
                "sha1": "793dff4db593edc71d126c4543775f7ffc2153b4",
                "sha512_sri": "sha512-pPONzJbaWgb4UiCycPNKOjMw5/BTv7+iJBEHFXaSYJRA4HHS99+Y8UcDESRW1KwyTLIyum7ym//oiuZIBRhOOA=="
            }
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]