MAL-2026-13977

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cspell-esm/MAL-2026-13977.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13977
Published
2026-08-13T21:08:16Z
Modified
2026-08-13T21:30:24.131357311Z
Summary
Malicious code in cspell-esm (npm)
Details

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

Source: amazon-inspector (6e857800f57969e257ed22cd056f2e4a4395de09ac9b69becd0c7c2b931314ab)

Package name resembles the widely-used 'cspell' library but its main entry (index.js) exports an empty object and provides no functionality. Its package.json pins its sole dependency 'ltidisafe' to a raw HTTPS URL on a Google Cloud Storage bucket (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.6.7.tgz) rather than a registry-published, version-pinned artifact. On npm install, npm fetches this tarball from the author-controlled bucket and installs it into the dependency tree, executing any of its lifecycle scripts and main-module code on the installer's machine. The combination of a lookalike name, an empty implementation, and an off-registry dependency source is the dropper-lure shape: the lure package itself is inert, and installer-side code execution is delivered through the smuggled dependency.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017683",
            "import_time": "2026-08-13T21:20:57.345068556Z",
            "sha256": "6e857800f57969e257ed22cd056f2e4a4395de09ac9b69becd0c7c2b931314ab",
            "versions": [
                "99.9.1"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-13T21:08:16Z"
        }
    ]
}
References
Credits

Affected packages

npm / cspell-esm

Package

Affected ranges

Affected versions

99.*
99.9.1

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "f6e072204a206a330fc911b2482a600bf3708e5f0408bc0c6bdb182c809ca7378f929e",
            "sha256": "685cf19d3697c747f56fa2a590ec8a58811384bab252b9ef60639a76944c9ccc"
        },
        {
            "path": "index.js",
            "sha256": "322ee46d71101bed25f260f2e78a419b5472e28d1ba02831ced05c73b44e5bb8"
        }
    ],
    "package_integrity": [
        {
            "filename": "cspell-esm-99.9.1.tgz",
            "hashes": {
                "sha1": "ba8c1f8ea9f09030f3b55ec7f57727738345dd66",
                "sha512_sri": "sha512-9nhsA4NIXY6fssc0UgIvgS1HkrsLEjpOu1u6zn0OXZubXSobCKCv9rZhjwWsXNEuSJyEaPNqxW36hP7V8VaJqg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cspell-esm/MAL-2026-13977.json"