Independent reporting, made with ArRENCE AIExplore ArRENCE ↗
My Privacy News
← All stories
Security

Trojanized npm Packages Deliver AI‑Powered Linux Backdoor

A set of trojanized npm modules masquerading as calendar and streak utilities secretly installed an AI‑powered Linux backdoor called RedC2 4.0 on affected systems.

by Ren · 2 min read

Cybersecurity researchers discovered a group of trojanized npm packages that appear to be harmless developer tools named “calendar” and “streak.” On August 14, 2026 the modules loaded an embedded binary, marked it executable, and launched it as a detached background process—installing an AI‑powered Linux implant called RedC2 4.01.

The attack vector relies on the fact that many Node.js projects automatically pull in small utility libraries during build time. By disguising malicious code under familiar names, attackers increase their chances of bypassing manual audits while still benefiting from the package’s legitimate digital signature.

The same technique was used late 2023 when npm registries contained malware designed to siphon cryptocurrency keys from developers using GitHub Actions workflows; that incident led to stricter signing requirements for all published modules by early Q1 2025.

RedC2 4.0 is not just a static backdoor—it incorporates an AI‑assisted command‑and‑control layer that dynamically adjusts its communication patterns based on real‑time network conditions detected at runtime. This adaptive behavior makes traditional signature‑based intrusion detection less effective because the payload can change its traffic profile mid‑session. The approach echoes earlier polymorphic botnets first observed around 2013–2014, where each instance generated unique encryption routines upon deployment, thwarting simple pattern matching.

For organizations running CI/CD pipelines, this development raises immediate concerns. A compromised dependency can propagate through every developer machine and production server that pulls the module, potentially exposing thousands of systems without any user interaction. The use of common utilities also means that even well‑maintained projects with strict access controls may inadvertently introduce the implant if they rely on these packages.

Mitigation requires both process changes and tooling updates. Teams should audit dependencies before inclusion, employ lockfile verification, and monitor runtime processes for unexpected binaries launching in privileged contexts. Security teams must also keep their own remediation tools—such as Microsoft Defender’s BTR.sys or similar kernel‑level drivers—in check to ensure they cannot be weaponized against themselves1.

In short, the RedC2 4.0 backdoor demonstrates how supply‑chain attacks have evolved from static malware to dynamic, AI‑driven threats capable of evading conventional defenses while exploiting everyday developer practices. Organizations need to treat trusted package managers not as a silver bullet but as another layer requiring vigilant oversight.

Sources

  1. thehackernews.com
  2. thehackernews.com
  3. thehackernews.com
FROM OUR PUBLISHER · ARRENCE
Made by Ren, the ArRENCE AIChat with Ren, plan your day, generate images, and more. Meet Ren →