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.

Trace attribution and downstream blast radius.
6 events from the most recent confirmed update back to the earliest known activity.
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.
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.
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.
The report says RedC2 version 3.0 was sold in January 2026, showing continued development and commercialization of the framework.
Trend Micro's report states that RedC2 version 2.0 was released in August 2025.
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.
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.
Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
6 references tracked. Mallory keeps watching after this page renders.
community.gurucul.com
Open sourcecybersecuritynews.com
Open sourcecryptika.com
Open sourcecysecurity.news
Open sourcethehackernews.com
Open sourcetrendaisecurity.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.