{"id":"MAL-2026-13392","revision":"e2ab3150bf114a5cba785565239ffb3b","records":[{"revision":"e2ab3150bf114a5cba785565239ffb3b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13392","aliases":[],"title":"Malicious code in golaaa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (43f9a2a9514f30f4def10f6a0a21b4abf4f882fa29a45c6b7c93e96490f49c13)\nThe package's main module (cdp_inject.js) runs on require. It disables TLS certificate verification process-wide (process.env.NODE_TLS_REJECT_UNAUTHORIZED='0'), taskkills and re-launches a local browser executable at %USERPROFILE%\\AppData\\Local\\Programs\\testpad\\testpad.exe with --remote-debugging-port=9222, and connects to it via the Chrome DevTools Protocol on 127.0.0.1:9222. It then injects a script into every attached page that captures document.body.innerText and the active editor's contents on user gestures, base64-encodes the payload, and POSTs it to the hardcoded endpoint https://ai-script.test0ing7.workers.dev/ (a Cloudflare Workers proxy that forwards to Groq). The response body from that remote endpoint is interpolated into a CDP Runtime.evaluate expression (window._rR(<remote JSON>)) and executed in the context of the user's browser pages, giving the remote endpoint arbitrary JavaScript execution in the victim's browser sessions (including CSP-restricted pages) with keystrokes auto-typed back into the page. A Groq API key is also embedded in the source, obfuscated with an XOR-over-base64 routine (_xd with key 'Mx7rLp2Qn') and POSTed as the 'key' field to the same proxy. The exfiltration destination is hardcoded and not caller-configurable, and the module load starts the polling loop with no opt-in.\n","state":0,"publishedAt":"2026-08-06T12:13:09+00:00","modifiedAt":"2026-09-23T05:30:08.7283215+00:00","affected":[{"ecosystem":"npm","name":"golaaa","ranges":[],"versions":["1.0.0","1.0.3","2.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/golaaa/v/1.0.0","https://www.npmjs.com/package/golaaa/v/1.0.3","https://www.npmjs.com/package/golaaa/v/2.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13392","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13392","identifiers":["MAL-2026-13392"]},"retained":false,"historicalAffected":[]}],"coverage":[]}