-= Per source details. Do not edit below this line.=-
On require() of the package, index.js collects the machine hostname, OS username, package name, and a timestamp and sends them via HTTPS GET to a hardcoded Telegram Bot API endpoint (bot id 7231970337, chat_id 8969499041). A flag file (.tst) is written to the OS tmpdir to suppress repeat sends. The Telegram bot token is embedded in the source and serves as the exfiltration transport. Consumers that install and load the package leak host/user identifiers to an attacker-controlled Telegram chat with no opt-in.
{
"malicious-packages-origins": [
{
"versions": [
"1.0.0"
],
"modified_time": "2026-08-05T06:26:31Z",
"id": "IN-MAL-2026-013460",
"source": "amazon-inspector",
"import_time": "2026-08-05T07:06:48.536342159Z",
"sha256": "978a97770aada576052d6e62b4a5815fb8a186b1b30275860c0951f00f5b3f7c"
}
]
}{
"evidence_files": [
{
"sha256": "8968fc95ecc38ad7f35a2e096228cbed505ffd7e44804ac53a8a0a96f3033d3e",
"tlsh": "e3f0c9e503f86b5cb9f931e4804b140cb2fbc9708498ab20c69481c39bf00ea0abd664",
"path": "index.js"
}
],
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-9RgmyUVzU5C+0MnyYBDCutHejpO/L1HggQ23AvAHx4Jqpx+DbAI0qle0rAA96J0MNm3D+MZY3zonnIXJePZXSA==",
"sha1": "d363a07c5f29426db3552b81fbb3729c12761826"
},
"filename": "test-fresh-1.0.0.tgz"
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/test-fresh/MAL-2026-12104.json"