react-ui-polyfills
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-v7mj-pmr3-7x4p
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in react-ui-polyfills (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (63c43460df1ee670b8a5982d77e7028aef7df25fa38922f743489fd52b41b5ea)
Package advertises itself as React polyfills / UI compatibility helpers but ships no React or polyfill code. The exported getPlugin() function returns a closure that fetches JSON from https://jsonkeeper.com/b/GMIHS (an anonymous, mutable paste-style host with no integrity verification) and passes the parsed.cookie field directly to eval(), executing attacker-controlled JavaScript in the consumer's process. The mismatch between the package's advertised purpose (React polyfills) and its actual contents (SVG utilities + remote-eval backdoor) indicates the name is engineered to lure React developers. Any application that imports this package and invokes getPlugin() will execute whatever JavaScript the attacker chooses to host at the jsonkeeper URL at that moment.
Source: ghsa-malware (258097416cb997b01e098f8838dd386a7310cb665d40c38f5e146535090d516a)
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