{"id":"MAL-2026-6774","revision":null,"records":[{"revision":"f9dd35da6c4d4a92a8a599f3062f8de6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6774","aliases":[],"title":"Malicious code in @marketfront/devtoolsloader (npm)","description":"The @marketfront/devtoolsloader 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 (d449d3db7f73a80417996b67687dca9330bf5d0591233c639416a4f2e2b7eb22)\nThe package ships a heavily obfuscated postinstall script (scripts/postinstall.js, ~161 KB, obfuscator.io RC4 string-array with control-flow flattening) invoked from package.json (\"postinstall\": \"node scripts/postinstall.js\"). At npm install time the script collects host identifiers (os.userInfo(), os.networkInterfaces(), hostname), enumerates process.env against embedded char-code-encoded arrays of credential-shaped variable names (USERDOMAIN, COMPUTERNAME, APPDATA, LOCALAPPDATA, TEMP, PROGRAMDATA, and additional token/secret-shaped keys), and reads installer-side dotfiles (shell history / rc files) via decoded absolute paths. The payload is XOR-encrypted and transmitted via https.request POST and DNS queries to a destination decoded from the obfuscated string array. Execution is gated on sandbox-evasion checks (process.argv[0]/argv[1] inspection, NODE_OPTIONS blocklist tokens, Date.now spin-loop timing) so the payload only fires on real developer machines. The package advertises a fictitious internal corporate infrastructure (@marketfront scope, github.marketfront.io, npm.marketfront.io) and ships no functional library — dist/index.js re-exports../src/index.js which is absent from the tarball — consistent with a dependency-confusion lure targeting developers expecting an internal @marketfront/* package. Installing this package on a developer or CI machine results in exfiltration of environment variables (including any credentials present in env), host identity, and shell history/config file contents to an attacker-controlled endpoint.\n","state":0,"publishedAt":"2026-07-02T00:00:00+00:00","modifiedAt":"2026-07-06T05:16:45.300725+00:00","affected":[{"ecosystem":"npm","name":"@marketfront/devtoolsloader","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/devtoolsloader/v/7.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6774","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6774","identifiers":["MAL-2026-6774"]},"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}]}