{"id":"GHSA-4xgj-9m4q-8g8v","revision":null,"records":[{"revision":"11e85c7fa04b4a2b9a9cde595344ba87","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10223","aliases":["GHSA-4xgj-9m4q-8g8v"],"title":"Malicious code in @flex-ng/header-component (npm)","description":"The @flex-ng/header-component package was published to the npm registry by user 'click2ai' (maintainer email privatek3m@protonmail.com) as part of a dependency-confusion / reconnaissance campaign. The package name mimics the internal/private package naming convention of a target organization (the @flex-ng organizational scope) so that a misconfigured resolver installs this public lookalike instead of the intended private dependency.\n\nThe package declares a preinstall hook (\"npm install @sentry/node && node examples/verify.js\") that executes automatically at npm install time, before any application code runs. The bundled examples/verify.js initializes the @sentry/node client against a hardcoded, attacker-controlled Sentry DSN with sendDefaultPii enabled, resolves the installing host's public egress IP address by requesting Cloudflare's /cdn-cgi/trace endpoint (using a spoofed desktop-browser User-Agent to bypass bot challenges), then deliberately triggers a runtime exception and captures it. Flushing the event beacons the collected host telemetry (public IP plus Sentry default PII such as hostname, OS username and runtime/environment metadata) to the attacker's Sentry ingest endpoint at o4510485815754752.ingest.us.sentry.io.\n\nEach impersonated namespace in the campaign beacons to a distinct Sentry project ID, letting the operator attribute successful installs to specific victim organizations — behaviour consistent with a dependency-confusion reconnaissance beacon rather than legitimate error monitoring. The install-time payload is byte-for-byte identical across all packages published by this account, differing only in the package name and the target DSN. This package's beacon targets Sentry project 4511632071262208.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (79525ec099f129b72ed7d7eb8e57dbe97677cf7078e85c495540cb2bb9510f2b)\nPackage is published under a UI-suggestive name (`@flex-ng/header-component`) but ships no UI/header code — it ships only Sentry error-reporting code plus an install-time telemetry trigger. The `preinstall` lifecycle script in package.json runs `npm install @sentry/node && node examples/verify.js`. `examples/verify.js` fetches the installer's public IP from Cloudflare's `/cdn-cgi/trace`, initializes Sentry against a hardcoded author-owned DSN (`o4510485815754752.ingest.us.sentry.io/4511632071262208`) with `sendDefaultPii: true`, then deliberately triggers and flushes a captured exception. The Sentry event payload includes the installer's public IP, hostname, OS, runtime, and environment context, all transmitted to the author's ingest project on `npm install` without user consent or README disclosure. `src/index.js` additionally hardcodes the same DSN as `DEFAULT_DSN`, so any consumer that later calls `init()` without arguments silently routes their error telemetry (with PII enabled) to the same author-controlled destination. The name/purpose mismatch (header component vs. error-reporter with install-time beacon) functions as cover for unannounced install-time data collection.\n\n## Source: ghsa-malware (cefa098be23f46a22882e8ac057468b28fde7292b5cf8bb17fadaa069c424108)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-07-06T00:00:00+00:00","modifiedAt":"2026-07-14T03:32:00.7695545+00:00","affected":[{"ecosystem":"npm","name":"@flex-ng/header-component","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["0.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@flex-ng/header-component","https://www.npmjs.com/package/@flex-ng/header-component/v/0.1.0","https://github.com/advisories/GHSA-4xgj-9m4q-8g8v"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10223","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10223","identifiers":["MAL-2026-10223","GHSA-4xgj-9m4q-8g8v"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T00:08:10.7926749+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T00:08:10.7926749+00:00","lastSuccessAt":"2026-11-25T00:08:11.0016636+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:11.0016646+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":431850,"lastAttemptAt":"2026-11-25T01:16:34.841515+00:00","lastSuccessAt":"2026-11-25T01:16:34.8333088+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:16:34.841515+00:00","snapshotPublishedAt":"2026-11-25T00:34:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e80bb52c36364db3ad80ceff1a761e7f","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T00:09:02.5873843+00:00","lastSuccessAt":"2026-11-25T00:09:02.575+00:00","error":"68 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T00:09:02.575+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13907,"expectedIdentifiers":13986,"failedIdentifiers":68},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T00:08:10.7926749+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T00:08:10.7926749+00:00","lastSuccessAt":"2026-11-25T00:08:11.0029326+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:11.0029333+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e843b89325ec408a891907a5d77331bb","complete":false,"records":13950,"lastAttemptAt":"2026-11-25T00:08:44.1701108+00:00","lastSuccessAt":"2026-11-25T00:08:44.166+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T00:08:44.166+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13882,"expectedIdentifiers":13986,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T00:08:10.6882396+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.6882396+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T01:16:34.9953425+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T01:16:34.9953425+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T00:08:10.7043692+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.7043692+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-559908ee6c12892d81d70208c376c9d0372a339467ddd588b3bb32122a40e9bf","complete":true,"records":233046,"lastAttemptAt":"2026-11-25T01:16:41.1226718+00:00","lastSuccessAt":"2026-11-24T23:10:56.4993211+00:00","error":null,"lastVerifiedAt":"2026-11-25T00:08:10.5691772+00:00","snapshotPublishedAt":"2026-11-24T22:48:17+00:00","importing":true,"stagedRecords":233046,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}