{"id":"MAL-2026-10939","revision":null,"records":[{"revision":"f836cb16dec048c4806b604b2c065f5a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10939","aliases":["GHSA-vc32-h28h-pmhm"],"title":"Malicious code in chai-as-reddit (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8eff17b9d2536e662413c5c7090a1611f8c2813033a03960f9d979f23f2f72e7)\nThe npm package chai-as-reddit@7.0.4 is a trojaned distribution. Its published metadata and README describe a Chai plugin for Reddit API assertions, but the shipped tree (lib/, docs/, docsify/, SECURITY.md, LICENSE, index.d.ts) is copied from the unrelated Pino logger project as camouflage. The real entry point index.js is an unrelated Express-style middleware factory that additionally runs `require('./lib/config')` at top level. lib/config.js is a ~4 MB heavily obfuscated JavaScript file using obfuscator.io-style transformations (hex-string identifiers, a ~23,890-entry rotating string array, control-flow flattening, encoded number/string wrappers), and it does not exist in genuine Pino. Because index.js loads it at module top level, the opaque payload executes in the installer's Node.js process on any require or import of the package, before any exported API is invoked. The combination of a cover-story package name and README, camouflage sourced from an unrelated project, and an auto-executed obfuscated blob is characteristic of a supply-chain execution payload.\n\n## Source: ghsa-malware (2001f9e400a8a00d732bdcdfc5b0744420a7595ec39311cda805ca53fce035ad)\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-21T00:39:41+00:00","modifiedAt":"2026-09-24T09:00:44.6030134+00:00","affected":[{"ecosystem":"npm","name":"chai-as-reddit","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["7.0.2","7.0.4","7.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-vc32-h28h-pmhm","https://www.npmjs.com/package/chai-as-reddit/v/7.0.2","https://www.npmjs.com/package/chai-as-reddit/v/7.0.4","https://www.npmjs.com/package/chai-as-reddit/v/7.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10939","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10939","identifiers":["MAL-2026-10939","GHSA-vc32-h28h-pmhm"]},"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-12T17:18:53.3551573+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T17:18:53.3551573+00:00","lastSuccessAt":"2026-11-12T17:18:53.5098368+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.5098375+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-12T17:16:18.2884716+00:00","lastSuccessAt":"2026-11-12T16:16:35.9151725+00:00","error":"AccessDenied (HTTP 403)","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-88e6245ba7dc4729a2344f78a2d37df7","complete":true,"records":13774,"lastAttemptAt":"2026-11-12T17:19:38.3951622+00:00","lastSuccessAt":"2026-11-12T17:19:38.384+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:19:38.384+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-12T17:18:53.3551573+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T17:18:53.3551573+00:00","lastSuccessAt":"2026-11-12T17:18:53.5137452+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.5137465+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-053c822da76a4019981dc05530c81af1","complete":false,"records":13774,"lastAttemptAt":"2026-11-12T17:19:19.2511928+00:00","lastSuccessAt":"2026-11-12T17:19:19.245+00:00","error":"200 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T17:19:19.245+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-12T17:18:53.1888873+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.1888873+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-12T17:16:18.5164346+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:16:18.5164346+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-12T17:18:53.2989437+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.2989437+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-bde599d85a9f7715a977e2ca25ddb66721130a1c4ff1699631218bc0243e1ab5","complete":true,"records":231717,"lastAttemptAt":"2026-11-12T17:18:53.040847+00:00","lastSuccessAt":"2026-11-12T17:18:51.4424333+00:00","error":null,"lastVerifiedAt":"2026-11-12T17:18:53.040847+00:00","snapshotPublishedAt":"2026-11-12T16:33:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}