Malicious code in @wethenorth12/test-fresh (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12104
Published--- _-= 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.
- Source published
- 5 Aug 2026 06:26:31 UTC
- Source modified
- 5 Aug 2026 07:20:58 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.