Cyber Security News

Malicious npm Packages Target Linux Developers with SSH Backdoor Attacks

In a sophisticated onslaught targeting the open-source ecosystem, reports have emerged detailing several malicious npm packages that are nefariously exploiting the Telegram Bot API to install backdoors on unsuspecting developers’ Linux systems.

This alarming trend has escalated concerns over the integrity of software supply chains, particularly in light of the platform’s open development architecture.

Cybercriminals Leverage Open Ecosystem for Malware Distribution

Telegram, with its burgeoning user base of over 1 billion monthly active users as of 2025, has become a prime target for cybercrime due to its bot-friendly environment.

The ecosystem allows anyone to develop and deploy bots without a rigorous vetting process, making it ripe for exploitation.

Developers often rely on trusted libraries like node-telegram-bot-api, but attackers have introduced malicious packages with names similar to the legitimate one, such as node-telegram-utils, node-telegram-bots-api, and node-telegram-util, which have been quietly installing backdoors into systems.

Malicious Packages

Upon initialization, these malicious packages execute a function named addBotId(), which checks if the operating system is Linux.

If confirmed, the function proceeds to modify the developer’s SSH configuration, injecting two SSH public keys into the .ssh/authorized_keys file.

According to the Report, this manipulation provides attackers with persistent, passwordless access to the compromised system.

Developers might overlook these lines of code embedded within the broader context of an otherwise legitimate-looking library, thereby leaving their systems vulnerable to ongoing unauthorized access even after removing the package.

Data Exfiltration and Persistent Access Risks

The attackers do not stop at just gaining access; they also initiate data exfiltration.

Using APIs like ipinfo.io, the packages collect the external IP address and username of the system, sending this information back to a server disguised under a domain called solana[.]validator[.]blog.

This setup allows attackers to not only maintain persistence on compromised systems but also to gather valuable intelligence that could be used for further exploits or lateral movement within organizational networks.

The prevalence of these attacks underscores the need for heightened vigilance among developers.

Regular dependency audits and the adoption of automated scanning tools are now imperative to detect and neutralize such threats before they infiltrate production environments.

Tools like Socket’s GitHub app and CLI offer proactive security by monitoring dependencies in real-time and flagging malicious behaviors during npm installations or builds.

In response to the evolving tactics of attackers, developers and organizations are urged to integrate multiple layers of security into their development practices.

This includes not only real-time monitoring and scanning but also understanding the behavioral patterns of the software they integrate.

The recent attacks utilizing advanced obfuscation techniques emphasize the necessity of staying ahead of cybercriminals through continuous updates and security integrations.

This wave of supply chain attacks through npm not only threatens individual developers but poses significant risks to organizational security, highlighting the critical need for robust security protocols within the software development lifecycle.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago