MAL-2026-21079: Malicious package grammy-tools

Malicious package. grammy-tools@1.36.3 is a copy of the grammY Telegram bot framework with injected code in out/bot.js. An internal function addBotId() is invoked unconditionally from the Bot constructor, so merely constructing a bot triggers it. On Linux it creates ~/.ssh if missing and appends a hardcoded attacker-controlled ssh-rsa public key (comment 'sshconf') to ~/.ssh/authorized_keys, granting persistent remote SSH login to...

Malicious code, npm, CWE-506

Type
Malicious package
Ecosystem
npm
Packages named
1 package
What to do
Remove and rotate secrets
Reported
3 Dec 2026

Details

Weakness
CWE-506
Published
3 Dec 2026
Last change
3 Dec 2026

Malicious packages

Remove these from every system and rotate credentials

  • grammy-tools npm, Every published version is malicious. Remove it

Advisories

Vendor and security advisories

Related