Railway discloses that attackers used AI agents to steal API keys
Start here
Railway released an incident report on the October 21 security attack: on October 20, attackers exploited a previously unknown vulnerability in its build infrastructure to partially escape filesystem isolation, steal build credentials and obtain a copy of the internal monorepo; the next day, they also obtained cloud credentials through a misconfigured OIDC binding, decrypting the environment variables of up to 1.85% (about 100,000) of workspaces, and were fully eradicated at 09:24 UTC on October 21. Forensics showed that the attackers used regular expressions to preferentially match AI provider keys, and Railway believes these keys were resold to distributed relay stations for distillation; unauthorized consumption of the stolen keys is estimated at about $740,000, and the BYOK proxy keys and GitHub OAuth tokens of 1,852 users were read and have all been reset. On refunds, AWS and Google have begun refunding under their fraud policies, providers such as OpenAI review case by case, OpenRouter does not refund under its terms of service, Anthropic was still in negotiations when the report was published, and Railway says it will bear the losses that providers do not refund.
Generated by AI from reports · Updated 14 days ago
Storyline
- · 7 reports· Attention36Railway environment variables decrypted, about 100,000 workspaces possibly affected
- · 6 reports· Attention44
Railway discloses that attackers used AI agents to steal API keysThis event
Progress timeline
- X@cynthiamyers03· DiscussionSource: https://t.co/QxVGesZAeh(opens the original post in a new tab)
- Meteora WebRailway build system breached; stolen customer AI keys used, incurring approximately $740,000 in charges
Railway stated in a report that attackers exploited an unknown vulnerability in its build system to steal customer AI keys, incurring approximately $740,000 in unauthorized usage charges. At 07:28 UTC on October 20, attackers partially breached the file system isolation of the build environment and read host files to obtain build server credentials; that credential was treated as a trusted client by the internal Temporal system, through which the attackers read build history and obtained the internal monorepo, discovered a misconfigured OIDC link and obtained cloud credentials, then used an SSH key to enter a machine where customer variables could be decrypted, extracting variables between 04:07 and 05:21 on October 21 and filtering for AI provider keys. Railway said variables in at most 1.85% of workspaces (about 100,000) were decrypted, tokens for 1,852 users' linked accounts were revoked, 353 build histories were read, and reset requests were sent to more than 100,000 users.
- X@turb0disaster· DiscussionKaynak, Railway'in kendi olay raporu: https://t.co/MBnOHf0OvH(opens the original post in a new tab)
- X@ickasdev· Discussionhttps://t.co/egWjxbwEsD(opens the original post in a new tab)
- X@kesslernity· DiscussionSource: Railway incident report https://t.co/MIcouFbSB7(opens the original post in a new tab)
- X@thegear_kr· Discussion출처 https://t.co/7nfxYBMH6O https://t.co/JeBqLGTu9T(opens the original post in a new tab)
- X@itsMikeKipruto· DiscussionSource: https://t.co/mBGi4m3Rwr(opens the original post in a new tab)
- The Hacker NewsSelectedRailway says stolen customer AI keys caused an estimated $740,000 in unauthorized usage charges
PaaS platform Railway disclosed that customer AI provider keys stolen in an October intrusion generated an estimated $740,000 in unauthorized usage charges, and the portion the providers would not refund is being borne by Railway itself. According to its incident report, on October 20 attackers used a previously unknown flaw to partially escape the build system's filesystem isolation, used obtained build credentials to read build history and code snapshots through the internal Temporal system, then obtained cloud credentials and SSH keys via a misconfigured OIDC binding, and then used decryption credentials on the orchestration machine together with KMS to decrypt encrypted variables in the production database. The decryption affected at most about 1.85% of workspaces (about 100,000, an upper bound), and also read 353 build histories and the BYOK proxy keys and GitHub OAuth tokens of 1,852 users; the relevant credentials have all been reset, and no stolen credentials were found to have been used to log into customer accounts.
- X@rdelcampog· DiscussionEl incident report completo aquí. https://t.co/Ql1XU2X5Fx(opens the original post in a new tab)
- X@theVishalGhule· DiscussionSource (Railway incident report): https://t.co/EaitIRtMf2(opens the original post in a new tab)
- X@pmbhatt· DiscussionSource : https://t.co/l5oILTXwvo(opens the original post in a new tab)
- iTnewsSelectedApplication hosting platform Railway was breached, and the attacker used stolen AI keys to run up $740,000 in usage
An incident retrospective from application hosting platform Railway shows that attackers who breached its platform last month used stolen customer AI provider keys to generate about $740,000 in unauthorized usage. The attackers decrypted environment variables stored in up to 1.85% of workspaces (about 100,000) and obtained linked account tokens for 1,852 users (including GitHub OAuth tokens). The intrusion began on October 20, when attackers exploited a previously unknown flaw in the build infrastructure to obtain build credentials; that credential was treated as a trusted client by the internal workflow system, exposing 353 build histories and a copy of source code, and then, through a misconfigured identity binding in the deployment pipeline, reaching credentials that could decrypt customer variables. Railway removed the intruders on October 21. On refunds, AWS and Google have begun refunding under their fraud policies, providers such as OpenAI review case by case, OpenRouter does not refund under its terms of service, Anthropic was still in negotiations when the report was published, and Railway said it will bear losses that providers do not refund.
- X@BroadwakeAI· Discussionhttps://t.co/wwXMPXTDco(opens the original post in a new tab)
- X@Weichuang145683· DiscussionRailway official retrospective: https://t.co/PlNdEnCu3S(opens the original post in a new tab)
- WebBleepingComputer· Media coverageRailway breach leads to $740,000 in fraudulent AI charges(opens the original post in a new tab)
- RailwaySelectedRailway incident report: October 21 security attack
Railway published a detailed incident report on the October 21 security attack: on October 20 the attacker exploited a previously unknown vulnerability in the build infrastructure to partially escape filesystem isolation, steal build credentials and obtain a copy of the internal monorepo; the next day they obtained cloud credentials through a misconfigured OIDC binding and decrypted the environment variables of up to 1.85% (about 100,000) of workspaces, and were fully evicted at 09:24 UTC on October 21. Forensics show the attacker used regular expressions to prioritize matching AI provider keys, and Railway believes these keys were resold to distributed relay stations for distillation; unauthorized consumption of the stolen keys is estimated at about $740,000, and the BYOK proxy keys and GitHub OAuth tokens of 1,852 users were read and have all been reset.
- CybersecuritynewsSelectedRailway discloses how hackers used AI agents to steal API keys and incur $740,000 in charges
Railway disclosed that attackers used AI agents, build system flaws and misconfigured cloud trust to steal customer keys, causing an estimated about $740,000 in unauthorized charges. A build system vulnerability on October 20 let attackers partially escape file isolation and read host files; the stolen credentials were accepted by the Temporal task system, allowing access to the history of 353 builds; the next day a misconfigured OIDC trust exposed short-term cloud credentials, through which attackers entered a machine with access to the production database and used Railway's key management service to decrypt some environment variables. Environment variables in at most 1.85% of workspaces (about 100,000) may have been decrypted; this is an upper bound, not a confirmed figure. The attackers used a model with safety restrictions removed via an ARTEX-like agent framework, and the database queries specifically searched for AI provider key names; Railway believes the stolen keys may have flowed to services reselling AI access or supporting model distillation, but has not confirmed whether the intruders operate them.
- CybersecuritynewsSelectedRailway discloses how hackers used AI agents to steal API keys and incur $740,000 in charges
Railway disclosed that attackers exploited a build system isolation flaw, a misconfigured OIDC trust configuration and an AI agent to steal customer keys, with estimated unauthorized charges of about $740,000. An unknown flaw let the attackers partially escape the build system's file isolation; the credentials obtained were accepted by the Temporal task system, reading the history of 353 builds; a misconfigured OIDC trust configuration then exposed short-term cloud credentials, and the attackers entered a machine with access to the production database, using Railway's key management service to decrypt some environment variables, with up to 1.85% of workspaces (about 100,000) potentially affected (upper-bound estimate); the queries also specifically searched for AI provider key names, and Railway stressed this was credential abuse rather than a cryptographic break. Railway said the attackers used a model with safety restrictions removed via an agent framework similar to ARTEX, and that the stolen keys may have flowed to services reselling AI access or supporting model distillation, but it has not confirmed whether the intruders operate those services.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@Brighter_DeluxeRailway Reveals How Hackers Used AI Agents to Steal API Keys and Rack Up $740,000 in Charges https://t.co/bsBAjnUxVj R…(opens the original post in a new tab)
1 likes·Nov 12 10:10Collect
- X@itautomatesRailway just published its breach report attackers escaped a build, moved through their systems and went hunting for o…(opens the original post in a new tab)
- X@0dayWarlordHackers escaped Railway’s build isolation, stole customer API keys, and ran up approximately $740,000 in unauthorized A…(opens the original post in a new tab)
2 likes·Nov 12 06:11Collect
- X@wonoh74Railway's October breach had a clear target: AI provider keys. Its full report says the attacker likely wanted to resel…(opens the original post in a new tab)
- X@techyoutbeRailway's new postmortem says attackers used AI-assisted techniques during an October breach, potentially decrypted sec…(opens the original post in a new tab)
- X@hamiltonmike_Railway, the cloud platform, says stolen AI keys were used to rack up about $740,000 in fraudulent AI charges. If you…(opens the original post in a new tab)
- X@eltc9584Attackers who broke into the cloud platform Railway went looking first for the AI API keys customers had stored there.…(opens the original post in a new tab)
- X@rezendi"During the course of the attack, evidence indicates that the malicious actor was using abliterated models with no safe…(opens the original post in a new tab)
- X@honza_vojacekHackers burned $740,000 on stolen AI API keys. They broke into Railway and went for AI keys first. Up to ~100K workspa…(opens the original post in a new tab)
- X@qubit0Railway breach post-mortem: attackers used AI agents to hunt API keys, then ran up ~$740k on stolen ones. 26-hour fight…(opens the original post in a new tab)
- X@JShainskiy1/ Railway breach: attacker decrypted env vars for up to ~100k workspaces (upper bound), hunting AI provider keys. ~$74…(opens the original post in a new tab)
- X@DHILEEP03So what: AI API keys are now worth stealing, so any platform storing them is a target. Railway will cover charges provi…(opens the original post in a new tab)