MAL-2026-12104
Dashboard / Malicious Package / MAL-2026-12104
MAL-2026-12104
Summary: Malicious code in @wethenorth12/test-fresh (npm)
Details: 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.
Affected packages
Package
Name: @wethenorth12/test-fresh
Purl: pkg:npm/%40wethenorth12/test-fresh
Affected ranges
Type: N/A
Events:
