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 @flex-ng/header-component (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 00:00:00 UTC)
Source: GCVE Database
Product: @flex-ng/header-component

Description

The @flex-ng/header-component npm package is a malicious package published as part of a dependency confusion campaign. It masquerades as a legitimate internal package but contains a preinstall script that collects and sends sensitive telemetry data, including public IP, hostname, OS username, and runtime environment details, to an attacker-controlled Sentry endpoint without user consent. The package also silently routes any error telemetry from consumers to the attacker. This behavior constitutes unauthorized data exfiltration and potential full system compromise.

Affected software

npmghsa
@flex-ng/header-component
Affected versions
=0.1.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: 07/14/2026, 09:39:08 UTC

Technical Analysis

This threat involves a malicious npm package named @flex-ng/header-component published by an attacker to exploit dependency confusion. The package's preinstall lifecycle script runs automatically during installation, installing @sentry/node and executing a script that collects the installer's public IP address and other personally identifiable information (PII) such as hostname, OS username, and runtime metadata. This data is sent to a hardcoded attacker-controlled Sentry project endpoint. Additionally, the package's code routes any error telemetry from consumers to the same attacker endpoint, enabling ongoing data leakage. The package name mimics an internal organizational scope to trick misconfigured resolvers into installing it instead of legitimate private packages. The malicious payload is consistent across all packages published by this attacker account, differing only in package name and target Sentry project ID. The threat is classified as a malicious package rather than a traditional vulnerability and indicates a high risk of system compromise and data leakage.

Potential Impact

Installing this package results in unauthorized exfiltration of sensitive telemetry data including the installer's public IP, hostname, OS username, and runtime environment metadata to an attacker-controlled Sentry endpoint. The package also enables ongoing data leakage by routing error telemetry from consumers to the attacker. According to the GHSA advisory, any system with this package installed should be considered fully compromised, requiring immediate secret and key rotation. The presence of this package may allow attackers to gain full control over the affected system.

Mitigation Recommendations

No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the package from all affected systems. Because the package may have granted attackers full control, all secrets and keys stored on the compromised systems should be rotated from a separate, trusted environment. Users should audit their dependency configurations to prevent dependency confusion attacks by ensuring private packages are resolved correctly and not overridden by public packages with similar names. Monitoring and blocking suspicious packages published under organizational scopes is advised.

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-10223
Osv Schema Version
1.7.4
Aliases
["GHSA-4xgj-9m4q-8g8v"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a55ff7768715ace432f2628

Added to database: 07/14/2026, 09:20:55 UTC

Last enriched: 07/14/2026, 09:39:08 UTC

Last updated: 07/31/2026, 05:04:21 UTC

Views: 42

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