{"id":"GHSA-247v-x9qw-cc59","revision":null,"records":[{"revision":"cab32a804c724114a364fc55191593af","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5710","aliases":["GHSA-247v-x9qw-cc59"],"title":"Malicious code in chalk-plus-ts (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08276c56353501373a202d28f6af6ee2a7c0b20d28a07d99c4c16309df46269c)\npackage.json declares postinstall=`node lib/utils/index.js`, which spawns a detached child process running lib/utils/smtp-connection/index.js. That script fetches https://www.jsonkeeper.com/b/QHDXR (a mutable, anonymous JSON paste host) and passes the response's `cookie` field directly into `new Function('require', data.cookie)(require)`, executing attacker-controlled JavaScript with full Node privileges on every installer machine. The detached child with ignored stdio is designed to suppress visibility of the activity. The package additionally ships lib/utils/smtp-connection/parse.js, which exposes an AES-256-CBC decryption helper with a hardcoded key and IV — consistent with a staged loader for decoding subsequent payloads delivered through the same channel. Identity is laundered: the package name `chalk-plus-ts` impersonates the popular `chalk` package, the main entry is a verbatim copy of nodemailer.js, the author field is set to nodemailer's real maintainer (Andris Reinman), and the description field is unrelated React Training boilerplate — all to lure installs from multiple ecosystems.\n\n## Source: ghsa-malware (ed0c6ed9fc3ef01e8590b5cb3967a1304333179ff797d779d9a600e64a48ffde)\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-06-12T20:34:58+00:00","modifiedAt":"2026-08-28T16:31:04.9889351+00:00","affected":[{"ecosystem":"npm","name":"chalk-plus-ts","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.3","1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chalk-plus-ts/v/1.0.3","https://github.com/advisories/GHSA-247v-x9qw-cc59","https://www.npmjs.com/package/chalk-plus-ts/v/1.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5710","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5710","identifiers":["MAL-2026-5710","GHSA-247v-x9qw-cc59"]},"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-20T11:11:00.2383591+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-20T11:11:00.2383591+00:00","lastSuccessAt":"2026-11-20T11:11:00.4374125+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:11:00.4374133+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-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-07ba66d96b581f4c82180355b0fa632bb8172879122bc61dcc5d93c4b03c59b8","complete":true,"records":429698,"lastAttemptAt":"2026-11-20T11:09:10.6855836+00:00","lastSuccessAt":"2026-11-20T11:09:10.6188854+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:09:10.6855836+00:00","snapshotPublishedAt":"2026-11-20T10:26:14+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-2c1f4cb7c9ac4959800e5926bd5b895e","complete":false,"records":13903,"lastAttemptAt":"2026-11-20T11:12:46.3393317+00:00","lastSuccessAt":"2026-11-20T11:12:46.335+00:00","error":"302 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T11:12:46.335+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13649,"expectedIdentifiers":13951,"failedIdentifiers":302},{"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-20T11:11:00.2383591+00:00","complete":true,"records":1130,"lastAttemptAt":"2026-11-20T11:11:00.2383591+00:00","lastSuccessAt":"2026-11-20T11:11:00.4383255+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:11:00.4383259+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-a21cce9fc527417fb4403304f8ff0026","complete":true,"records":13915,"lastAttemptAt":"2026-11-20T11:11:26.4688159+00:00","lastSuccessAt":"2026-11-20T11:11:26.458+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:11:26.458+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13951,"expectedIdentifiers":13951,"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-8c782c8bda9dbab8135c62bfbc9a19fa3557f15c26fbd641daea6b40b297253e","complete":true,"records":9981,"lastAttemptAt":"2026-11-20T11:11:00.0703662+00:00","lastSuccessAt":"2026-11-20T01:30:46.6941716+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:11:00.0703662+00:00","snapshotPublishedAt":"2026-11-20T00:33:13+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-94b3a229089d62296b97f627a772880f88ab7164d62486372661c0a39e321234","complete":true,"records":2019,"lastAttemptAt":"2026-11-20T11:09:10.8555907+00:00","lastSuccessAt":"2026-11-20T01:29:01.8774014+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:09:10.8555907+00:00","snapshotPublishedAt":"2026-11-20T00:17:59+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-7ce196026235c6501d0b2fb81592d1b9dc06e8705525d41efefd322e75f6c22f","complete":true,"records":3200,"lastAttemptAt":"2026-11-20T11:11:00.1768295+00:00","lastSuccessAt":"2026-11-20T01:30:49.8670987+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:11:00.1768295+00:00","snapshotPublishedAt":"2026-11-20T00:48: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-b0725ab2a76bc39373e3fa7e87444c012106d83c7bc977c898bc6c3b89dbc58a","complete":true,"records":232826,"lastAttemptAt":"2026-11-20T11:10:59.9252587+00:00","lastSuccessAt":"2026-11-20T11:10:58.3229102+00:00","error":null,"lastVerifiedAt":"2026-11-20T11:10:59.9252587+00:00","snapshotPublishedAt":"2026-11-20T10:33:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}