MAL-2026-2067
Dashboard / Malicious Package / MAL-2026-2067
MAL-2026-2067
Summary: Malicious code in babel-plugin-react-pure-component (npm)
Details: Source: amazon-inspector (b646bc72d4de0e51f408bf6b7ae00d339ea8935a44b9bd71301a76337cc9b8d2) The package babel-plugin-react-pure-component was found to contain malicious code. Source: ghsa-malware (90eebdc5c01ada43f12e7cbb5b76c2f392363ad47bf729ee3eded1d022db84ee) 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 (88e6b276e7c1e288d604937f53e2cf18b761502721a11aa2d79e7334aed99ba3) This package was compromised by the CanisterWorm campaign by the TeamPCP threat actor. The malicious payload establishes persistence as user systemd service and places a backdoor on the infected host. The malware will also harvest npm credentials and can autonomously spread.
References: https://socket.dev/blog/canisterworm-npm-publisher-compromise-deploys-backdoor-across-29-packages, https://github.com/advisories/GHSA-f9q8-fcvg-876p, https://research.jfrog.com/post/canister-worm/, https://www.endorlabs.com/learn/canisterworm
Affected packages
Package
Name: babel-plugin-react-pure-component
Purl: pkg:npm/babel-plugin-react-pure-component
Affected ranges
Type: N/A
Events:
