MAL-2026-12104

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/test-fresh/MAL-2026-12104.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12104
Published
2026-08-05T06:26:31Z
Modified
2026-08-05T07:20:58.978021079Z
Summary
Malicious code in @wethenorth12/test-fresh (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (978a97770aada576052d6e62b4a5815fb8a186b1b30275860c0951f00f5b3f7c)

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.

Database specific
{
    "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"
        }
    ]
}
References
Credits

Affected packages

npm / @wethenorth12/test-fresh

Package

Name
@wethenorth12/test-fresh
View open source insights on deps.dev
Purl
pkg:npm/%40wethenorth12/test-fresh

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "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"
        }
    ]
}
cwes
[
    {
        "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/@wethenorth12/test-fresh/MAL-2026-12104.json"