{"id":"MAL-2026-7020","revision":"aff4087dbf03404283f596fbede5d7aa","records":[{"revision":"aff4087dbf03404283f596fbede5d7aa","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-7020","aliases":[],"title":"Malicious code in react-v17 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (73dab7161ffcaee5f943894308dd75428e9081b872daaed7ef50218bf98ad44a)\nPackage name 'react-v17' impersonates the legitimate 'react' package. package.json declares a preinstall hook 'node index.js' that auto-executes on npm install. index.js collects installer identity and host details (os.hostname(), os.userInfo(), os.platform/arch, home directory, cwd) and runs 'whoami' and 'id' via child_process.exec, then HTTPS POSTs the aggregate JSON to a hardcoded Burp Collaborator OOB endpoint at https://1jlay7gzya8akcmqs8repdf7oyupim6b.oastify.com/detox56. The tarball also ships an undeclared ~10.9 KB file 'i' next to index.js that is not referenced by package.json or index.js.\n","state":0,"publishedAt":"2026-07-08T19:30:12+00:00","modifiedAt":"2026-07-08T19:46:48.8717953+00:00","affected":[{"ecosystem":"npm","name":"react-v17","ranges":[],"versions":["20.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/react-v17/v/20.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-7020","license":"OSV · upstream source license applies","key":"osv:MAL-2026-7020","identifiers":["MAL-2026-7020"]},"retained":false,"historicalAffected":[]}],"coverage":[]}