{"id":"MAL-2026-12192","revision":"9b988fc6c5164734892dd5fc5c6d1017","records":[{"revision":"9b988fc6c5164734892dd5fc5c6d1017","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12192","aliases":[],"title":"Malicious code in scrollbar-hide-plugin (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4f19e1731b591552a096b108703702b9663c1bbb8cf9c2ff6fc048f8582e8607)\nThe package's main entry (dist/index.js) appends an obfuscated payload — wrapped in eval(atob(...)) with require targets and URLs hidden in \\uXXXX escapes — to an otherwise legitimate Tailwind scrollbar-hide plugin. When the package is required or imported, the payload queries Ethereum RPCs for transactions from a hardcoded address (0xa322e5f3d311d3080e6f0121063e9adc2490ef1a), decodes attacker IPv4 addresses from the transaction `to` field bytes, and fetches XOR-encoded JavaScript from those IPs on port 443 (paths `/0x/cls` and `/0x/ls`). The fetched code is then executed both via `eval` in-process and via `spawn('node', ['-e',...], {detached:true}).unref()` as a detached child process. The C2 destinations are resolved dynamically from on-chain data, so the operator can rotate infrastructure without republishing the package. The name resembles the legitimate tailwind-scrollbar-hide package (reslear/tailwind-scrollbar-hide), consistent with a name-squat trojan.\n","state":0,"publishedAt":"2026-08-05T09:10:58+00:00","modifiedAt":"2026-08-05T10:06:15.4722384+00:00","affected":[{"ecosystem":"npm","name":"scrollbar-hide-plugin","ranges":[],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/scrollbar-hide-plugin/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12192","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12192","identifiers":["MAL-2026-12192"]},"retained":false,"historicalAffected":[]}],"coverage":[]}