{"id":"MAL-2026-12176","revision":"58510b51a610403f848bcf72943ee956","records":[{"revision":"58510b51a610403f848bcf72943ee956","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12176","aliases":[],"title":"Malicious code in dateuuidv2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a15649ce278832166c0fc4b80206329a54347bf748b207c088308e72a31f72f1)\nThe package advertises itself as a UUID v7 generator, but its main entry loads lib/bootstrap.js which unconditionally invokes extractDateISO() at require time. That function reads a PORT= value from README.md in the current working directory, uses those digits to reconstruct an AES-256-GCM key/IV, and decrypts a hardcoded ciphertext to recover a C2 URL. It then POSTs the installer's OS platform and release string to that URL, and executes the response body: on Windows it writes the response to %TEMP%/temp_<timestamp>.vbs (extension built as '.v'+'b'+'s' to avoid a literal.vbs string) and runs it via child_process.exec, then unlinks the file. Multiple evasion layers are present: AES-GCM ciphertext for the destination URL, key material sourced from a file the operator is told to seed with a PORT= value, and string-concatenated dropper extension. The advertised UUID functionality is unrelated to any of the network I/O or shell execution behavior.\n","state":0,"publishedAt":"2026-08-05T09:16:51+00:00","modifiedAt":"2026-08-05T13:35:18.0029549+00:00","affected":[{"ecosystem":"npm","name":"dateuuidv2","ranges":[],"versions":["1.0.1","1.0.0","1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/dateuuidv2/v/1.0.1","https://www.npmjs.com/package/dateuuidv2/v/1.0.0","https://www.npmjs.com/package/dateuuidv2/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12176","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12176","identifiers":["MAL-2026-12176"]},"retained":false,"historicalAffected":[]}],"coverage":[]}