Skip to main content
Mallory
← Back to News
package-repository-poisoningremote-access-implantcommand-and-control-methodoffensive-tooling-release

Trojanized npm Packages Deploy RedC2 Linux Backdoor on Import

Supply Chain Risk · 6 sources · Updated 3mo ago · First seen Aug 21, 2026

Trojanized npm Packages Deploy RedC2 Linux Backdoor on Import

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.

Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Aug 2025 – Aug 21, 2026
  1. Reported Aug 21, 20263mo ago

    Researchers identify trojanized npm packages delivering RedShell

    Researchers discovered a cluster of npm packages masquerading as date, calendar, and streak utilities that secretly bundled and launched the RedShell Linux implant from RedC2 4.0. The packages remained functional while executing the payload when imported, including through transitive dependencies.

    14 Trojanized npm Packages Drop RedC2 4.0 Linux Backdoor With AI-Assisted C2
  2. Aug 21, 20263mo ago

    TrendAI publishes technical analysis of the npm supply-chain attack

    TrendAI Research published a report detailing how dist/index.mjs in the malicious packages launched the bundled ELF implant at module import time without npm lifecycle hooks. The analysis also documented RedShell's C2 behavior, persistence methods, and Red Agent AI-assisted post-exploitation capability.

    14 Trojanized npm Packages Drop RedC2 4.0 Linux Backdoor With AI-Assisted C2
  3. Jun 2026

    Threat actor advertises RedC2 4.0 on Hack Forums

    In early June 2026, a threat actor using the name MarlboroMan advertised RedC2 4.0 on Hack Forums as a command-and-control framework built for evasion.

    14 Trojanized npm Packages Drop RedC2 4.0 Linux Backdoor With AI-Assisted C2
  4. Jun 1, 20266mo ago

    RedC2 4.0 gains Linux support with RedShell

    TrendAI says RedC2 4.0 introduced native Linux support through the RedShell implant. This added a Linux beacon to the cross-platform command-and-control framework.

    Prompting the Payload: How an npm Supply Chain Attack Delivers the RedC2 AI-Powered Linux Implant | TrendAI (US)
  5. Jan 2026

    RedC2 3.0 offered for sale

    The report says RedC2 version 3.0 was sold in January 2026, showing continued development and commercialization of the framework.

    14 Trojanized npm Packages Drop RedC2 4.0 Linux Backdoor With AI-Assisted C2
  6. Aug 2025

    RedC2 2.0 released

    Trend Micro's report states that RedC2 version 2.0 was released in August 2025.

    14 Trojanized npm Packages Drop RedC2 4.0 Linux Backdoor With AI-Assisted C2
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

3 linked

Affected products

1 linked
Npm

Organizations

1 linked
npm, Inc.

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.