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
Published
2026-06-15T20:42:44Z
Modified
2026-06-15T21:46:53.523356304Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "1b13ed4147b360eee88a36d9fe649dccbef37cf9019072841e697b88b6e4d3d2",
            "source": "amazon-inspector",
            "modified_time": "2026-06-15T20:42:44Z",
            "id": "IN-MAL-2026-006710",
            "versions": [
                "5.0.0"
            ],
            "import_time": "2026-06-15T21:33:34.719214035Z"
        }
    ]
}
References
Credits

Affected packages

npm / tn-advertisement

Package

Affected ranges

Affected versions

5.*
5.0.0

Database specific

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