npm · Malicious package advisory
Malwaretn-advertisement
MAL-2026-5838
Malicious code in tn-advertisement (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1b13ed4147b360eee88a36d9fe649dccbef37cf9019072841e697b88b6e4d3d2) On require, index.js performs an unconditional `http.get` to a unique subdomain of oastify.com (Burp Suite Collaborator out-of-band testing infrastructure). The package has no advertised functionality — the entry file is named postinstall.js but wired as `main`, and its only behavior is the outbound beacon. Loading the module discloses the installer's public IP and DNS resolver to whoever provisioned the unique Collaborator subdomain, confirming code execution on the installer's machine. This shape is consistent with dependency-confusion reconnaissance payloads used to verify a successful supply-chain landing prior to follow-on exploitation.
Compromised versions (1)
- 5.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.