{"id":"MAL-2026-11043","revision":null,"records":[{"revision":"90860c438b13460a9600e4d4f7f94733","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11043","aliases":[],"title":"Malicious code in supplyhub (npm)","description":"The npm package `supplyhub` is a credential / SSH-key stealer. Its `package.json` declares a `postinstall` lifecycle hook (`postinstall: node postinstall.js`) that executes automatically on `npm install`, before the package is ever imported.\n\n`postinstall.js` uses `fs.readFileSync` to read the user's SSH private key (`~/.ssh/id_rsa`) and the process environment (`/proc/self/environ` — where CI/cloud tokens and npm tokens live), and gathers account/host identity via `os.userInfo()`; it also references `/etc/passwd`. The collected data is exfiltrated by HTTP POST to a hard-coded webhook.site dead-drop: `https://webhook.site/3c9418b3-cacd-403d-b42e-e9e4a9508fe3`.\n\nOnly version 1.0.2 is malicious: version 1.0.0 (held in the codelake corpus) is clean — the exfiltration code was introduced in the 1.0.2 release (a trust-then-poison pattern). Any workstation or CI runner that installs supplyhub@1.0.2 (directly or transitively) hands its SSH key and environment secrets to the operator.\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0d6286c7aa72597cf47fca7e9db99799909ceba09490f4a185b359e71f63590)\nsupplyhub@1.0.1 ships a postinstall.js that runs automatically on npm install and collects installer host identifiers (os.hostname(), os.userInfo().username, process.cwd(), pid, platform, arch, node version) along with CI-related environment variables (CI, RENOVATE_VERSION), then transmits them as query parameters to a hardcoded webhook.site endpoint (https://webhook.site/3c9418b3-cacd-403d-b42e-e9e4a9508fe3) using https.get with http and execSync('curl...' || wget...) fallbacks. The package.json description self-labels this as a dependency-confusion PoC targeting the 'Travix supplyhub' name, but the tarball is published to public npm and will execute the install-time beacon against any installer that resolves this name, including unrelated users who typo or whose internal builds dependency-confuse into it.\n","state":0,"publishedAt":"2026-07-20T00:00:00+00:00","modifiedAt":"2026-09-11T04:00:07.8202534+00:00","affected":[{"ecosystem":"npm","name":"supplyhub","ranges":[],"versions":["1.0.2","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://research.codelake.dev/advisories/clr-2026-3038-supplyhub","https://www.npmjs.com/package/supplyhub/v/1.0.2","https://www.npmjs.com/package/supplyhub/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11043","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11043","identifiers":["MAL-2026-11043"]},"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-15T00:30:35.7025358+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T00:30:35.7025358+00:00","lastSuccessAt":"2026-11-15T00:30:35.860631+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.8606328+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-f4305fb3b9417bd97547e9305731a80b9463cd5f49ef853b3cd62960cad53a57-b1b3898d5794e2254d7800e3fe3019a3916d0abcec27dcc333172b795590268a","complete":true,"records":425757,"lastAttemptAt":"2026-11-15T00:30:35.1141414+00:00","lastSuccessAt":"2026-11-14T23:32:08.2210295+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.1141414+00:00","snapshotPublishedAt":"2026-11-14T23:27:44+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-19d3a167288748059b764510b42a56e1","complete":true,"records":13821,"lastAttemptAt":"2026-11-15T00:39:00.6890084+00:00","lastSuccessAt":"2026-11-15T00:39:00.683+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:39:00.683+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"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-15T00:30:35.7025358+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T00:30:35.7025358+00:00","lastSuccessAt":"2026-11-15T00:30:35.8620517+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.8620552+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-a2d6726fa6984ccea1afed1a3e59d87e","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T00:31:15.0819052+00:00","lastSuccessAt":"2026-11-15T00:31:15.078+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:31:15.078+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"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-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T00:30:35.4763058+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.4763058+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T00:30:35.2641931+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.2641931+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T00:30:35.583275+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.583275+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+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-bfbc75e561bfffdd0ad20c592902934adbd2d0a701402c5539bbccd9991fe78c","complete":true,"records":232472,"lastAttemptAt":"2026-11-15T00:30:35.36985+00:00","lastSuccessAt":"2026-11-14T21:27:13.9659762+00:00","error":null,"lastVerifiedAt":"2026-11-15T00:30:35.36985+00:00","snapshotPublishedAt":"2026-11-14T20:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}