{"id":"MAL-2026-6782","revision":null,"records":[{"revision":"ca2f61d53fc548d4b6e47d6e147ed80a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6782","aliases":[],"title":"Malicious code in @marketfront/header (npm)","description":"The @marketfront/header package is part of a 25-package malicious campaign batch-published to the @marketfront npm scope by npm user 'marketfront' (marketfront@tutamail.com) within a roughly 3-minute window on 2026-07-01. All packages in the campaign were published at version 7.0.0 and use e-commerce/marketing frontend component names as cover.\n\nThe package declares a postinstall hook (node scripts/postinstall.js) that executes heavily obfuscated (obfuscator.io-style) code automatically at npm install time. Static analysis of the decoded payload revealed a credential harvester that dynamically requires fs, os, http, https, zlib, path and dns, then reads approximately 20 sensitive credential files including ~/.ssh, ~/.aws/credentials, ~/.kube/config, ~/.docker/config.json, ~/.npmrc, ~/.netrc, ~/.pgpass, ~/.git-credentials, ~/.env and ~/.bash_history. Collected data is exfiltrated via a gzip-compressed HTTPS POST with a custom X-Secret header to the path /api/v1/events, alongside a DNS resolver beacon. The command-and-control host is concealed behind an additional RC4+XOR encryption layer around an embedded configuration blob and was not statically resolved.\n\nThe decoded behavioral payload (module requires, credential-file target list, exfiltration headers and endpoint) is byte-for-byte identical across sampled packages in the campaign. The campaign shares tooling and infrastructure patterns (obfuscated postinstall credential harvester, X-Secret header, /api/v1/events exfiltration path, RC4-concealed C2) with the earlier @emcd-vue campaign, indicating the same actor rotating scopes and disposable maintainer emails.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (38f0edd33f2e062b9347a03bb6b126c82a55fd8b3d2d16f58d0f1816392f9647)\npackage.json declares a `postinstall` hook that executes `scripts/postinstall.js`, a ~160KB obfuscator.io-style bundle using RC4 string decryption and char-code array lookups to hide module names and control flow. On `npm install`, the script harvests installer-side data — the full `process.env`, `process.cwd()`, and host identifiers (`USERDOMAIN`, `COMPUTERNAME`, `PROCESSOR_ARCHITECTURE`, `APPDATA`, `LOCALAPPDATA`, `TEMP`, `PROGRAMDATA`, `NODE_OPTIONS`, `npm_config_user_agent`) — and reads a list of files under the installer's home directory (`os.homedir()`-derived paths plus directory enumeration), packing all results into a single payload object transmitted to a remote endpoint. There is no native-build, SDK-download, or other legitimate lifecycle rationale for this behavior; the shape (heavy obfuscation + lifecycle-time execution + bulk env capture + home-directory credential-path reads + hardcoded outbound transport) is a supply-chain install-time stealer.\n","state":0,"publishedAt":"2026-07-02T00:00:00+00:00","modifiedAt":"2026-07-06T05:16:46.1112957+00:00","affected":[{"ecosystem":"npm","name":"@marketfront/header","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["7.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://safedep.io/marketfront-dependency-confusion-campaign/","https://www.npmjs.com/package/@marketfront/header/v/7.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6782","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6782","identifiers":["MAL-2026-6782"]},"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-25T18:42:41.2367407+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T18:42:41.2367407+00:00","lastSuccessAt":"2026-11-25T18:42:41.5328616+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:42:41.5328629+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-038a7597bebeeb6d352a0d0976d1a32f695b7cf3343b14a66b5983f704ec7a95","complete":true,"records":432306,"lastAttemptAt":"2026-11-25T18:40:28.6061805+00:00","lastSuccessAt":"2026-11-25T18:40:28.4492817+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:40:28.6061805+00:00","snapshotPublishedAt":"2026-11-25T18:30:38+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-2f40107d2a6d4c4ba950e1f2483b11ca","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T18:54:49.005417+00:00","lastSuccessAt":"2026-11-25T18:54:48.999+00:00","error":"129 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T18:54:48.999+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13839,"expectedIdentifiers":13987,"failedIdentifiers":129},{"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-25T18:42:41.2367407+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T18:42:41.2367407+00:00","lastSuccessAt":"2026-11-25T18:42:41.5340517+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:42:41.5340525+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-eb39311d8c62406daf6963e5b356a43d","complete":false,"records":13951,"lastAttemptAt":"2026-11-25T18:44:12.4797167+00:00","lastSuccessAt":"2026-11-25T17:31:37.566+00:00","error":"2 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T17:31:37.566+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13985,"expectedIdentifiers":13987,"failedIdentifiers":2},{"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-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T18:42:41.1746216+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:42:41.1746216+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+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-25T18:40:32.1449167+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:40:32.1449167+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-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T18:42:41.1913488+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:42:41.1913488+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+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-e0108771d3403a7692f5eecc7e60f02be2caf0a402ba580c3e45aa7b66c7928a","complete":true,"records":233143,"lastAttemptAt":"2026-11-25T18:42:41.0003554+00:00","lastSuccessAt":"2026-11-25T18:42:39.3893996+00:00","error":null,"lastVerifiedAt":"2026-11-25T18:42:41.0003554+00:00","snapshotPublishedAt":"2026-11-25T18:33:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}