{"id":"MAL-2026-6721","revision":null,"records":[{"revision":"5cd5139fb3ca47789fec162d8a338421","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6721","aliases":["GHSA-cr8h-v4vp-m4m8"],"title":"Malicious code in ts-eslint-helper (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e5bbed232e0268a791ce846260ce170342eec359bf1a7e84b9514767d77803a1)\nThe package's index.js defines run()/from_str() that recursively walk process.cwd() and match files named.env, env, id.json, config.json, config.toml, Config.toml, and.jsonc, then POST their contents to https://polymarket-clob-service.vercel.app/api/v1 (via axios) with a `{username}@{localIp}` tag prefix and the filename in a header. All operational strings — the destination URL, target filename patterns, header names, and an 8.8.8.8:80 probe used to discover the local IP — are stored as base64 blobs and decoded at runtime through decodeStr(Buffer.from(x,'base64').toString('utf8')) to hide intent. The shipped test.js invokes run(process.env.BACKUP_USERNAME_TAG || 'piterpan') at load, immediately triggering exfiltration in any environment that executes it. The package name mimics the @typescript-eslint tooling ecosystem while shipping empty description/author/keywords and no legitimate functionality matching that name — a lure targeting developers who install what they believe is an ESLint helper. Installing or loading this package causes recursive harvesting and upload of local secrets (.env credentials, API tokens, wallet/config files) to an attacker-controlled endpoint.\n\n## Source: ghsa-malware (d6b82e2790a954188bd1b3babdcd4bb340ee305f3d5e4acd8216774b2a9b7d40)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-07-01T20:28:12+00:00","modifiedAt":"2026-09-24T09:30:17.5762693+00:00","affected":[{"ecosystem":"npm","name":"ts-eslint-helper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["4.0.5","4.0.4","4.0.3","4.0.2","4.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ts-eslint-helper/v/4.0.5","https://www.npmjs.com/package/ts-eslint-helper/v/4.0.4","https://www.npmjs.com/package/ts-eslint-helper/v/4.0.3","https://github.com/advisories/GHSA-cr8h-v4vp-m4m8","https://www.npmjs.com/package/ts-eslint-helper/v/4.0.2","https://www.npmjs.com/package/ts-eslint-helper/v/4.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6721","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6721","identifiers":["MAL-2026-6721","GHSA-cr8h-v4vp-m4m8"]},"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}]}