Skip to main content
MalwarePublished Updated

@flex-ng/header-component (npm) · Malicious Code

Affects @flex-ng/header-componentSource GCVE Database

0

Malicious package : remove @flex-ng/header-component and rotate any secrets on hosts that installed it.

Data as of 14 Jul 2026, 09:39 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10223

What to do

Remove @flex-ng/header-component 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
npm@flex-ng/header-componentAffected
  • =0.1.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 @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.

References

Community reviews

Loading reviews…