MAL-2026-5838Malicious code in tn-advertisement (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
5.0.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | tn-advertisement | * |
| npm | tn-advertisement | 5.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-5838","published":"2026-06-15T20:42:44Z","modified":"2026-08-20T04:28:03.943337245Z","aliases":["GHSA-j2c8-6hx3-7994"],"summary":"Malicious code in tn-advertisement (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1b13ed4147b360eee88a36d9fe649dccbef37cf9019072841e697b88b6e4d3d2)\nOn 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.\n\n## Source: ghsa-malware (0b5812adc77d724fd7babfbae1e42385ef73825791393023c3e0ea2d9e4645a2)\nAny 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.\n","affected":[{"package":{"name":"tn-advertisement","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["5.0.0"],"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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tn-advertisement/v/5.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j2c8-6hx3-7994"}],"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"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0