Skip to content
Heist/ feed
Unrated

Malicious code in tn-advertisement (npm)

Type: advisorySource: OSV1 source record

--- _-= 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.

Announced Source revision 1
Original source ↗

MAL-2026-5838

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-5838

tn-advertisement

Source reference: /affected/0/package/name

Affected versions
5.0.0

Source reference: /affected/0/versions

5.0.1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "tn-advertisement",
      "purl": "pkg:npm/tn-advertisement",
      "ecosystem": "npm"
    },
    "versions": [
      "5.0.0",
      "5.0.1"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tn-advertisement/MAL-2026-5838.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "42b09bd60085d1bc14d00e8ca6760814d037b440344594458ee60151065111664655d9",
            "sha256": "6ae39e63c2a19fa7f4b0324f083a396408eb343adf0abe8aa2d3ecc618063998"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "21e264284d3e30211578e7ec22aa80f6e62dffce",
              "sha512_sri": "sha512-5Xffarh8WbVIQI4mC3BDHFE3WXxdqlI0HpSSQXJHtPFeUaHzmRkaEe4+ucql+jGyq5LdXjlsJBWc2dkrHfoi6Q=="
            },
            "filename": "tn-advertisement-5.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#10875 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement