MAL-2026-20423

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wiwusen/MAL-2026-20423.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20423
Published
2026-11-24T05:40:45Z
Modified
2026-11-24T06:30:06Z
Summary
Malicious code in wiwusen (npm)
Details

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

Source: amazon-inspector (5c757f93bd18189d86c86362ebbfea27a8932f11be1bd619a9e2ad3510a0531d)

wiwusen@2.0.0 ships a nested package under payload/ (dudovemek@2.0.0) whose package.json declares a prepare lifecycle script that runs node prep.js. On install, prep.js executes cp.execSync('id') to capture the installer's uid/gid/group output and writes it, along with a canary marker, into files under the installer's $HOME directory ($HOME/.npmjs-mirror-dfa-canary-* and $HOME/.npmjs-mirror-dfa-id-*) with mode 0o600, and emits a PAYLOAD-PREPARE-EXECUTED log line. This demonstrates arbitrary code execution and host-identity capture in the installer's account at install time without any user action. The top-level manifest also declares bundleDependencies: ["zzz-missing"] without shipping that dependency in the tarball, causing npm to resolve the name from the registry at install time and expand the install-time code surface to whatever that name resolves to.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023080",
            "import_time":  "2026-11-24T06:19:37.324454183Z",
            "modified_time":  "2026-11-24T05:40:45Z",
            "sha256":  "5c757f93bd18189d86c86362ebbfea27a8932f11be1bd619a9e2ad3510a0531d",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / wiwusen

Package

Affected ranges

Affected versions

2.*
2.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":  "ac020fb5904854e10facfd3020cb567180e39a7b6259a28da875c9b6e87e77ea",
            "tlsh":  "dbe0abc397ac93f43680f124993bb303494b5500b50060f95079883a37ee1190e934f8"
        },
        {
            "path":  "package.json",
            "sha256":  "db8680d76433bf2447a96fdd02cd1c70e23762c37985c52d2eff79a10dd50c85",
            "tlsh":  "b5c08093941072b305fe25f08c649153c7614d07c114bc0c55d6d109431d0f7357d714"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "wiwusen-2.0.0.tgz",
            "hashes":  {
                "sha1":  "e2b0efdfbb4d3b7667c539982e4f45d178d64101",
                "sha512_sri":  "sha512-LhbpFh8yJ9YcAMC0YebyufQp0qYleirz2cyAaCTPqxSr0NZGCwJYFy5nFriqqrqBnUdfK9Xod5Iq8YmIVUgGSg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wiwusen/MAL-2026-20423.json"