MAL-2026-10435Malicious code in fetchcraft (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | fetchcraft | * |
| npm | fetchcraft | 1.0.0 |
| npm | fetchcraft | 1.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-10435","published":"2026-07-13T09:24:42Z","modified":"2026-08-20T01:09:04.821549046Z","aliases":["GHSA-fg76-g9g4-9xpr"],"summary":"Malicious code in fetchcraft (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c1a40f1af8ba957a18b37ddba0dbe5634112f489841b22208eff421f9a09f786)\npackage.json declares the runtime dependency `node-runtime-utils` as `https://github.com/Hexa-devy/node-runtime-utils/archive/refs/heads/main.tar.gz` — a tarball fetched from the mutable `main` branch of a personal GitHub user's repository, with no commit SHA, tag, or integrity hash pinning. On `npm install fetchcraft`, npm downloads and installs whatever bytes that URL serves at install time, including any lifecycle scripts (preinstall/install/postinstall/prepare) shipped in the fetched tarball. Because the source is a mutable branch under a personal account rather than a registry-published package or a pinned commit, the contents can be swapped at any time without any change to fetchcraft itself, allowing arbitrary code to be executed on the installer's machine. The dependency is not referenced by the package's exported code, giving it no legitimate functional purpose.\n\n## Source: ghsa-malware (ab469a11720bbb2cabbb96de116b1a3712f8df3aa803bcaca808b281f9345a33)\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":"fetchcraft","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0"],"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"},{"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":"29beba789e40ec174bf160d397beeeecaecd2e639cd345875fa5b3c9965021e7","tlsh":"1211a631ca511c2342c5a762ae3a0383b6209e170d10bc2cb386013c4f4d16f62fe26c"}],"package_integrity":[{"filename":"fetchcraft-1.0.1.tgz","hashes":{"sha1":"0825e13ad0ce50c2b3ad2fcb397ce9ab2f55da0d","sha512_sri":"sha512-RKNTganm49Hm4k69onSat7reEh8OsaiwxXKakgfXLGYuhIktAc8EDkQmPgq6HVBpl2uo4HG4Q+MjlqKq0g1t+w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fetchcraft/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fetchcraft/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fg76-g9g4-9xpr"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010223","import_time":"2026-07-13T10:37:39.114956934Z","modified_time":"2026-07-13T09:24:58Z","sha256":"72eb80237f1255f009a3dd04cff4ec9b6b2c569088f487ab56b6924ce3f721c7","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-010221","import_time":"2026-07-13T10:37:38.998640141Z","modified_time":"2026-07-13T09:24:42Z","sha256":"c1a40f1af8ba957a18b37ddba0dbe5634112f489841b22208eff421f9a09f786","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-fg76-g9g4-9xpr","import_time":"2026-08-20T01:06:54.064529606Z","modified_time":"2026-08-19T16:14:22Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ab469a11720bbb2cabbb96de116b1a3712f8df3aa803bcaca808b281f9345a33","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0