MAL-2026-13977Malicious code in cspell-esm (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
99.9.1 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | cspell-esm | * |
| npm | cspell-esm | 99.9.1 |
{"schema_version":"1.7.4","id":"MAL-2026-13977","published":"2026-08-13T21:08:16Z","modified":"2026-08-18T16:31:19.570352322Z","aliases":["GHSA-97mm-cxmj-h672"],"summary":"Malicious code in cspell-esm (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6e857800f57969e257ed22cd056f2e4a4395de09ac9b69becd0c7c2b931314ab)\nPackage 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.\n\n## Source: ghsa-malware (a189daaae4c35e4ba4f32cae09ca6401918126fae1500f7f895edd37a85ca549)\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":"cspell-esm","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":"685cf19d3697c747f56fa2a590ec8a58811384bab252b9ef60639a76944c9ccc","tlsh":"f6e072204a206a330fc911b2482a600bf3708e5f0408bc0c6bdb182c809ca7378f929e"},{"path":"index.js","sha256":"322ee46d71101bed25f260f2e78a419b5472e28d1ba02831ced05c73b44e5bb8"}],"package_integrity":[{"filename":"cspell-esm-99.9.1.tgz","hashes":{"sha1":"ba8c1f8ea9f09030f3b55ec7f57727738345dd66","sha512_sri":"sha512-9nhsA4NIXY6fssc0UgIvgS1HkrsLEjpOu1u6zn0OXZubXSobCKCv9rZhjwWsXNEuSJyEaPNqxW36hP7V8VaJqg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cspell-esm/v/99.9.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-97mm-cxmj-h672"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017683","import_time":"2026-08-13T21:20:57.345068556Z","modified_time":"2026-08-13T21:08:16Z","sha256":"6e857800f57969e257ed22cd056f2e4a4395de09ac9b69becd0c7c2b931314ab","source":"amazon-inspector","versions":["99.9.1"]},{"id":"GHSA-97mm-cxmj-h672","import_time":"2026-08-18T16:29:04.459020918Z","modified_time":"2026-08-18T16:20:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a189daaae4c35e4ba4f32cae09ca6401918126fae1500f7f895edd37a85ca549","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0