{"id":"MAL-2026-14427","revision":"9764988f8698417da375bd21300c554a","records":[{"revision":"9764988f8698417da375bd21300c554a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14427","aliases":[],"title":"Malicious code in chai-as-mno (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2e94e194f078c230d6c6b15efcddc54b133fd52c890a55b0f8bdb4c680452381)\nThe package name mimics `chai-as-promised` and its README, badges, and license text are copied from an unrelated project (`pino`), while the package.json description is unrelated boilerplate. The declared main `index.js` exports a trivial no-op Express middleware `(_req,_res,next)=>next()` and unconditionally executes `require('./lib/config')` at import time. `lib/config.js` is a ~4MB single-line file heavily obfuscated with an obfuscator.io string-array scheme (string array `d` of length 23971 with rotation, hex-named identifiers, nested decoder functions `j`/`T`, control-flow flattening, and ~40,000 inline-decoded strings). The visible surface API provides no legitimate reason to ship a multi-megabyte opaque blob as a `config` module, and merely requiring the package runs that payload in the installer's Node process. The combination of impersonation cover story, mismatched README/description, no-op public API, and an obfuscator.io-grade payload executed on `require` is the loader/dropper shape.\n","state":0,"publishedAt":"2026-08-24T16:46:38+00:00","modifiedAt":"2026-08-24T17:00:12.5963858+00:00","affected":[{"ecosystem":"npm","name":"chai-as-mno","ranges":[],"versions":["1.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chai-as-mno/v/1.0.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14427","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14427","identifiers":["MAL-2026-14427"]},"retained":false,"historicalAffected":[]}],"coverage":[]}