OpenSSF/OSV advisory MAL-2026-12794 confirms this npm version as malicious. The npm package's preinstall hook runs index.js at install time, which collects the installer's hostname, username, home directory, DNS server list, and the contents of /etc/passwd and /etc/hosts, then POSTs a JSON payload over HTTPS to a hardcoded Burp Collaborator subdomain n6usddpvkn7jcauar9va0xvleck48uwj.oastify.com...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in karapace-docs (npm)
Details
The npm package's preinstall hook runs index.js at install time, which collects the installer's hostname, username, home directory, DNS server list, and the contents of /etc/passwd and /etc/hosts, then POSTs a JSON payload over HTTPS to a hardcoded Burp Collaborator subdomain n6usddpvkn7jcauar9va0xvleck48uwj.oastify.com. The package name mimics a documentation package for karapace (a Kafka registry project), consistent with a dependency-confusion / typosquat recon payload. Installer host identity and local system file contents leave the machine to an attacker-controlled OAST endpoint on `npm install` with no user interaction.
Decision reason
OpenSSF Malicious Packages via OSV confirms karapace-docs@1.0.1 as malicious (MAL-2026-12794): Malicious code in karapace-docs (npm)