@dktunited/anly-tracker-v2npm
Malicious code in @dktunited/anly-tracker-v2 (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
scripts/postinstall.js runs unconditionally during npm install and exfiltrates installer-side identifiers to an attacker-controlled out-of-band collector. The script fetches the installer's public IP from api.ipify.org, then collects os.userInfo().username, os.hostname(), process.cwd(), the package name, and the resolved IP, and transmits them to the hardcoded host xjaipnfhcpawuhzlgzkzub8mc0rqdiuyp.oast.fun (an Interactsh OOB collector) via two channels: a dns.lookup of a hex-encoded subdomain and an https.request to /poc carrying the JSON payload base64-encoded in an x-poc header. The package is published at version 99.99.99 — the canonical dependency-confusion squat marker designed to outrank any internal @dktunited/anly-tracker-v2 package by semver. Whether labeled a bug-bounty PoC by the author or not, it is live on the public registry and will harm any build system that resolves it.
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