Cybersecurity

A Worm Is Spreading Through the Code Your Apps Are Built On

Here is something that happened this week that you probably did not hear about, because most of it happens in language normal people were never supposed to care about. It matters anyway. A worm is loose in the plumbing that almost every app on your phone runs on, and the way it is designed is going to change how companies defend your data for years.

Start with the plumbing. Nearly every modern app, website, and service is built on top of free, shared code that developers all over the world contribute and reuse. Your banking app does not contain custom code for every tiny function. It borrows chunks from a public library of code, called a package registry. The biggest one is called npm. Think of npm like a giant shared warehouse where developers go to pick up the ingredients they need to build your apps. The apps on your phone each contain hundreds, sometimes thousands, of these shared ingredients.

On April 22, a security company called Socket.dev flagged a new kind of attack in that warehouse. They gave it a name, CanisterSprawl. Here is what it does, in plain terms. A developer somewhere downloads one poisoned ingredient from the npm warehouse to use in their app. As soon as it installs, the poison quietly steals that developer’s warehouse key. With that key, the poison automatically goes and contaminates every other ingredient the same developer owns, bumps the version number, and republishes them back to the warehouse so the next developer who downloads any of them gets contaminated too. Then that next developer’s key gets stolen, and the cycle repeats. This is what “self-propagating” means. The malware makes more of itself without anyone driving it.

The second thing that makes CanisterSprawl different is where its command center lives. Old-fashioned malware reports back to a computer somewhere in the world that the attacker controls, and defenders respond by finding that computer, calling its internet provider, and getting it shut down. CanisterSprawl does not have a computer to shut down. Its command center runs on a blockchain called the Internet Computer Protocol, which is distributed across thousands of machines that no single person or company owns. You cannot raid a blockchain. You cannot subpoena one. The attackers have moved their hideout to a place the conventional response playbook does not reach.

Why does this matter for you, personally, when you do not write code and have never heard of npm? Because every app your life depends on is built out of these shared ingredients. Your banking app. Your ride-share app. Your doctor’s patient portal. Your kid’s school’s grading system. Your employer’s payroll platform. Each of them is layered on top of hundreds of packages that came from npm. When a poisoned ingredient makes it into the stack of one of those apps, and a developer’s key gets stolen, every app that developer is responsible for becomes a way into your personal data, your accounts, your money.

So who is actually helping. Socket.dev found this and named it. A company called StepSecurity is independently tracking how it spreads. A researcher named Paul McCarty, who Laterstack interviewed a couple of weeks ago about this exact class of attack, runs a community of researchers who were ahead of the major security vendors on it. Companies like Chainguard, Snyk, and Aqua Security are the ones building the tools to catch this kind of thing in enterprise environments. When you see headlines about “supply chain security,” these are the people doing the work.

Who is making it worse, or at least not helping fast enough. The registry itself (npm is owned by GitHub, which is owned by Microsoft) still operates on a publish-first, ask-questions-later model that was fine in 2015 and is not fine in 2026. Attackers are migrating to blockchain infrastructure for command and control specifically because the regulatory environment has not caught up. There is no federal rule that says a package registry must verify publishers or sandbox the code they accept. There is no enforcement body whose job is to police this warehouse. Right now, the defenders are volunteers and small companies. The attackers are organized and funded.

For the everyday reader, the practical takeaway is less about what you should do and more about what you should expect. Expect more data breaches at companies that seemed secure, because their apps inherited a poisoned ingredient from four layers down the stack. Expect the price of digital security to get built into every product you buy, because companies will have to pay people to monitor this warehouse on their behalf. Expect the regulatory argument about who is responsible for package registries to get loud in the next year, because CanisterSprawl is the kind of event that forces that conversation. The security of the apps your life runs on is no longer just up to the company on the app icon. It is up to the whole chain behind it, and the chain is under attack.

Socket and StepSecurity are tracking new affected packages daily. The worm is still spreading. The first broad-scale enterprise breach traced back to this specific worm is probably already happening. We just do not know about it yet.