MAL-2026-4571

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/get-deps-path/MAL-2026-4571.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4571
Aliases
  • GHSA-c852-72hm-gxvf
Published
2026-05-20T01:09:44Z
Modified
2026-06-10T15:31:28Z
Summary
Malicious code in get-deps-path (npm)
Details

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

Source: amazon-inspector (65fa6f34a831aa832f9d88019ce3d0f4011701df6ab0667bd263645208c978ce)

On require(), get-deps-path immediately invokes getPlugin(), which performs an HTTP fetch to https://jsonkeeper.com/b/QBRMI (an anonymous public paste host where any user can mutate content) and passes the response's model field directly to eval(). The fetched JavaScript executes in the installer's Node process with no integrity check, no version pin, and no signature verification — whoever controls the paste controls code execution on every machine that imports this module. The package additionally masquerades: package.json keywords are ['koa','middleware','compose'] and index.js is a koa-compose clone, while the package name and README advertise unrelated 'dependency install' functionality. The mismatch between the advertised purpose, the visible source code, and the embedded import-time eval-from-mutable-URL is the cover-story shape of a deliberate backdoor, not a misconfiguration.

Source: ghsa-malware (964ca7187d345d1bb60e771f2e5135d44d6fdcb74dc3339b0e7e76134c5250bc)

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": "IN-MAL-2026-003387",
            "import_time": "2026-05-26T05:50:32.754111797Z",
            "modified_time": "2026-05-20T01:57:17Z",
            "sha256": "57d7034a7cf96adf40cb8b52911c95780c306be35579daba6fbe4db3de899656",
            "source": "amazon-inspector",
            "versions": [
                "2.3.0"
            ]
        },
        {
            "id": "IN-MAL-2026-003372",
            "import_time": "2026-05-26T05:50:30.823985458Z",
            "modified_time": "2026-05-20T01:41:47Z",
            "sha256": "5ab2c326ced4705bede2d4e85b568c67cc6ca100ead58607e401c308a938e81c",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-003340",
            "import_time": "2026-05-26T05:50:27.338160226Z",
            "modified_time": "2026-05-20T01:09:44Z",
            "sha256": "65fa6f34a831aa832f9d88019ce3d0f4011701df6ab0667bd263645208c978ce",
            "source": "amazon-inspector",
            "versions": [
                "1.4.0"
            ]
        },
        {
            "id": "IN-MAL-2026-003350",
            "import_time": "2026-05-26T05:50:28.476959319Z",
            "modified_time": "2026-05-20T01:15:47Z",
            "sha256": "75850fa2822778f4e27ae92d867c3d4e08b0513a98a2b610bd3fc22120c946bc",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-003368",
            "import_time": "2026-05-26T05:50:30.345679146Z",
            "modified_time": "2026-05-20T01:37:05Z",
            "sha256": "a841cff65b6dbc9c997010a677b1c825eb7440504407b9eca13ebbf0ba0eb498",
            "source": "amazon-inspector",
            "versions": [
                "6.5.11"
            ]
        },
        {
            "id": "IN-MAL-2026-003378",
            "import_time": "2026-05-26T05:50:31.719818689Z",
            "modified_time": "2026-05-20T01:44:39Z",
            "sha256": "e9ca6350d9d7333424e442b038b6f0827180c3e495858608262d89ab82c8459e",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "GHSA-c852-72hm-gxvf",
            "import_time": "2026-06-10T15:25:13.632376396Z",
            "modified_time": "2026-06-10T14:13:05Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "964ca7187d345d1bb60e771f2e5135d44d6fdcb74dc3339b0e7e76134c5250bc",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / get-deps-path

Package

Name
get-deps-path
View open source insights on deps.dev
Purl
pkg:npm/get-deps-path

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.2
1.4.0
2.*
2.0.0
2.3.0
6.*
6.5.11

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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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": "d441651c8157db851b56f6101bbabac6031fe03b05f8b28b51b27bdee770e7c1",
            "tlsh": "ef413ea074f93625c26f7475089b406479a68443312e9d61bead27206fcd474c6f2fc8"
        },
        {
            "path": "package.json",
            "sha256": "1a5815ddfe5ee7e1a893787c7cdfd8f9c112049cf2344386b1b3c1c4b597fd9d",
            "tlsh": "52017831d8249c2304d866e62c288253b692ac434a18bc0d7b9f075c4f9eaaf02fc17d"
        }
    ],
    "package_integrity": [
        {
            "filename": "get-deps-path-2.3.0.tgz",
            "hashes": {
                "sha1": "03dd283feef55a3ee53d03fa37d15b34f908707d",
                "sha512_sri": "sha512-lraY60QPrnJH18BSX78bx7nFxzdIWPJU9lt0mEm3DKJQAi8IOKTEMsSwmyRJNF5x+0pSppl+UbuzXo/4G2Ix4A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/get-deps-path/MAL-2026-4571.json"