tn-advertisement
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-96gg-hmjq-f55m, GHSA-j2c8-6hx3-7994, SNYK-JS-TNADVERTISEMENT-19003450
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tn-advertisement (npm)
---
_-= 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.
Source: ghsa-malware (0b5812adc77d724fd7babfbae1e42385ef73825791393023c3e0ea2d9e4645a2)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0