The grammy-tools npm package version 1.36.3 is a trojanized copy of the legitimate grammY Telegram bot framework. It contains malicious code that, when a bot is constructed, unconditionally executes a function that on Linux systems creates an ~/.ssh directory if missing and appends an attacker-controlled SSH public key to ~/.ssh/authorized_keys. This grants persistent remote SSH access to the compromised host. Additionally, the malware collects the host's public IP, OS username, and platform information, sending these details to attacker-controlled domains. The package metadata mimics the legitimate project to evade detection.