{"id":"MAL-2026-12189","revision":"c5facf81a35b48308c5eef564d798a5b","records":[{"revision":"c5facf81a35b48308c5eef564d798a5b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12189","aliases":[],"title":"Malicious code in react-scroll-disable (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (30e2eae248242fe92d777348542534e187d7773c2a092e8d3240d8bdd5b94afa)\nOn require of react-scroll-disable, the package's main entry executes an eval(atob(...)) blob appended after the legitimate RemoveScroll export. The blob loads child_process and http via \\uXXXX-escaped identifiers, queries public Ethereum RPCs for the latest transaction to address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the transaction's `to` field into two IPv4 addresses, and issues GET/HEAD requests to those hosts on port 443 (paths /0x/cls and /0x/ls). The response carries an XOR-encrypted second-stage script in an x-payload-b64 header, which is decrypted and executed via spawn('node', ['-e', <payload>], {detached: true, stdio: 'ignore', windowsHide: true}).unref(), producing a detached child process running attacker-controlled code with no user interaction. The same payload is present in both dist/es2015 and dist/es2019 entry files. The attacker rotates the delivery IP by publishing new on-chain transactions, so the fetched code changes without any package update.\n","state":0,"publishedAt":"2026-08-05T09:08:43+00:00","modifiedAt":"2026-08-05T10:06:14.2256312+00:00","affected":[{"ecosystem":"npm","name":"react-scroll-disable","ranges":[],"versions":["2.5.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/react-scroll-disable/v/2.5.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12189","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12189","identifiers":["MAL-2026-12189"]},"retained":false,"historicalAffected":[]}],"coverage":[]}