MAL-2026-21082

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nocuhel/MAL-2026-21082.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21082
Published
2026-12-03T20:38:44Z
Modified
2026-12-03T20:45:10Z
Summary
Malicious code in nocuhel (npm)
Details

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

Source: amazon-inspector (a3ca29b99714d4efa3fc100dc78d29b2a3fcc524a42f217720a2ee4bd8b35cf8)

The nocuhel tarball bundles a nested package directory (payload/wiwusen) whose package.json declares a prepare lifecycle script running node prep.js. prep.js writes a marker file into the installer's $HOME and invokes /bin/sh -c 'id >...', demonstrating arbitrary command execution during npm install. The outer manifest declares bundleDependencies:["decoy"] while the nested directory is named wiwusen - a packaging mismatch that smuggles the lifecycle-carrying sub-package past casual manifest review. The behavior fires automatically on default install via the nested prepare hook; the shelled-out id capture and marker drop in $HOME are a classic install-time ACE proof-of-concept with no legitimate build or runtime purpose.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023225",
            "import_time":  "2026-12-03T20:41:50.493664060Z",
            "modified_time":  "2026-12-03T20:38:44Z",
            "sha256":  "a3ca29b99714d4efa3fc100dc78d29b2a3fcc524a42f217720a2ee4bd8b35cf8",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nocuhel

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "payload/prep.js",
            "sha256":  "406cbce61060140bfee0bac5c893d7558fd436ed70e10281bae31e34f3ba4374",
            "tlsh":  "e7d0c2864bb606e9be8447b2352ea0099d57a003329151e8a0dac08b6a6622b1e230f1"
        },
        {
            "path":  "package.json",
            "sha256":  "d5cc743ca5bf7524583efc57eaba24d2080f6be7d35f33cbead0c804270108f0",
            "tlsh":  "bcb012501850f26326b7fbf16c148453c330230c6288c04c48d4300aa2adbfe6016330"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "nocuhel-1.0.0.tgz",
            "hashes":  {
                "sha1":  "50617a0c085870fbe9cc7c063786508b1ec47b84",
                "sha512_sri":  "sha512-OT+50gmaC2787zrKYXXqBPhKE8H7JfWoLL1C6v5x/j8WfbFxg0XH5CjUQsgvOTp6om+10LUwZ5ajINVK/wp8ig=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nocuhel/MAL-2026-21082.json"