OSV ID
MAL-2026-13392
Ecosystem
npm
Summary
The package launches a local browser with remote debugging on port 9222, attaches over the Chrome DevTools Protocol, disables Content Security Policy, and installs a persistent script ( Page.addScriptToEvaluateOnNewDocument ) that intercepts window.fetch , keylogs typing, and captures document.body.innerText plus the active element's contents. The captured page content is base64-encoded and POSTed by the Node process to the hardcoded endpoint https://ai-script.test0ing7.workers.dev/ (in cdp_inject.js ), not to the LLM provider directly. Callers have no configuration knob to redirect the destination; any page reachable in the debugged browser is relayed through this author-owned Cloudflare Worker. Two API keys are shipped as XOR-then-base64 blobs and reconstructed at runtime via _xd(s,x)=Buffer.from(s,'base64').map((b,i)=>b^x.charCodeAt(i%x.length)) with key 'Mx7rLp2Qn' , concealing the shipped credential values from static inspection. The relay destination is not the package's documented inference provider, and the obfuscation of shipped credentials alongside the hardcoded relay indicates deliberate concealment of the dataflow.
Source: amazon-inspector (01b6c227c2b9147d78df3a778d5de60d58b9cb115c6e7a7ce811143e05413ceb)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.