Skip to main content
MalwarePublished

localize-extract (npm) · Malicious Code

Affects localize-extractSource GCVE Database

0

Malicious package : remove localize-extract and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:27 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14249

What to do

Remove localize-extract 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
npmlocalize-extractAffected
  • =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 localize-extract version 1.0.0 contains malicious code that executes a postinstall script. This script collects host identifiers such as hostname, platform, architecture, Node.js version, package name, and lifecycle event, then sends this data as JSON to a hardcoded external endpoint without user consent. The package appears to be a typosquatting attempt targeting the legitimate @angular/localize package, potentially as part of a dependency confusion attack.

References

Community reviews

Loading reviews…