Railway confirmed attackers stole customer API keys and ran up $740,000 in unauthorized AI charges. The company absorbed losses that AI providers declined to refund. No sophisticated exploit was involved — credentials were simply exposed in a customer environment and scooped up.
This is worth sitting with: AI API keys are not ordinary credentials. A single token carries spending authority, compute capacity, and often data access simultaneously. The blast radius of one leaked key is orders of magnitude larger than a leaked database password, because the meter starts running the moment someone makes a valid API call — no additional authentication, no approval step, no ceiling.
The Railway incident is not an outlier. LLMjacking reports have been climbing steadily, and the pattern is consistent: stolen key, immediate high-volume usage, charges that accrue for hours or days before anyone notices, and a refund fight with the AI provider that the victim usually loses.
The credential exposure problem predates AI agents, but agents make it dramatically worse. An autonomous agent that holds a live, unscoped API key and operates across environments is a standing opportunity for exactly this kind of abuse. The key doesn't even need to leave your system — if something in the agent's execution environment can read it, so can an attacker who gets into that environment.
$740K is a number large enough to end a small company. It is also not close to the ceiling of what this attack class can produce.
For those running agents in production: how are you actually handling AI credential exposure? Curious what's working in practice — not the theoretical answer, but what you've actually shipped.