Skip to content

MAL-2026-11027 Malicious code in fs-extra-core (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
npm fs-extra-core(npm) = 1.3.4; All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
npm fs-extra-core(npm) All versions No fix listed
npm fs-extra-core(npm) = 1.3.4 No fix listed

References