Sunday, May 25, 2025
Homecyber securityMalicious npm Packages Target Linux Developers with SSH Backdoor Attacks

Malicious npm Packages Target Linux Developers with SSH Backdoor Attacks

Published on

SIEM as a Service

Follow Us on Google News

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.

- Advertisement - Google News

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.

 Linux Developers
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 NewsLinkedIn, & X to Get Instant Updates!

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

Latest articles

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...

Hackers Target macOS Users with Fake Ledger Apps to Deploy Malware

Hackers are increasingly targeting macOS users with malicious clones of Ledger Live, the popular...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...