THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·malware·osv

Malicious code in react-ui-polyfills (npm)

react-ui-polyfills

Risk score

92

AI summary

Indexed incident for react-ui-polyfills (npm).

Description


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

Technical details

Affected versions

<function fixed() { [native code] }

Indicators

  • affected_version<function fixed() { [native code] }75%
  • affected_version<function fixed() { [native code] }75%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents