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.
Why it matters
Impact assessment
This is a high-risk software supply chain compromise affecting JavaScript/Node.js development environments, CI/CD runners, Linux build hosts, and any production workloads that import the listed npm packages directly or transitively. Impact can extend beyond a single developer endpoint to source code theft, credential compromise, internal network pivoting, and exposure of cloud and deployment secrets.
The scope is potentially broad because execution occurs at module import time rather than during npm install, so common mitigations such as --ignore-scripts do not stop the payload. The story describes active malicious packages and published infrastructure/artefacts, which indicates real-world malicious use rather than a theoretical weakness.
Affected populations
- Organizations using Node.js/npm packages in developer workstations, build systems, CI/CD pipelines, or Linux application hosts
- Software vendors, SaaS providers, cloud-native teams, and enterprises with internal package consumption
- Environments where transitive dependencies are not tightly controlled
- Linux systems specifically, because the delivered implant is a native Linux ELF backdoor
Severity and business impact
- Credential theft risk: SSH keys, browser-stored credentials, and database-related files
- Intellectual property risk: source code and build artifacts may be exposed
- Infrastructure risk: attackers can use SOCKS5 proxying, tunneling, and port forwarding to pivot into internal services
- Operational risk: compromised build or deployment infrastructure can enable downstream compromise of applications and environments
- Reputational and financial risk: supply-chain compromise can affect customers, release integrity, and incident response costs
Scope and exploitation status
- Exposure is broader than a targeted single-host event because any direct or transitive import can trigger execution
- The malicious packages preserved legitimate functionality, increasing dwell time and reducing suspicion
- The reporting identifies deployed malicious packages, payload hashes, file artefacts, and live C2/exfiltration infrastructure, supporting assessment of in-the-wild malicious activity


