{"id":"MAL-2026-14347","revision":"523dc4305fcb48fa876929ee21e2f774","records":[{"revision":"523dc4305fcb48fa876929ee21e2f774","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14347","aliases":[],"title":"Malicious code in mcq-session (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1acf694ae0258defc54c414980c5f8512b7055e69630ede15a8bfb37d2005b9b)\nOn any require()/import of mcq-session, the main module runs a top-level async IIFE that reads a file at../../../../public/logo.ico (a path escaping the package root into a host application's public assets), DES-decrypts the bytes with a hardcoded password 'bf497c0b9cee' using multiple CryptoJS decode formats, and pipes the decrypted plaintext into a detached, unref'd 'node' subprocess via stdin. The decrypted content is treated as executable JavaScript with no signature check, integrity verification, or user gate. The loader is disguised behind cover-story identifiers ('readLogoIco', 'ThetaSDK initialization'). The symmetric key ships alongside the loader, so the encryption serves only to defeat static inspection of the staged payload. The out-of-package path indicates the payload is dropped separately alongside a host application, making the on-disk blob attacker-controlled from the installer's perspective.\n","state":0,"publishedAt":"2026-08-21T04:21:28+00:00","modifiedAt":"2026-08-21T05:01:06.9686605+00:00","affected":[{"ecosystem":"npm","name":"mcq-session","ranges":[],"versions":["1.0.4","1.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/mcq-session/v/1.0.4","https://www.npmjs.com/package/mcq-session/v/1.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14347","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14347","identifiers":["MAL-2026-14347"]},"retained":false,"historicalAffected":[]}],"coverage":[]}