ConicPlex

Start Your Project

An open red cardboard box with faint smoke rising from it sits beside a laptop showing red terminal text, symbolizing a hidden malicious payload inside trojanized npm packages

On this Page

14 Trojanized npm Packages Are Smuggling an AI-Powered Linux Backdoor

Sajil Memon

August 23, 2026

Trend Micro’s TrendAI research team disclosed on August 20, 2026 that 14 npm packages published under names like streak-metrics-math and kit-map-vim were trojanized to drop a Linux backdoor called RedC2 4.0 the moment they’re imported, no install script or postinstall hook required. The packages posed as small date and streak-tracking utilities, worked exactly as advertised, and quietly launched a bundled binary in the background on any machine that pulled them in, even as a transitive dependency.

npm has since pulled all 14 packages. Checking the registry directly, each one now resolves to a single 0.0.1-security placeholder version, which is npm’s standard marker for a confirmed malicious takedown.

How the Backdoor Hid Inside a Math Library

According to TrendAI’s writeup, each package shipped legitimate date-math code sitting right next to a hidden Linux ELF binary with a name like math-core.bin or calc-mapping.bin, framed as a native performance accelerator. On import, the loader checks the filesystem for the binary, marks it executable with fs.chmodSync, verifies its integrity against a SHA-256 hash, and spawns it as a detached background process. No preinstall or postinstall entry appears in package.json, which is exactly what most dependency-scanning tools flag first, so this attack skipped the trip wire entirely.

What RedC2 4.0 Actually Does

RedC2 is a commercial command-and-control framework that’s been sold on hacking forums since June 2026, built for Windows, macOS, and Linux. TrendAI’s report describes version 4.0’s Linux implant as giving an operator interactive shell access, file operations, credential harvesting, persistence, and network pivoting, plus an AI component called Red Agent that turns plain-language instructions into beacon command sequences. TrendAI published two indicators worth checking against your own logs: a command-and-control IP at 217.60.77.63, and a SHA-256 hash of 4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466.

What Node.js Teams Should Do This Week

  • Grep package-lock.json or yarn.lock across every repo for the 14 package names TrendAI listed, including as transitive dependencies, not just direct ones.
  • Search build and production servers for the binary filenames TrendAI documented (variants of math-core.bin, calc-cache.bin, calc-mapping.bin) and for outbound connections to 217.60.77.63.
  • If a match turns up anywhere, treat that machine’s credentials, API keys, and SSH access as compromised and rotate them, not just remove the package.
  • Pin dependency versions and review anything pulled in as a low-download, single-maintainer utility package before it lands in a lockfile.

This is the kind of exposure that’s easy to miss on a site that was built once and hasn’t had its dependency tree looked at since. If you inherited a Node.js backend from a previous developer or agency, it’s worth having someone audit the full dependency graph as part of any web application development work, not just the code you wrote yourselves. It’s a similar lesson to what we covered when a WordPress plugin vendor’s supply chain got compromised back in mid-August: the risk isn’t always in your own code, it’s in what your code pulls in.

Sources

Sajil Memon is a co-founder of ConicPlex and a Senior Full Stack Developer focused on backend work: Node.js, PHP, APIs, and the infrastructure decisions that determine whether a system holds up under real traffic. He’s spent years on the side of a project that doesn’t get demoed, the part that has to keep working after launch. He writes here about the technical tradeoffs in backend architecture, deployment, and data handling that only become obvious once something breaks in production.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

Platforms

Two smartphones on a desk, one showing a native app home screen and the other tapping a payment reader, with a laptop code editor blurred in the background

Native App vs. Progressive Web App: Which One Actually Fits Your Business in 2026?

A practical framework for deciding between a native app and a progressive web app in 2026, with real costs, hardware…

Husen Memon

September 21, 2026

News & Updates

A laptop on a desk at night with abstract light streams rising from the screen and an open padlock beside it, symbolizing a security flaw in AI coding agents

Plugin4Shell Bug Exposes Claude Code, Codex, Copilot, and Gemini CLI to Silent Takeover

A zero-click flaw called Plugin4Shell let attackers swap trusted plugin code in four major AI coding agents. Here is what…

Sameer Malek

September 21, 2026

Software

A tablet showing a blurred website layout sits on a tool cart in an auto repair shop service bay, with a car on a lift in the background

How Many Service Pages Does a Local Business Website Actually Need?

Most local service businesses need 4 to 10 real service pages, not one for every city or neighborhood. Here’s how…

Aftab Memon

September 21, 2026

WhatsApp
Husen Memon
Husen Memon
Typically replies instant