Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in tn-advertisement (npm)

0
Critical
Published: 06/15/2026 (06/15/2026, 20:42:44 UTC)
Source: GCVE Database
Product: tn-advertisement

Description

The npm package 'tn-advertisement' version 5.0.0 contains malicious code that performs an unconditional HTTP request to an external unique subdomain upon being required. This behavior reveals the installer's public IP and DNS resolver to an attacker-controlled server, indicating code execution on the installer's machine. The package has no legitimate functionality and is consistent with reconnaissance payloads used in supply-chain attacks. Installing this package can lead to full compromise of the affected system, requiring immediate secret and key rotation. Removal of the package alone may not fully remediate the compromise.

Affected software

npmghsa
tn-advertisement
Affected versions
=5.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 14:29:39 UTC

Technical Analysis

The 'tn-advertisement' npm package version 5.0.0 includes malicious code in its main entry file (postinstall.js) that, when loaded, performs an unconditional HTTP GET request to a unique subdomain of oastify.com, a Burp Suite Collaborator out-of-band testing infrastructure. This request leaks the installer's public IP address and DNS resolver information to the attacker controlling the subdomain, confirming code execution on the victim's machine. The package lacks any advertised legitimate functionality and is indicative of a dependency-confusion reconnaissance payload used to verify successful supply-chain compromise before further exploitation. Due to this behavior, any system with this package installed or running should be considered fully compromised.

Potential Impact

Systems with 'tn-advertisement' version 5.0.0 installed or running are fully compromised as the package executes code that leaks sensitive network information to an attacker-controlled server. This exposure confirms attacker code execution on the victim machine, potentially allowing further malicious actions. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Simply removing the package does not guarantee full remediation due to possible additional malicious software installed during the compromise.

Mitigation Recommendations

Immediate removal of the 'tn-advertisement' package version 5.0.0 is required. All secrets, credentials, and keys stored on the affected system must be rotated from a separate, secure machine. Due to the high likelihood of full system compromise, a thorough incident response and forensic analysis should be conducted to identify and remediate any additional malicious artifacts. There is no official patch or fix for this package; avoidance and removal are the primary mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5838
Osv Schema Version
1.7.4
Aliases
["GHSA-j2c8-6hx3-7994"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a870a73acd9273b49b58a80

Added to database: 08/20/2026, 14:08:51 UTC

Last enriched: 08/20/2026, 14:29:39 UTC

Last updated: 08/20/2026, 15:31:26 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses