{"id":"GHSA-6q3r-v92v-89p4","revision":null,"records":[{"revision":"9acbcf31ccc54c478384a94885dad631","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13700","aliases":["GHSA-6q3r-v92v-89p4","GHSA-7qqp-m577-rp2w","SNYK-JS-CHAIASDEPLOYER-18609744"],"title":"Malicious code in chai-as-deployer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c4da130c2818dc609c23c93511a70a6c207cf19cdf9fdd937e369e07b5f1e492)\nThe package is published as `chai-as-deployer` but its tarball contains verbatim pino README/docs/type-definitions while the advertised chai plugin is a no-op Express middleware (`return (_req,_res,next) => { next(); }`). index.js unconditionally executes `require('./lib/config')` at module top level, loading a ~3.5MB single-line obfuscator.io-style bundle (rotated string array, decoder functions, hex-escaped identifiers) that has no relationship to pino or the advertised functionality. The obfuscated body contains `require`, `exec`, `spawn`, and `axios` tokens, indicating the decoded code drives child-process execution and outbound HTTP requests. Any consumer that imports `chai-as-deployer` triggers this payload with no further action. Author metadata is generic (`Harrison Thorn <harrisonthorn@protonmail.com>`, bugs URL `harrisonthorn.com`) and the package description is unrelated boilerplate. The combination of cover-story impersonation, no legitimate functionality, top-level require of a heavily obfuscated bundle, and shell+network primitives inside that bundle is the canonical shape of an import-time stealer/loader.\n\n## Source: ghsa-malware (cb63584d83487c7d7ce3b9d031d79502412fd048c2260a05b0a8ef98aa23ef59)\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-08-10T12:30:35+00:00","modifiedAt":"2026-09-24T09:10:30.5632012+00:00","affected":[{"ecosystem":"npm","name":"chai-as-deployer","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.3.6","2.3.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chai-as-deployer/v/2.3.6","https://www.npmjs.com/package/chai-as-deployer/v/2.3.5","https://github.com/advisories/GHSA-6q3r-v92v-89p4","https://github.com/advisories/GHSA-7qqp-m577-rp2w","https://security.snyk.io/vuln/SNYK-JS-CHAIASDEPLOYER-18609744"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13700","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13700","identifiers":["MAL-2026-13700","GHSA-6q3r-v92v-89p4","GHSA-7qqp-m577-rp2w","SNYK-JS-CHAIASDEPLOYER-18609744"]},"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-12T16:19:13.9264037+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T16:19:13.9264037+00:00","lastSuccessAt":"2026-11-12T16:19:14.0947214+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:19:14.0947234+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-c64cc013e4ac327a566ebd7919181330aa5f66a956ac80541b59e61c9511ffa7","complete":true,"records":424746,"lastAttemptAt":"2026-11-12T16:16:35.996916+00:00","lastSuccessAt":"2026-11-12T16:16:35.9151725+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:16:35.996916+00:00","snapshotPublishedAt":"2026-11-12T15:27:51+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-12T16:19:53.6740078+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-12T16:19:13.9264037+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T16:19:13.9264037+00:00","lastSuccessAt":"2026-11-12T16:19:14.0955675+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:19:14.0955686+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-a5ed1749d4ca44a88777468d4cc63180","complete":false,"records":13774,"lastAttemptAt":"2026-11-12T16:19:52.8290148+00:00","lastSuccessAt":"2026-11-12T16:19:52.825+00:00","error":"200 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T16:19:52.825+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13613,"expectedIdentifiers":13827,"failedIdentifiers":200},{"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-12T16:19:13.8670149+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:19:13.8670149+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-12T16:16:36.067884+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:16:36.067884+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-12T16:19:13.8796609+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:19:13.8796609+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-52c66146e031660a8644f273fd9c179a9dcf81527193679df32e91c1c2afbb7b","complete":true,"records":231703,"lastAttemptAt":"2026-11-12T16:19:13.7355834+00:00","lastSuccessAt":"2026-11-12T16:19:12.0625446+00:00","error":null,"lastVerifiedAt":"2026-11-12T16:19:13.7355834+00:00","snapshotPublishedAt":"2026-11-12T15:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}