MAL-2026-14054Malicious code in depcruise-fmt (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
99.9.1 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | depcruise-fmt | * |
| npm | depcruise-fmt | 99.9.1 |
{"schema_version":"1.7.4","id":"MAL-2026-14054","published":"2026-08-15T14:35:33Z","modified":"2026-08-18T16:31:19.613116007Z","aliases":["GHSA-gh2x-96f9-2cgf"],"summary":"Malicious code in depcruise-fmt (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08675f5d3de6c71d05588ae719204e2919ffac836aaada2f24b2b61bed2291ba)\ndepcruise-fmt ships an empty module (index.js exports {}) and declares its only dependency, ltidisafe, as an arbitrary HTTPS tarball hosted at https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.7.3.tgz rather than a registry package. On npm install, npm fetches and installs that off-registry tarball into the dependency tree and executes any lifecycle scripts it contains. The wrapper package has no other functionality — its sole effect is to inject the externally hosted payload. The tarball is served from an author-controlled Google Cloud Storage bucket, is not subject to registry publish scanning, is not integrity-pinned, and its contents can be replaced at any time without a corresponding npm publish. The package name also resembles the popular dependency-cruiser tooling, positioning this as a lookalike lure whose only installation effect is to resolve to the GCS-hosted tarball.\n\n## Source: ghsa-malware (fcb3bc16724ee86eb43e9d012953d05ef1181b3fbffb92480776a5c8b39c06e4)\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\n## Source: ossf-package-analysis (ea193e6cea73a06c8f92a684d56040564d6a0fef93da1d45010978107ea0fd0c)\nThe OpenSSF Package Analysis project identified 'depcruise-fmt' @ 99.9.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"depcruise-fmt","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":"d0e9d7e41b1bb64ba7ee5b2dab2c5d59bdc75bcc50dd173703edda6498974bf5","tlsh":"bde0c2304a6566335ec511f24c2b655bf3b18e5f4808bd0c5beb082c818dab368fa25c"}],"package_integrity":[{"filename":"depcruise-fmt-99.9.1.tgz","hashes":{"sha1":"08422f66c526c5836b043a1a3c0a35538a61da23","sha512_sri":"sha512-c0WiHtxiTOk1MSVe/yD1O5qIElggcOFz9LynIdJPmGkZKzRqp3EHtg+FBr0pLXIzTnjwKL6qo5g1Gmc1zl+95w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/depcruise-fmt/v/99.9.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gh2x-96f9-2cgf"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-15T14:41:48.22399979Z","modified_time":"2026-08-15T14:35:33Z","sha256":"ea193e6cea73a06c8f92a684d56040564d6a0fef93da1d45010978107ea0fd0c","source":"ossf-package-analysis","versions":["99.9.1"]},{"id":"IN-MAL-2026-017977","import_time":"2026-08-15T18:45:40.56342538Z","modified_time":"2026-08-15T18:11:46Z","sha256":"08675f5d3de6c71d05588ae719204e2919ffac836aaada2f24b2b61bed2291ba","source":"amazon-inspector","versions":["99.9.1"]},{"id":"GHSA-gh2x-96f9-2cgf","import_time":"2026-08-18T16:29:04.466290436Z","modified_time":"2026-08-18T16:20:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fcb3bc16724ee86eb43e9d012953d05ef1181b3fbffb92480776a5c8b39c06e4","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0