{"id":"MAL-2026-14343","revision":null,"records":[{"revision":"9b78a0aa39e44dab85e1ca72ab38b8f1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14343","aliases":[],"title":"Malicious code in chai-as-soul (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (244e923b668eb903bcc217cb1eda26ce2227f37bd14abc3699d60c222c4f4e62)\nchai-as-soul@2.3.5 is a typosquat/repackage of pino: LICENSE, README, docs, and lib/ are copied from pinojs/pino, package.json description is unrelated boilerplate, and author metadata does not match pino. The package adds lib/initializeCaller.js, a top-level IIFE that runs on require. It base64-decodes a hardcoded URL (decoding to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df) stored in a variable named configEndpoint, then axios.POSTs the installer's entire process.env to that endpoint with an x-secret-header. It then passes the HTTP response body to new Function(\"require\", response.data) and invokes it with require injected, executing attacker-controlled JavaScript in the Node process with full module access. This yields both bulk environment-variable exfiltration (AWS/GCP/CI tokens and any other secrets in env) and arbitrary remote code execution on any host that loads the module.\n","state":0,"publishedAt":"2026-08-21T03:48:16+00:00","modifiedAt":"2026-08-21T04:00:14.6573332+00:00","affected":[{"ecosystem":"npm","name":"chai-as-soul","ranges":[],"versions":["2.3.5","2.3.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chai-as-soul/v/2.3.5","https://www.npmjs.com/package/chai-as-soul/v/2.3.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14343","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14343","identifiers":["MAL-2026-14343"]},"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-21T04:46:07.7099552+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T04:46:07.7099552+00:00","lastSuccessAt":"2026-11-21T04:46:07.8847404+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:07.884741+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-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-2cfe8aa391a99e22b22e1bda6d1dffdf236c0e12c43d064665ed143b609e6ad8","complete":true,"records":430021,"lastAttemptAt":"2026-11-21T04:46:06.5930646+00:00","lastSuccessAt":"2026-11-21T04:46:06.5606407+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:06.5930646+00:00","snapshotPublishedAt":"2026-11-21T04:33:49+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-b4fa7f318e5e4e2fbf5875ad20b6fa74","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T04:51:41.9443074+00:00","lastSuccessAt":"2026-11-21T04:51:40.917+00:00","error":"81 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T04:51:40.917+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13886,"expectedIdentifiers":13967,"failedIdentifiers":81},{"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-21T04:46:07.7099552+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T04:46:07.7099552+00:00","lastSuccessAt":"2026-11-21T04:46:10.0567842+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:10.0567847+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-b466af56ae8f4061b064c38e0c70b535","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T04:46:11.1715153+00:00","lastSuccessAt":"2026-11-21T04:46:11.167+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:11.167+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"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-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T04:46:07.2938941+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:07.2938941+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+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-21T04:46:06.8065871+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:06.8065871+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-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T04:46:07.6677111+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:07.6677111+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+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-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T04:46:07.18186+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T04:46:07.18186+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}