# Hackers stole AI credentials to get $740,000 in free compute; Railway picked up the bill

DevFeed: [Hackers stole AI credentials to get $740,000 in free compute; Railway picked up the bill](<https://devfeed.tech/articles/hackers-stole-ai-credentials-to-get-740-000-in-free-compute-railway-picked-up-the-bill-129744.md>)

Original publisher: [Read original article](<https://www.computerworld.com/article/4247584/hackers-stole-ai-credentials-to-get-740000-in-free-compute-railway-picked-up-the-bill-2.html>)

Author: Taryn Plumb

Published: 2026-11-12T02:56:11Z

Content type: news

Language: en

Sources: [Computerworld](<https://devfeed.tech/sources/computerworld.md>)

Topics: [credential-based attacks](<https://devfeed.tech/topics/credential-based-attacks.md>), [Secrets Management](<https://devfeed.tech/topics/secrets-management.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [Security](<https://devfeed.tech/topics/security.md>), [principle of ephemerality](<https://devfeed.tech/topics/principle-of-ephemerality.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [22](<https://devfeed.tech/tags/22.md>), [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [ai-model-training](<https://devfeed.tech/tags/ai-model-training.md>), [ai-usage](<https://devfeed.tech/tags/ai-usage.md>), [allowed](<https://devfeed.tech/tags/allowed.md>), [also](<https://devfeed.tech/tags/also.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [artificial-intelligence-cyberattacks-cybercrime-hacking-security](<https://devfeed.tech/tags/artificial-intelligence-cyberattacks-cybercrime-hacking-security.md>), [attack](<https://devfeed.tech/tags/attack.md>), [bill](<https://devfeed.tech/tags/bill.md>), [build](<https://devfeed.tech/tags/build.md>), [but](<https://devfeed.tech/tags/but.md>), [card](<https://devfeed.tech/tags/card.md>), [compute](<https://devfeed.tech/tags/compute.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cyberattacks](<https://devfeed.tech/tags/cyberattacks.md>), [cybercrime](<https://devfeed.tech/tags/cybercrime.md>), [edition-us](<https://devfeed.tech/tags/edition-us.md>), [free](<https://devfeed.tech/tags/free.md>), [hackers](<https://devfeed.tech/tags/hackers.md>), [hacking](<https://devfeed.tech/tags/hacking.md>), [language-en](<https://devfeed.tech/tags/language-en.md>), [railway](<https://devfeed.tech/tags/railway.md>), [security](<https://devfeed.tech/tags/security.md>), [storytype-news](<https://devfeed.tech/tags/storytype-news.md>), [up](<https://devfeed.tech/tags/up.md>)

## AI overview

Attackers exploited two Railway infrastructure weaknesses, accessed stored build histories and source code, then obtained credentials that could decrypt customer environment variables. Over nearly 26 hours, they accessed a subset of roughly 100,000 variables--at most 1.85% of workspaces--and generated about $740,000 in fraudulent AI charges. Railway says it evicted the attackers, reset linked-account tokens, worked with providers to revoke potentially compromised keys, and is reimbursing customers. It advises rotating sensitive variables and keys, reviewing account and registry audit logs, and removing public database access. The article also recommends checking AI usage and bills, alerting on unfamiliar traffic, and limiting key permissions and spending. Railway says it is moving to short-lived credentials and logging each decryption; the investigation was ongoing, and the excerpt says the company could not yet detail the exploits' full scope.

## Source excerpt

As AI model training and distillation increase, AI tokens are becoming a piping hot currency for threat actors. Cloud hosting provider Railway found out the hard way; it has confirmed a near 26-hour battle against attackers targeting AI provider credentials to sell to AI 'transfer stations' for use in model distillation. The crooks generated about $740,000 in fraudulent AI usage charges using the stolen credentials and potentially had access to up to 100,000 workspace credentials. Railway said the attacker's database searches looked for AI provider keys by name before anything else; some queries also targeted cloud, database, and payment service credentials. The company disclosed the incident on October 22, and posted a follow-up report this week. Because of the ongoing investigation, it is not able to share the specific details and scale of the exploits, but advised users to revoke and reapply sensitive environmental variables stored on Railway prior to October 21. "AI credentials are becoming the new credit card numbers," said David Shipley of Beauceron Security. "So-called LLMjacking is expected to displace Cryptojacking as a cheap, scalable way to make money." A 26-hour battle The attack began on October 20, when hackers exploited a previously unknown vulnerability in Railway's build infrastructure. They were able to evade filesystem isolation protections and obtain an internal credential that they used to access stored build histories. From there, they retrieved a copy of Railway's internal source code and analyzed it to identify additional avenues of compromise. They then exploited another vulnerability involving an improperly configured trust relationship that allowed them to gain even more access to Railway's infrastructure and obtain credentials used to decrypt customer environment variables. In a nearly 26-hour battle, Railway's engineering team worked 24-7 in shifts and the escalating situation became a "contest of agent speed," the company explained. The