MAL-2026-13983Malicious code in knip-bun (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
99.9.1 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | knip-bun | * |
| npm | knip-bun | 99.9.1 |
{"schema_version":"1.7.4","id":"MAL-2026-13983","published":"2026-08-13T21:07:52Z","modified":"2026-08-18T16:31:20.490512853Z","aliases":["GHSA-xrrj-hrq9-xvxg"],"summary":"Malicious code in knip-bun (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3d412258df9a21f510333926a9be29bed8ae6368e549e295c84e187bdc1a3725)\nPackage `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.\n\n## Source: ghsa-malware (5aa3848c6982142717f50c64c192504c993dea3d7440d11588703cf6d5e656d9)\nAny 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.\n","affected":[{"package":{"name":"knip-bun","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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":"683238b188814a0f2f8f9011f6bbf276a42bce5c0bcac382cdd6dbf4ecc1edf9","tlsh":"2ce0eb200a2066330ec911b24c2f610bf3708e4f0808bd0c5bdf042c418db7328f939d"}],"package_integrity":[{"filename":"knip-bun-99.9.1.tgz","hashes":{"sha1":"aa63dc46f51b930f5f523b93dc7e22e393442765","sha512_sri":"sha512-KdGGNubbIpDF9y/kTaluEqHUuOh3dP60N3UsZC+eUd7m7cVKXxQkeAFc0dUvg8n7TRNTy8DPgoAkWIJfcmOS3A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/knip-bun/v/99.9.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xrrj-hrq9-xvxg"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017680","import_time":"2026-08-13T21:20:57.235987949Z","modified_time":"2026-08-13T21:07:52Z","sha256":"3d412258df9a21f510333926a9be29bed8ae6368e549e295c84e187bdc1a3725","source":"amazon-inspector","versions":["99.9.1"]},{"id":"GHSA-xrrj-hrq9-xvxg","import_time":"2026-08-18T16:29:04.480514186Z","modified_time":"2026-08-18T16:20:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5aa3848c6982142717f50c64c192504c993dea3d7440d11588703cf6d5e656d9","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0