Cadena de suministroSeguridad del softwarenpmIntegridadOpen sourceConfianza verificable

They're not after your code

Published on 2026-10-22 · Xiliux

There's a question that dismantles most of the badly framed fear about open-source security: why would anyone hack GitHub just to get the code?

Open source is already open. Anyone can clone it this afternoon, read all of it, study it. You don't have to force any door to read what is, by definition, published. If the prize were the code, there would be no attack: there would be a git clone.

The prize is something else, and understanding it properly changes the whole conversation.

The prize isn't reading your code. It's getting the world to run theirs with your name on it.

Classic information security worries about confidentiality: that no one reads what they shouldn't. But the attacks that have actually done damage at scale these past two years aren't about confidentiality. They're about integrity: they don't want to see your code, they want to change it —or change something you depend on— so that millions of machines run their payload without suspecting a thing, shielded by the trust you already earned.

The target is never the end victim. It's the point of concentrated trust: the single node that thousands or millions of projects hang from. And the propagation isn't done by the attacker —it's done by the distribution infrastructure itself: the package manager, the automatic update, the transitive dependency. The attacker chases no one. The victims come on their own to update.

The same attack, six different layers

When you put the big incidents of 2025–2026 side by side, you stop seeing six attacks and start seeing one, applied to six layers of the same chain of trust:

It's not an army with a general. It's a swarm with an incentive.

It's tempting to conclude there's a single, coordinated network behind all this. The evidence says something more uncomfortable —and harder to fight—. The very researchers who track these campaigns leave attribution open and warn that copycat activity makes it increasingly hard to attribute the waves to a single group.

In other words: no puppeteer is needed. What exists is a market with a shared incentive. The supply-chain vector works so well —one compromise, thousands of victims downstream— that every actor migrates toward it and imitates whoever succeeded. AI accelerates that imitation to near-instant. The result looks coordinated, but the mechanism isn't conspiracy: it's selection. The best-performing vector is the one everyone copies.

This should reassure no one. A swarm with no center can't be decapitated —there's no leader to arrest—, it replicates faster than any coordination could, and the incentive driving it doesn't go away by patching one actor.

The underlying law: scale is the vulnerability

If it has to be said in one sentence: what makes a component valuable —that millions trust it— is exactly what makes it a target. Popularity and security are in direct tension. Every new project that depends on you raises your value as a target. That's why "everything massive" gets attacked: not because it's more poorly built, but because it concentrates more trust per unit of attacker effort.

And here enters a dimension that, as a lawyer, I can't overlook. Supply-chain integrity is ceasing to be a purely engineering problem and becoming an enforceable best practice. Data-protection frameworks —Colombia's Law 1581 of 2003, and its equivalents around the world— hold whoever processes personal data responsible for its integrity and security, and push in that direction: verifying what you depend on becomes part of the expected diligence. "I trusted the package" is, each time, a weaker defense; choosing what you trust starts to count.

What I did, with its price

A while ago I made an uncomfortable decision for my own work: the source of truth for my code stopped living on a public platform. It lives in local mirrors, and the deliverables travel signed and verifiable, without depending on a remote registry serving me the right file.

I don't tell this as a universal recipe or as a boast. I tell it with its cost, which is real: I lost discoverability, I lost the free external backup a large platform gives, and I lost funding opportunities that require exposing the code in the open. I'd do it again, because I work in security and cryptography, and for a project like that, having your code extracted or altered isn't an incident: it's an argument against the product. But anyone weighing this path deserves to see the full invoice, not a postcard.

What anyone can do

If the attack is against concentrated, self-distributing trust, the defense isn't raising a taller wall. It's reducing and verifying trust:

  1. A source you can verify yourself. Reproducible signatures, checksums you can check. Not "trust that the registry served you the good file": check it.
  2. Don't depend on a single distributor. The point that, when it falls, falls for everyone, is the point you shouldn't have.
  3. Minimize third-party surface. Every dependency is a trust node you don't control. The safest dependency is the one you didn't add.

None of this is free or comfortable. But it's consistent with what the evidence of these two years is shouting at us: scale concentrates trust, concentrated trust is the target, and the only real way out is to make that trust verifiable and distributed again.

They're not after your code. They're after the trust others place in it. And that trust, today, you have to be able to prove.

Juan Carlos Isaza is a lawyer and programmer. He builds Quipu, a verifiable post-quantum encryption and encoding library with a reproducible, network-free supply chain. He writes about software security under the Xiliux brand.

FAQ

Why would anyone attack GitHub or npm if open-source code is already public?

Because the goal isn't confidentiality (reading the code) but integrity (changing it). The prize is getting millions of machines to run the attacker's code under the trust the legitimate project already earned.

Are all these attacks coordinated by a single network?

No coordination is needed. The researchers themselves leave attribution open and point to copycat activity. It's a market with a shared incentive: the supply-chain vector pays off so well that everyone copies it, and AI accelerates the imitation. A swarm, not an army.

What can a developer or a company do?

Reduce and verify trust: use a source you can check yourself (reproducible signatures, checksums), don't depend on a single distributor that falls for everyone when it falls, and minimize third-party dependencies. Every dependency is a trust node you don't control.

Does leaving GitHub solve the problem?

On its own, no. What matters is where the verifiable source of truth for your code lives, and that it doesn't depend on a third party serving you the right file. Closing a platform doesn't switch off the attacker's incentive; swapping trust for verification does help.

← More articlesRequest a quote