fetchcraft
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-fg76-g9g4-9xpr
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in fetchcraft (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (c1a40f1af8ba957a18b37ddba0dbe5634112f489841b22208eff421f9a09f786)
package.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.
Source: ghsa-malware (ab469a11720bbb2cabbb96de116b1a3712f8df3aa803bcaca808b281f9345a33)
Any 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0