MAL-2026-13983

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/knip-bun/MAL-2026-13983.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13983
Published
2026-08-13T21:07:52Z
Modified
2026-08-13T21:30:26.337998840Z
Summary
Malicious code in knip-bun (npm)
Details

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

Source: amazon-inspector (3d412258df9a21f510333926a9be29bed8ae6368e549e295c84e187bdc1a3725)

Package knip-bun typosquats the popular knip linter. The main module is an empty stub (module.exports = {}), and package.json declares a dependency ltidisafe pinned to an arbitrary Google Cloud Storage URL (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.6.8.tgz) rather than a package on the npm registry. On npm install, npm downloads and installs the tarball from that bucket into the installer's dependency tree and runs whatever install/lifecycle logic it contains. The bucket is unaffiliated with the knip or bun projects, and the fetched tarball is fully controlled by whoever owns that GCS bucket.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017680",
            "import_time": "2026-08-13T21:20:57.235987949Z",
            "sha256": "3d412258df9a21f510333926a9be29bed8ae6368e549e295c84e187bdc1a3725",
            "modified_time": "2026-08-13T21:07:52Z",
            "source": "amazon-inspector",
            "versions": [
                "99.9.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / knip-bun

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": "2ce0eb200a2066330ec911b24c2f610bf3708e4f0808bd0c5bdf042c418db7328f939d",
            "sha256": "683238b188814a0f2f8f9011f6bbf276a42bce5c0bcac382cdd6dbf4ecc1edf9"
        }
    ],
    "package_integrity": [
        {
            "filename": "knip-bun-99.9.1.tgz",
            "hashes": {
                "sha1": "aa63dc46f51b930f5f523b93dc7e22e393442765",
                "sha512_sri": "sha512-KdGGNubbIpDF9y/kTaluEqHUuOh3dP60N3UsZC+eUd7m7cVKXxQkeAFc0dUvg8n7TRNTy8DPgoAkWIJfcmOS3A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/knip-bun/MAL-2026-13983.json"