MAL-2026-20265

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jmrwd-gjdob-util/MAL-2026-20265.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20265
Aliases
  • GHSA-vm96-5m7m-hr25
Published
2026-11-20T01:02:15Z
Modified
2026-11-20T02:30:08Z
Summary
Malicious code in jmrwd-gjdob-util (npm)
Details

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

Source: amazon-inspector (07f940c4e474df4e519fef56fb93112839d41ea5c2ca9c28a32cbed6195c3d25)

On require of this package, index.js reads a numeric byte array from a non-standard _b field inside package.json, XORs each byte with 0x96, and stashes the resulting string on globalThis. lib/runner.js then compiles and runs that string via Function('require','__dirname', <decoded>)(require, __dirname). The decoded payload in this version is a console.log(1) stub, but the mechanism is a generic staged loader: the manifest carries the actual JavaScript source as encoded data, hidden from normal inspection, and any republished version can swap in arbitrary code without touching the shipped JS. The package has an empty exports object, an empty README, and a random-looking name, so it provides no library functionality — the only effect of loading it is to execute attacker-controlled code reconstructed from a concealed manifest field. This is the characteristic shape of a staged npm dropper shell.

Source: ghsa-malware (9948c5afdd593448c2e7b97b8eb54131b3d82374a47e099c12394b0878828539)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-vm96-5m7m-hr25",
            "import_time": "2026-11-20T01:17:45.960640577Z",
            "modified_time": "2026-11-20T01:02:16Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "9948c5afdd593448c2e7b97b8eb54131b3d82374a47e099c12394b0878828539",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022918",
            "import_time": "2026-11-20T02:16:23.024879344Z",
            "modified_time": "2026-11-20T02:09:24Z",
            "sha256": "07f940c4e474df4e519fef56fb93112839d41ea5c2ca9c28a32cbed6195c3d25",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / jmrwd-gjdob-util

Package

Name
jmrwd-gjdob-util
View open source insights on deps.dev
Purl
pkg:npm/jmrwd-gjdob-util

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "f364c171be9cfd72f260a52f05f44d079339eb8f9a11fb24471abfa295ec581a",
            "tlsh": "30d095541970503f52c23dcfe409cd15a0e95545cd5890c3d5769ac700d5cc90de2e14"
        },
        {
            "path": "package.json",
            "sha256": "b3878ea6c073fa8d83ff7cc706261e39630ec12a49a3ed58ac4c0b0cd9ffdd9b",
            "tlsh": "7bd05e710e129d6310ccde9029a6460192493c671c02f844375f54284fdf2bf5bfea1c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/jmrwd-gjdob-util/MAL-2026-20265.json"