Skip to content

MAL-2025-47331 Malicious code in mstate-react (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description

The package was compromised and malicious code added.


-= Per source details. Do not edit below this line.=-

Source: ghsa-malware (997c10662d47fa55ca8cd4db612274bf4d589c7d82d079b48fae3261bb5c65a7)

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.

Source: google-open-source-security (6f6969fa605b9d1a6dce952229498cd00dcc7ab57e3c9b1ff5bf5f4a585a7198)

This package was compromised by the Shai-Hulud NPM worm. The malicious payload
steals tokens and credentials and publishes them to GitHub before propogating
itself to NPM packages the user owns.

Affected products

ProductAffected versionsFixed in
npm mstate-react(npm) = 1.6.5 No fix listed

References