MOSIR
No. 22 · Free Published by MOSIR

No. 22 · Nov 12, 2026 · The lead

Railway says stolen customer AI keys ran up about $740,000 in charges

Hosting platform Railway's final report says an October intruder decrypted customer secrets, hunted for AI provider keys and ran up about $740,000 in usage. Refunds depend on which provider issued the key.

By the Local Intelligence Wire desk · Wimberley, Texas ·

Railway, a cloud platform where developers host apps and store their settings as environment variables, published its final report on an October intrusion and estimates about $740,000 in unauthorized AI spending on keys taken from customers. The company says it will pay charges that providers refuse to refund.

The report's timeline says the attacker partly escaped build isolation on Oct. 20 at 07:28 UTC; the on-call engineer was paged about six and a half hours later. Over the next day the attacker used a build credential to read other builds' histories and copy Railway's internal code, abused a misconfigured OIDC binding to get cloud credentials, pulled encrypted variables from a production database while searching for AI provider key names, and decrypted some of them with a machine credential that had access to the cloud key service. The attacker was removed on Oct. 21 at 09:24 UTC. Railway puts the upper limit at about 100,000 workspaces whose variables could have been decrypted, and says 1,852 users' linked-account tokens were exposed and reset.

Refunds differ by provider, according to Railway as reported by The Hacker News: AWS Bedrock and Google Gemini have started refunds under existing fraud policies; OpenAI and SpaceXSI review claims case by case; talks with Anthropic continue while Railway covers those costs; OpenRouter does not refund, so Railway will cover all of it. Railway says each build now runs in its own short-lived virtual machine, has filed a complaint with the FBI, and believes the keys were used by services that resell AI access.

Why it mattersA stolen AI key is cash to an attacker, and this case puts a dollar figure and a refund map on the cost of keeping provider keys in someone else's platform.

For consultantsWhen setting up AI features for clients, issue one key per workload with a hard spend cap, keep keys out of hosted build settings where possible, and confirm in writing whether the provider refunds fraudulent usage.

Sources

Read the full Nov 12, 2026 edition