Skip to main content
MalwarePublished

core-js-gns (npm) · Malicious Code

Affects core-js-gnsSource GCVE Database

0

Malicious package : remove core-js-gns and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:47 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14175

What to do

Remove core-js-gns from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmcore-js-gnsAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package core-js-gns version 1.0.0 contains malicious code executed during its postinstall hook. This code collects system information and sends it to an attacker-controlled server, then downloads and decrypts a payload which is executed on the installer's machine. The package impersonates the legitimate core-js library, enabling arbitrary remote code execution at install time.

References

Community reviews

Loading reviews…