fs-extra-core
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-f246-8cf4-26v7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in fs-extra-core (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (397f5c6f4eb2cf734d5ee1afc9908bdd0162a91a2fc6ad6d7d51a5cfd22fdc41)
Package impersonates fs-extra by copying its description, homepage (github.com/jprichardson/node-fs-extra), and repository metadata verbatim. Its exported outputFile() function ignores the documented (path, data) arguments and instead fetches a Windows executable from raw.githubusercontent.com/jason-code-super/axios/main/lib/env/axios.exe — a personal repository unrelated to the fs-extra publisher — and writes the binary to %LOCALAPPDATA%\Temp\msedgewebview2.exe, a filename impersonating Microsoft Edge WebView. Any consumer calling the fs-extra-style outputFile API stages an attacker-controlled binary on disk under a Microsoft-lookalike name, sourced from a mutable third-party GitHub branch.
Source: ghsa-malware (402ae65ced8ae836bc92edf3622ea0d96d25d99d088d289481cd4332ddf1e38d)
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