{"id":"MAL-2026-14064","revision":"3970a65590f54515b7df86a076b2b082","records":[{"revision":"3970a65590f54515b7df86a076b2b082","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14064","aliases":[],"title":"Malicious code in @finaxis/common-js (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (832d1ce61ce1f1e1430c60e94175cc80700dfbb2f8d0f46fd7d00b64720026d8)\nPackage publishes under a lodash-imitating identity: keywords `lodash`/`lodash-js`, and the README is a verbatim copy of the official lodash 4.18.1 README. The single shipped file `dist/common-js.js` is not lodash — it is a ~770 KB javascript-obfuscator bundle (17,969-entry rotated string array, `_0xNNNN` identifiers). After deobfuscation the bundle is a browser-based cryptocurrency-mining client: it opens a WebSocket to a caller/config-supplied pool URL, spawns a fan-out of Web Workers keyed by `workerId`, handles `nonce` framing, and bundles an AES-GCM decryption primitive (`aesGcmDecrypt` from @noble/ciphers) for pool message decryption. Wallet and worker identifiers are read from a config object with fallbacks (`cfg.wallet||'x'`, `cfg.worker||'worker'`). A developer who installs this expecting a lodash-family utility and ships it in a web application will silently mine cryptocurrency on their end users' browsers, consuming visitor CPU/battery and creating a compliance/abuse liability for the downstream site. The identity masquerade (name/keywords/README all mimicking lodash) combined with heavy string-array obfuscation of the real payload is the standard shape of a supply-chain masquerade attack.\n","state":0,"publishedAt":"2026-08-15T17:07:14+00:00","modifiedAt":"2026-08-19T00:30:11.6061233+00:00","affected":[{"ecosystem":"npm","name":"@finaxis/common-js","ranges":[],"versions":["0.3.4","0.3.6","0.3.10","0.3.8","0.3.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@finaxis/common-js/v/0.3.4","https://www.npmjs.com/package/@finaxis/common-js/v/0.3.6","https://www.npmjs.com/package/@finaxis/common-js/v/0.3.10","https://www.npmjs.com/package/@finaxis/common-js/v/0.3.8","https://www.npmjs.com/package/@finaxis/common-js/v/0.3.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14064","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14064","identifiers":["MAL-2026-14064"]},"retained":false,"historicalAffected":[]}],"coverage":[]}