OpenSSF/OSV advisory MAL-2026-13922 confirms this npm version as malicious. package.json declares a preinstall hook that runs index.js on npm install. The script collects hostname, username, home directory, DNS servers, current working directory, and the contents of /etc/passwd and /etc/hosts, then POSTs the collected data over HTTPS to the hardcoded subdomain ltivq9rn7t7gkxho4o1micsk6bc20uoj.oastify.com (a Burp Collaborator out-of-band interaction host)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in passkeys-react (npm)
Details
package.json declares a preinstall hook that runs index.js on npm install. The script collects hostname, username, home directory, DNS servers, current working directory, and the contents of /etc/passwd and /etc/hosts, then POSTs the collected data over HTTPS to the hardcoded subdomain ltivq9rn7t7gkxho4o1micsk6bc20uoj.oastify.com (a Burp Collaborator out-of-band interaction host). The behavior fires automatically as part of a default install and matches an installer-side host reconnaissance and system-file exfiltration pattern; the package's stated purpose (a passkeys React helper) does not require reading /etc/passwd, /etc/hosts, or contacting an OAST endpoint.
Decision reason
OpenSSF Malicious Packages via OSV confirms passkeys-react@1.0.1 as malicious (MAL-2026-13922): Malicious code in passkeys-react (npm)