{"id":"MAL-2026-17226","revision":null,"records":[{"revision":"72d1c389075c4efea1e4b860746774c6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17226","aliases":[],"title":"Malicious code in figlet-chalk-render (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d5ccd0a988525d8128b520a46c4271e26ae5fe2f99accf28f37d4c7370b66de4)\nOn every `require('figlet-chalk-render')`, a top-level IIFE queries `https://registry.npmjs.org/figlet-chalk-render/latest` and, if a newer version exists, spawns `npm install figlet-chalk-render@<latest>` with cwd set to `path.join(__dirname, '..', '..')` (the consumer project's root) and stdio ignored. The `https`, `child_process`, and `path` core-module names are loaded via hex-escaped string literals (`'\\x63\\x68\\x69\\x6c\\x64\\x5f\\x70\\x72\\x6f\\x63\\x65\\x73\\x73'`, etc.) rather than plain identifiers, deliberately hiding the sensitive requires backing the auto-update. The behavior is undocumented in the README. Every consumer that imports the module receives whatever the latest published version happens to be at that moment, executed with the installer's npm privileges and lifecycle scripts, giving anyone who later controls this package name a silent code-execution channel into every installer's project tree. The hex-obfuscation of the module names is anti-evasion and rebuts a benign-self-update reading: legitimate insecure-update code does not disguise `require('child_process')`.\n","state":0,"publishedAt":"2026-09-28T18:07:55+00:00","modifiedAt":"2026-09-30T05:30:05.3901663+00:00","affected":[{"ecosystem":"npm","name":"figlet-chalk-render","ranges":[],"versions":["1.2.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/figlet-chalk-render/v/1.2.1","https://www.npmjs.com/package/figlet-chalk-render/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17226","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17226","identifiers":["MAL-2026-17226"]},"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-12T04:59:02.1392693+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T04:59:02.1392693+00:00","lastSuccessAt":"2026-11-12T04:59:02.3201564+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:02.3201571+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-ef591e4f0e76c3b422ff0b88d5784af14d3e351e9edea517ce7d635ea6edee46","complete":true,"records":424594,"lastAttemptAt":"2026-11-12T04:56:44.8167998+00:00","lastSuccessAt":"2026-11-12T04:56:44.7933175+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:56:44.8167998+00:00","snapshotPublishedAt":"2026-11-12T04:29:08+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-1556443ae10949beb23dc0d6b75915ad","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T05:06:06.4823798+00:00","lastSuccessAt":"2026-11-12T05:06:06.472+00:00","error":"78 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T05:06:06.472+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13735,"expectedIdentifiers":13813,"failedIdentifiers":78},{"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-12T04:59:02.1392693+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T04:59:02.1392693+00:00","lastSuccessAt":"2026-11-12T04:59:02.3208823+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:02.3208825+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-80af9ca000ef483a88b41952aab63f47","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T04:59:27.4436031+00:00","lastSuccessAt":"2026-11-12T04:59:27.44+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:27.44+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"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-12T04:59:01.6490656+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:01.6490656+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-12T04:56:44.9519384+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:56:44.9519384+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-baa8362b4daf9e5f39d5563775a55935e7b442c0735d33274a921579ce4a0d66","complete":true,"records":3093,"lastAttemptAt":"2026-11-12T04:59:02.0419805+00:00","lastSuccessAt":"2026-11-11T13:00:02.5446881+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:02.0419805+00:00","snapshotPublishedAt":"2026-11-11T12:47:47+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-fda6475739002437b659ab0b5b310aa7608c40371b1aa4c3777924ea9bcf2169","complete":true,"records":231696,"lastAttemptAt":"2026-11-12T04:59:01.5212948+00:00","lastSuccessAt":"2026-11-12T04:58:59.9809674+00:00","error":null,"lastVerifiedAt":"2026-11-12T04:59:01.5212948+00:00","snapshotPublishedAt":"2026-11-12T04:33:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}