{"id":"GHSA-22qr-5q9r-7v6x","revision":null,"records":[{"revision":"de8d5a3a056b40369675e636b4266cb2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10491","aliases":["GHSA-22qr-5q9r-7v6x"],"title":"Malicious code in assertcoreutils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1e53b085bfe045b4aeabe9ad77e1066ab0883f27304197377681191c3118b780)\nassertcoreutils impersonates the popular `chai` assertion library: the README, the `chai` keyword, the `lib/chai/` directory layout, and `lib/chai.js` are copied verbatim from chai. When a consumer runs `require('assertcoreutils')`, index.js calls `child_process.spawn('node', ['lib/chai/utils/addAssertion.js',...], { detached: true, stdio: 'ignore' })` followed by `.unref()`, launching a hidden, detached child that survives the parent and produces no console output. `lib/chai/utils/addAssertion.js` is encoded with obfuscator.io string-array / RC4-base64 obfuscation (hex-named identifiers `_0x2ff01b`, `_0x516b`, etc.) that hides a hardcoded HTTPS URL plus query-key; the child performs an HTTPS GET to that URL and passes the response body into `new Function('require', body)(require)`, giving the remote operator arbitrary Node-level code execution on every installer. The combination of typosquat lure, copied legitimate package contents as cover, obfuscated remote URL, detached silent child, and runtime `new Function` over fetched bytes is a supply-chain dropper.\n\n## Source: ghsa-malware (0a5a896a613d498f5908e70719f1b9046f145713db6f66e2c5f4ef101ff46a2b)\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-13T21:00:08+00:00","modifiedAt":"2026-07-15T05:19:45.6272699+00:00","affected":[{"ecosystem":"npm","name":"assertcoreutils","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.3.2","2.3.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/assertcoreutils/v/2.3.2","https://www.npmjs.com/package/assertcoreutils/v/2.3.3","https://github.com/advisories/GHSA-22qr-5q9r-7v6x"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10491","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10491","identifiers":["MAL-2026-10491","GHSA-22qr-5q9r-7v6x"]},"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-24T19:04:00.0638408+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-24T19:04:00.0638408+00:00","lastSuccessAt":"2026-11-24T19:04:00.2567929+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:04:00.2567941+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-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-1daa7f1b67108fe35131620b8b0a5746e6fe20269a757846341bc45ffc7235c2","complete":true,"records":431554,"lastAttemptAt":"2026-11-24T19:02:03.7322381+00:00","lastSuccessAt":"2026-11-24T19:02:03.5417608+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:02:03.7322381+00:00","snapshotPublishedAt":"2026-11-24T18:24:57+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-688c786e0e154f0aa5ebda26bfba5e3a","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T19:05:48.271103+00:00","lastSuccessAt":"2026-11-24T19:05:48.266+00:00","error":"94 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T19:05:48.266+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13877,"expectedIdentifiers":13982,"failedIdentifiers":94},{"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-24T19:04:00.0638408+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T19:04:00.0638408+00:00","lastSuccessAt":"2026-11-24T19:04:00.2576656+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:04:00.2576659+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-a4d3d64b93df4d1da3938d27196fcba8","complete":true,"records":13947,"lastAttemptAt":"2026-11-24T19:04:25.9392073+00:00","lastSuccessAt":"2026-11-24T19:04:25.935+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:04:25.935+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13982,"expectedIdentifiers":13982,"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-4929b8b852ac0d08034af08eb3f8801ac97c81d230bedb3a3a0710d6b4e692b2","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T19:03:59.9069049+00:00","lastSuccessAt":"2026-11-24T18:03:57.9682362+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:03:59.9069049+00:00","snapshotPublishedAt":"2026-11-24T17:33:45+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T19:02:03.8828812+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:02:03.8828812+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T19:04:00.0151969+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:04:00.0151969+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+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-44152768b3aabd79974e12387f59fcbffd2373284eb946ae9e13df00d985abde","complete":true,"records":233039,"lastAttemptAt":"2026-11-24T19:03:59.7804047+00:00","lastSuccessAt":"2026-11-24T19:03:58.5695229+00:00","error":null,"lastVerifiedAt":"2026-11-24T19:03:59.7804047+00:00","snapshotPublishedAt":"2026-11-24T18:33:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}