MAL-2026-6992

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/babel-eslint-parser-legacy/MAL-2026-6992.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6992
Aliases
  • GHSA-xr98-72p4-pwg2
Published
2026-07-08T16:24:28Z
Modified
2026-07-10T17:01:59Z
Summary
Malicious code in babel-eslint-parser-legacy (npm)
Details

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

Source: amazon-inspector (85a6f04cbf0697b6ae409fb9e5ad0e25812dac6a2f43bd95722f1903ee2f71f7)

Package name babel-eslint-parser-legacy is a one-suffix confusion against the legitimate babel-eslint-parser. The package's own main is an empty stub, so it provides no functionality of its own. Its package.json declares a single runtime dependency ltidisafe pointing at a direct HTTPS tarball URL — https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.1.8.tgz — hosted on a Google Cloud Storage bucket unaffiliated with Babel and outside the npm registry. On npm install, npm fetches and installs the contents of that tarball into the installer's node_modules, executing any lifecycle scripts it declares. The tarball bytes are attacker-mutable (the bucket owner can swap contents at any time), are not subject to npm registry scanning, and are not pinned by integrity hash in the manifest. The typosquat name is the lure; the external-URL dependency is the smuggling vector for arbitrary attacker-controlled code into the installer's dependency tree.

Source: ghsa-malware (94a62a47f0ac7d635081419dfabf152aa8965f114250a5f9dada6079bf432680)

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-008097",
            "import_time": "2026-07-08T17:01:30.240793308Z",
            "modified_time": "2026-07-08T16:24:28Z",
            "sha256": "85a6f04cbf0697b6ae409fb9e5ad0e25812dac6a2f43bd95722f1903ee2f71f7",
            "source": "amazon-inspector",
            "versions": [
                "99.9.1"
            ]
        },
        {
            "id": "GHSA-xr98-72p4-pwg2",
            "import_time": "2026-07-10T16:54:13.309797332Z",
            "modified_time": "2026-07-10T16:24:59Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "94a62a47f0ac7d635081419dfabf152aa8965f114250a5f9dada6079bf432680",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / babel-eslint-parser-legacy

Package

Name
babel-eslint-parser-legacy
View open source insights on deps.dev
Purl
pkg:npm/babel-eslint-parser-legacy

Affected ranges

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

Affected versions

99.*
99.9.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": "package.json",
            "sha256": "eadcd5da681df03db0ab42fe55bffdf7c324b795e3d7e762ff8062d4833deb39",
            "tlsh": "0ae02620466165738ec500b64c6f6147f3704e4e0448bc0c5b9b041c448da7368f925c"
        }
    ],
    "package_integrity": [
        {
            "filename": "babel-eslint-parser-legacy-99.9.1.tgz",
            "hashes": {
                "sha1": "5984ad45cf7fd16f840f3d8e503e34ce6e966dd9",
                "sha512_sri": "sha512-WbPHh6YHFooROfFWP2x4SseXUBuzaXJmteMA90xSdiux/bbsZ7phk8Ji96I0VQgucEj9lzbtGBhg58FApgrmwQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/babel-eslint-parser-legacy/MAL-2026-6992.json"