{"id":"MAL-2026-12350","revision":null,"records":[{"revision":"48511867daed4e1fa02d8b96863422a7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12350","aliases":[],"title":"Malicious code in chart-data-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3980b39b1ba77c4c8df0b8e08016a299640a60b6255c1ea8be1883343ec750e9)\nchart-data-utils@1.0.0 advertises itself as a chart data/color helper library (index.js contains only trivial color utilities), but ships a postinstall.js that runs at npm install time and performs credential harvesting and host reconnaissance. The postinstall shells out via child_process.exec to: (1) collect hostname, whoami/id output, Docker/cgroup indicators, sudo -ln, ps aux, ip addr/route; (2) enumerate process environment variables and grep-filter for KEY|TOKEN|SECRET|CREDENTIAL|NPM_TOKEN|AWS_|AZURE|GCP|GITHUB_TOKEN plus GitHub Actions identity fields (GITHUB_TOKEN, GITHUB_REPOSITORY, GITHUB_ACTOR, RUN_ID); (3) probe cloud instance-metadata endpoints at 169.254.169.254 (AWS), 100.100.100.200 (Aliyun), metadata.google.internal (GCP), metadata.tencentyun.com (Tencent), and an internal host tst.woa.com; (4) base64-encode the collected data and POST/GET it over plain HTTP to the hardcoded Burp Collaborator subdomain pzs5w7ntzhsnepwk564lyfdci3oucl0a.oastify.com. The package name/description are a cover story for a CI credential harvester; Chinese-language comments (\"分片回传版\") in the postinstall reference tst.woa.com.\n","state":0,"publishedAt":"2026-08-05T12:31:46+00:00","modifiedAt":"2026-09-24T09:30:14.7848422+00:00","affected":[{"ecosystem":"npm","name":"chart-data-utils","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chart-data-utils/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12350","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12350","identifiers":["MAL-2026-12350"]},"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-12T15:18:36.8013667+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T15:18:36.8013667+00:00","lastSuccessAt":"2026-11-12T15:18:36.9729425+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:18:36.9729445+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-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-ce52085a719093f0c5c1a22955ef40113c8b4b78fc48ea8cae75798f0654ca92","complete":true,"records":424686,"lastAttemptAt":"2026-11-12T15:16:35.6551392+00:00","lastSuccessAt":"2026-11-12T15:16:35.6028566+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:16:35.6551392+00:00","snapshotPublishedAt":"2026-11-12T14:24:01+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-0dd173dcc5624b0cb371f5065d625c0e","complete":true,"records":13774,"lastAttemptAt":"2026-11-12T15:19:09.2061396+00:00","lastSuccessAt":"2026-11-12T15:19:09.202+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:19:09.202+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13827,"expectedIdentifiers":13827,"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-12T15:18:36.8013667+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T15:18:36.8013667+00:00","lastSuccessAt":"2026-11-12T15:18:36.9737093+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:18:36.9737094+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-244ddfd3100f4fc8a5e84e4b9cd74abd","complete":false,"records":13774,"lastAttemptAt":"2026-11-12T15:19:02.4295729+00:00","lastSuccessAt":"2026-11-12T15:19:02.425+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:19:02.425+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13827,"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-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T15:18:32.0027103+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:18:32.0027103+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+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-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T15:16:35.7970165+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:16:35.7970165+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+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-0d57668ba92a2918d0664e89ea91d467f8e6a2bc6330923eb883b74ac42a14ec","complete":true,"records":3125,"lastAttemptAt":"2026-11-12T15:18:36.7661944+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:18:36.7661944+00:00","snapshotPublishedAt":"2026-11-12T14:48:37+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-6cbb44aef5fd07e3509d0cb5958d1e038086e0624fe50035d08dda411a5244cc","complete":true,"records":231701,"lastAttemptAt":"2026-11-12T15:18:31.8701979+00:00","lastSuccessAt":"2026-11-12T15:18:30.29474+00:00","error":null,"lastVerifiedAt":"2026-11-12T15:18:31.8701979+00:00","snapshotPublishedAt":"2026-11-12T14:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}