Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in localize-extract (npm)

0
High
Published: 08/19/2026 (08/19/2026, 04:22:55 UTC)
Source: GCVE Database
Product: localize-extract

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.

Affected software

npmghsa
localize-extract
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 14:27:27 UTC

Technical Analysis

[email protected] is a malicious npm package that runs a postinstall script during installation. This script gathers sensitive host environment information including os.hostname(), platform, architecture, Node.js version, package name, and lifecycle event. It then transmits this data via HTTP POST to a hardcoded attacker-controlled URL (https://1zrgq9h2.instances.poc.jchunt.top/localize-extract). The package name mimics the legitimate @angular/localize package and references its package.json, indicating an attempt at dependency confusion or typosquatting to trick users into installing it. This results in unauthorized data exfiltration from the installer's machine.

Potential Impact

Sensitive host environment information is exfiltrated without user consent during package installation. This can lead to privacy violations and potentially aid attackers in further targeted attacks or reconnaissance. There is no indication of remote code execution or direct system compromise beyond data leakage. No known exploits in the wild have been reported.

Mitigation Recommendations

Users should avoid installing [email protected] and verify package names carefully to prevent typosquatting attacks. Since this is a malicious package, removal from projects and package-lock files is recommended. No official patch or fix is available as this is a malicious package rather than a vulnerability in legitimate software. Users should rely on trusted package sources and consider using tools that detect malicious or suspicious packages.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14249
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c0acd9273b49252435

Added to database: 08/19/2026, 13:50:56 UTC

Last enriched: 08/19/2026, 14:27:27 UTC

Last updated: 08/19/2026, 14:27:27 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses