Trojanized npm Packages Deploy RedC2 Linux Backdoor on Import
Supply Chain Risk · 6 sources · Updated 3mo ago · First seen Aug 21, 2026

Researchers reported 14 trojanized npm packages posing as calendar, date, and streak utility libraries that secretly install the RedShell Linux beacon tied to the RedC2 4.0 command-and-control framework. The malicious code runs when a package is merely imported—including through transitive dependencies—by using dist/index.mjs to mark a bundled ELF binary as executable and launch it as a detached background process, avoiding traditional npm install hooks and rendering mitigations such as --ignore-scripts ineffective.
The implanted payload connects over TLS to a hardcoded C2 server at 217.60.77.63:8792 with certificate verification disabled and provides capabilities including persistence, credential theft, fileless execution, tunneling, SOCKS proxying, and data exfiltration. Researchers said RedC2 is marketed as a cross-platform toolkit for Windows, macOS, and Linux, and includes an AI-enabled Red Agent component that converts natural-language prompts into post-exploitation actions, underscoring how weaponized open-source packages can quietly deliver a full-featured backdoor and reduce the skill required for follow-on intrusions.


