MAL-2026-5838

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tn-advertisement/MAL-2026-5838.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5838
Aliases
  • GHSA-96gg-hmjq-f55m
  • GHSA-j2c8-6hx3-7994
Published
2026-06-15T20:42:44Z
Modified
2026-09-01T11:40:27Z
Summary
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.

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-006710",
            "import_time": "2026-06-15T21:33:34.719214035Z",
            "modified_time": "2026-06-15T20:42:44Z",
            "sha256": "1b13ed4147b360eee88a36d9fe649dccbef37cf9019072841e697b88b6e4d3d2",
            "source": "amazon-inspector",
            "versions": [
                "5.0.0"
            ]
        },
        {
            "id": "GHSA-j2c8-6hx3-7994",
            "import_time": "2026-08-20T04:26:16.149198996Z",
            "modified_time": "2026-08-20T03:38:55Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0b5812adc77d724fd7babfbae1e42385ef73825791393023c3e0ea2d9e4645a2",
            "source": "ghsa-malware"
        },
        {
            "id": "RLMA-2026-06522",
            "import_time": "2026-09-01T11:17:34.920168519Z",
            "modified_time": "2026-08-24T17:14:11Z",
            "sha256": "20b115a6312ca692d14adb5a24de7fc83706038ecdd8ac49e5cd9715cf2fe580",
            "source": "reversing-labs",
            "versions": [
                "5.0.0",
                "5.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tn-advertisement

Package

Name
tn-advertisement
View open source insights on deps.dev
Purl
pkg:npm/tn-advertisement

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.0
5.0.1

Database specific

cwes
[
    {
        "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.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "6ae39e63c2a19fa7f4b0324f083a396408eb343adf0abe8aa2d3ecc618063998",
            "tlsh": "42b09bd60085d1bc14d00e8ca6760814d037b440344594458ee60151065111664655d9"
        }
    ],
    "package_integrity": [
        {
            "filename": "tn-advertisement-5.0.0.tgz",
            "hashes": {
                "sha1": "21e264284d3e30211578e7ec22aa80f6e62dffce",
                "sha512_sri": "sha512-5Xffarh8WbVIQI4mC3BDHFE3WXxdqlI0HpSSQXJHtPFeUaHzmRkaEe4+ucql+jGyq5LdXjlsJBWc2dkrHfoi6Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tn-advertisement/MAL-2026-5838.json"