{"id":"MAL-2026-6781","revision":null,"records":[{"revision":"65e57bee38f24582aff6c63dbca75272","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6781","aliases":[],"title":"Malicious code in @marketfront/gotoauthpopup (npm)","description":"The @marketfront/gotoauthpopup 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 (108121fd7d553c24c0990884bc6854df559111a77ae72d65a311d6f74fde6954)\n@marketfront/gotoauthpopup@7.0.0 declares a postinstall hook (scripts.postinstall: 'node scripts/postinstall.js') that automatically runs on npm install. scripts/postinstall.js is a single ~165 KB obfuscator.io-style bundle: an RC4-decoded rotated string array, a self-defending IIFE, and a guard that inspects process.argv and process.env.NODE_OPTIONS for debugger/inspector markers plus a busy-loop timing check and only executes the payload when no debugger is detected. When the guard passes, the script harvests installer host identity (hostname, username, homedir, arch, cpus, platform, release, network interfaces), a bulk dump of process.env, Windows-specific env (USERDOMAIN, COMPUTERNAME, APPDATA, LOCALAPPDATA, PROGRAMDATA, TEMP), enumerates the user's home directory via fs.readdirSync, and reads targeted config/credential files via fs.readFileSync. The collected data is RC4-encrypted and POSTed via https.request to a C2 host that is assembled at runtime from atob() fragments so the destination does not appear as a plaintext string in the source. A parallel covert channel base32-encodes the same ciphertext, splits it into ~50-character DNS labels, and issues dns.resolve4() queries against the same host used as the authoritative resolver, providing DNS-tunnel exfiltration to bypass HTTP egress filtering. The package additionally impersonates internal corporate infrastructure — repository github.marketfront.io, bugs jira.marketfront.io, homepage docs.marketfront.io, and README instructing developers to configure registry=https://npm.marketfront.io — a dependency-confusion cover story to induce installation of what appears to be an internal auth SDK. The declared main points at../src/index.js which is not shipped, so the package has no legitimate library functionality; its only on-install effect is the dropper. README framing of the postinstall as 'anonymous telemetry' does not apply — the behavior is bulk credential and configuration harvest with anti-analysis evasion and a covert side channel.\n","state":0,"publishedAt":"2026-07-02T00:00:00+00:00","modifiedAt":"2026-07-06T05:16:45.9073317+00:00","affected":[{"ecosystem":"npm","name":"@marketfront/gotoauthpopup","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/gotoauthpopup/v/7.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6781","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6781","identifiers":["MAL-2026-6781"]},"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}]}