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.

Keep reading

News & Updates

A blue-lit desk scene with a monitor and laptop showing an abstract grid of website page blocks, one glowing with a warm freshness signal, representing Webflow's new per-page sitemap timestamps

Webflow Adds Per-Page Lastmod Timestamps to Boost AI Search Visibility

Webflow sitemaps now include per-page lastmod timestamps so search engines and AI answer engines can find and cite freshly updated…

Moin Memon

August 23, 2026

News & Updates

A laptop and an antique analog monitoring gauge glowing blue on a dark desk at night, symbolizing a quietly exploited server monitoring vulnerability

Zimbra Collaboration Suite RCE Flaw Faces Active Exploitation (CVE-2026-73570)

CISA added Zimbra Collaboration Suite flaw CVE-2026-73570 to its Known Exploited Vulnerabilities catalog on August 21, 2026, confirming active attacks…

Sameer Malek

August 22, 2026

Design

A laptop displaying a dark navy financial dashboard with charts, next to a leather portfolio and fountain pen on an office desk

What Actually Makes a Finance Website Look Trustworthy

A finance website earns trust through specific, checkable signals: named credentials, transparent pricing or process language, fast load times, and…

Hasnain Memon

August 22, 2026