@klapp-kyc/routesnpm
Malicious code in @klapp-kyc/routes (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
On npm install, the package's preinstall hook executes node index.js, which collects the installer's hostname, OS username, current working directory, __dirname, and package name, then exfiltrates them through two channels unconditionally: (1) a hex-encoded DNS A-record query to a subdomain of d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live (an interactsh-style out-of-band collector), and (2) an HTTP POST of a JSON payload to http://172.201.213.59:9090/c. The package has no other functionality — package.json declares description: "security research", version 99.0.0 (dependency-confusion-style high version), and a KYC-themed scope (@klapp-kyc/routes) suggesting targeted reconnaissance against a specific organization's internal namespace. Regardless of the self-description, installers' internal host identifiers are leaked to attacker-controlled infrastructure.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection