MAL-2026-10214

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/babel-preset-lib-client/MAL-2026-10214.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10214
Aliases
  • GHSA-wxh7-fh8g-5j3m
Published
2026-07-12T21:32:17Z
Modified
2026-07-14T07:19:26.301823388Z
Summary
Malicious code in babel-preset-lib-client (npm)
Details

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

Source: amazon-inspector (4274de0136aa69f8b0f4eba03412c7809a1b8c2446bb3ed7f6de1333475aa4c4)

index.js, the package main, runs a load-time IIFE that collects OS platform and architecture, hostname, username, private and public IP (via https://api.ipify.org), current working directory, the full output of printenv (base64-encoded), and the base64-encoded output of tree../, then POSTs the aggregated payload to a hardcoded Discord webhook at https://discord.com/api/webhooks/1524917003394089029/. The package name mimics the babel-preset naming convention but the code implements no Babel functionality; author, description, and keywords are empty. Any consumer that installs and requires this package leaks its full process environment (typically including NPMTOKEN, AWS*, GITHUB_TOKEN, and other CI/developer secrets) plus a listing of the parent directory to the attacker-controlled Discord channel.

Source: ghsa-malware (fea0fc558d775f5f0b5312b5d3f5ead65a9b5963916fc1c4193b84fc66f3f7d9)

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": [
        {
            "modified_time": "2026-07-12T21:32:25Z",
            "id": "IN-MAL-2026-009783",
            "import_time": "2026-07-12T21:48:52.325472516Z",
            "versions": [
                "4.9.10"
            ],
            "source": "amazon-inspector",
            "sha256": "0d431b31c9452f93b0f7bfff6f4c64c494f94f91dbbbe9597e10e4d85ea92f63"
        },
        {
            "modified_time": "2026-07-12T21:32:33Z",
            "id": "IN-MAL-2026-009784",
            "import_time": "2026-07-12T21:48:52.720788156Z",
            "versions": [
                "4.9.9"
            ],
            "source": "amazon-inspector",
            "sha256": "4274de0136aa69f8b0f4eba03412c7809a1b8c2446bb3ed7f6de1333475aa4c4"
        },
        {
            "versions": [
                "4.9.11"
            ],
            "id": "IN-MAL-2026-009782",
            "import_time": "2026-07-12T21:48:52.104113699Z",
            "modified_time": "2026-07-12T21:32:17Z",
            "source": "amazon-inspector",
            "sha256": "c8b10075493fc1ec7728f152149bae784dc2ad5e03872ddac4d345abb2c9bd19"
        },
        {
            "modified_time": "2026-07-13T18:30:55Z",
            "id": "GHSA-wxh7-fh8g-5j3m",
            "import_time": "2026-07-13T18:49:49.031719567Z",
            "versions": [
                "4.9.11",
                "4.9.10",
                "4.9.9",
                "1.0.0"
            ],
            "source": "ghsa-malware",
            "sha256": "fea0fc558d775f5f0b5312b5d3f5ead65a9b5963916fc1c4193b84fc66f3f7d9"
        },
        {
            "modified_time": "2026-07-14T05:57:30Z",
            "id": "IN-MAL-2026-010477",
            "import_time": "2026-07-14T06:49:56.733298149Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "sha256": "fa115dbec651ac8e32091abb3efedf78a8f6f8b32583ace30013a8045757681c"
        }
    ]
}
References
Credits

Affected packages

npm / babel-preset-lib-client

Package

Name
babel-preset-lib-client
View open source insights on deps.dev
Purl
pkg:npm/babel-preset-lib-client

Affected ranges

Affected versions

1.*
1.0.0
4.*
4.9.9
4.9.10
4.9.11

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-rIe83q5Pllg+Iol4uOeGvt+KTTMDq9zz8rzTS7h8PMTAaJNq57AL4RLl6RkUakZEcgbV642hms75sr1Zg9MRUQ==",
                "sha1": "32106e66dea674189ca5965a8ff196b0b649328b"
            },
            "filename": "babel-preset-lib-client-4.9.10.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "6561830966b13a300e572490929f60137247c22b3f68fdf4ba9d42551fc857ca9f2be5",
            "sha256": "657aac8250595c6563cfd9d2570aab75457c28ba3605b627b9df436138708bb9"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/babel-preset-lib-client/MAL-2026-10214.json"