OpenSSF/OSV advisory MAL-2026-11105 confirms this npm version as malicious. package.json declares a `preinstall` script that runs `node index.js` on `npm install`. index.js collects host identifiers (os.hostname(), os.platform(), os.arch(), os.homedir(), dns.getServers()) and POSTs them as JSON to the hardcoded host `f4k2mnpoengdb7o3etftn7fmkdq5ew5ku.oastify.com` (a Burp Collaborator out-of-band interaction endpoint)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in xo-twofa (npm)
Details
package.json declares a `preinstall` script that runs `node index.js` on `npm install`. index.js collects host identifiers (os.hostname(), os.platform(), os.arch(), os.homedir(), dns.getServers()) and POSTs them as JSON to the hardcoded host `f4k2mnpoengdb7o3etftn7fmkdq5ew5ku.oastify.com` (a Burp Collaborator out-of-band interaction endpoint). The beacon fires automatically on install without user interaction and self-describes as a dependency-confusion proof of concept.
## Source: ghsa-malware (3b53f3137f847d7234a065286565e0112a828bb14dd580d6ea46a9c262397294) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OpenSSF Malicious Packages via OSV confirms xo-twofa@15.0.0 as malicious (MAL-2026-11105): Malicious code in xo-twofa (npm)