← Technology, Science & Infrastructure ▣ Distilled locally

The Pulse: What can we learn from the Railway hack?

By Ivan Klaric
November 19, 2026  ·  The Pragmatic Engineer ↗

Hi, this is Gergely with a bonus, free issue of the Pragmatic Engineer Newsletter. In every issue, I cover Big Tech and startups through the lens of senior engineers and engineering leaders. Today, we cover one out of four topics from last week’s issue of The Pulse. Full subscribers received the article below 7 days ago. If you’ve been forwarded this email, you can subscribe here.

Over the past two weeks I’ve talked with several CTOs and founders at infra companies, and in those circles, it’s an open secret that companies are being targeted by what looks like Chinese attackers, using abliterated AI models (those with no safeguards). These attackers seem to only want AI model keys; most likely to sell at discounted rates. “Popping” an infra company and accessing thousands of AI keys can be profitable, so it’s economical to spend heavily on offensive abliterated models.

Cloud provider Railway was one of the several infra providers that was hacked two weeks ago, with customer secrets leaked. The company has released a very detailed postmortem, which is the most in-depth description of how such an attack happens and how fast attackers adapt.

At a high level, this is what happened:

Let’s visualize how the attack unfolded:

alt
Visualizing the attack on Railway

I talked with Railway founder and CEO Jake Cooper, who said the attack was especially frustrating because at one point, they were only minutes behind the attacker: it was down to 1-8 minutes that the attack could unfold in the way it did because Railway’s team was alerted to their build system’s credentials being probed on internal systems eight minutes after the attacker started in phase #2. Railway revoked credentials the attacker used to download the monorepo just one minute after the attacker used them:

alt
Frustrating: in phase #2, Railway’s team got close to stopping the attack

What makes attacks by abliterated AI models different

Railway’s summary is the first in-depth account of how an attack from an offensive AI model plays out, and there are several noteworthy details:

From the attacker’s side:

From the defender’s point of view:

During such an attack, the vendor often has to very quickly choose between “bad” and “worse” decisions. Railway faced a couple of these:

Lessons from this incident

I’m impressed by how much Railway has reflected on the structural problems that made it easier for the attacker to succeed, and how the company fixed them:

Seeking to gain from competitors’ problems: what goes around, comes around

There’s an unwritten rule among software vendors that you don’t turn competitors’ outages into a sales pitch to try and poach their customers for yourself.

But Northflank evidently didn’t get this memo. On the day of Railway’s outage, the market rival published a blog post titled “How to migrate off Railway.” The article started by linking to Railway’s security incident disclosure, and explained how to safely migrate to Northflank. In the article, Northflank also boasted about its security capabilities:

“Security controls also include BYOC, workload isolation, network security, and envelope encryption, helping teams manage infrastructure access and reduce exposure.”

The article reads like a naked attempt to grab customers from Northflank’s rival, stating: “Railway got hacked, come on over to Northflank, which is a platform that cares about security.”

Any engineering teams that decided to take the offer ended up getting hacked not once, but twice. Nine days after Railway’s hack, Northflank got hacked in a near-identical way. From Northflank’s incident summary:

“The first known decryption of [customer AI] secrets occurred between 02:39 UTC and 03:08 UTC on 30 October. Northflank received its first security platform alert at 11:43 UTC, and our engineers responded within minutes. The exploit was patched within 60 minutes of notification, and customers were notified within two hours.

Some customers have reported unauthorised use of AI secrets. Please rotate all secrets now, both integration secrets and project secrets, even if you haven’t seen suspicious activity. We recommend starting with AI provider keys, cloud provider credentials, payment provider keys, private keys, and database and other service credentials.

We also recommend reviewing your provider logs for unusual activity. If you have seen unexpected AI usage or spend, contact your AI providers directly, such as OpenAI and Anthropic.”

So, Northflank took nine hours to detect that customer secrets had been stolen, 11 hours to notify customers, and – unlike Railway – they did not proactively notify AI providers to revoke the keys. Objectively, this is a worse response than Railway’s, yet it was Northflank that tried to capitalize on the security outage.

In this particular context, companies would do better to help other players in the market, rather than dunk on their competitors, and indeed, Railway’s CEO texted Northflank to offer support and information about their attack. At first glance, this might appear a bit counter-intuitive to help rivals, but Jake Cooper realized what Northflank’s leadership seems to have missed: that it’s bad for all infra providers if many of them get hacked because customers will stop trusting all infra providers! It’s in the interest of providers to collaborate on this matter and harden their own security. Once they do so, then companies win the market based on features, pricing, and innovation.

Plus, it’s just a very short-sighted way of doing business to try to capitalize on novel security incidents, especially as Northflank seems to have been worse at dealing with the breach than the competitor they went after!

I have no affiliation with Railway or Northflank and struggle to see why Northflank did not remove the article about Railway’s security incident article. One guess would be that it’s a sign the business isn’t exactly thriving, and that they’re ready to try anything to keep things afloat.


Read the full issue of The Pulse this is from, or check out this week’s The Pulse. This week’s issue covers:

  1. Anthropic: the largest-ever IPO. The leading AI frontier lab raised $107B with its IPO, and around 600 early employees could see gains of $100M or more. It’s absolutely incredible for a startup that is only five-and-a-half years old.
  2. Is Amazon’s writing culture collapsing because of AI? A former Amazon software engineer sees signs that written artifacts – the ‘six-pager’ documents the company uses to promote good decision making – are increasingly AI-generated and AI-read, and warns it’s not a positive development.
  3. Meta struggles to understand devs & reverses Conductor shutdown. Meta shuttered the AI coding harness Conductor after acquiring it, but is now reversing its decision – possibly after learning that a rival harness, T3 Code, is getting four times the usage of the latest Gemini model. Oops!
  4. Is AI making us pay off decades of tech debt? The industry is currently on a speedrun of vulnerabilities being uncovered and patched or exploited. One way of looking at it could be that we’re on a speedrun to pay off decades of tech debt.
Originally published by The Pragmatic Engineer ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.