Skip to main content
MalwarePublished Updated

tn-advertisement (npm) · Malicious Code

Affects tn-advertisementSource GCVE Database

0

Malicious package : remove tn-advertisement and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5838

What to do

Remove tn-advertisement from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtn-advertisementAffected
  • =5.0.0
  • =5.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'tn-advertisement' version 5.0.0 contains malicious code that performs an unconditional outbound HTTP request to a unique subdomain of oastify.com upon being required. This behavior reveals the installer's public IP and DNS resolver to an external party, indicating code execution on the installer's machine. The package lacks legitimate functionality and is consistent with reconnaissance payloads used in dependency confusion supply-chain attacks. Installing or running this package likely results in full compromise of the affected system.

References

Community reviews

Loading reviews…