GHSA-h38g-5vjj-8x6j
Malicious code in computerrock-babel-preset-react-app (npm)
Impact
## Source: amazon-inspector (8987a1638ceebfb3dc8c8fc29e8e696fa15c6fe667697dfc367f59bf56b14cfa) The package impersonates the well-known babel-preset-react-app under a fake org-style prefix and ships no Babel preset code. package.json declares "preinstall": "node index.js", which runs automatically on npm install. index.js collects hostname, platform, arch, homedir, username/uid/gid/shell, OS info, current working directory, and the output of `whoami` and `id`, then POSTs the JSON payload to a hardcoded https://0bccssrkeubggq24k750nrw0erki88wx.oastify.com/detox56 URL (a Burp Collaborator out-of-band exfiltration host). The package's only function is reconnaissance and exfiltration of installer-side identifiers to an attacker-controlled host. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/56ef2209ced956cf0eae3446110bf306af9573c2/osv/malicious/npm/computerrock-babel-preset-react-app/MAL-2026-6131.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | computerrock-babel-preset-react-app | = 15.12.11 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-h38g-5vjj-8x6j
- https://github.com/ossf/malicious-packages/blob/56ef2209ced956cf0eae3446110bf306af9573c2/osv/malicious/npm/computerrock-babel-preset-react-app/MAL-2026-6131.json
- https://www.npmjs.com/package/computerrock-babel-preset-react-app/v/15.12.11
- https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/computerrock-babel-preset-react-app/MAL-2026-6131.json