[Prompt]
custom: I just had my first brush with something called LLMjacking. One of my OpenAI API keys leaked, almost | Hosts: corn, herman

[Response]
Corn: Eighty-five dollars. That's the invoice for thirteen thousand requests and three hundred and forty million tokens — and honestly, the scariest part of Daniel's whole story is how cheap that sounds.

Herman: It's cheap because whoever was burning his key was running a small operation. The same pattern, run by the outfits we're going to get into, runs to a hundred thousand dollars a day.

Corn: Daniel wrote in about his first brush with what he calls LLMjacking. One of his OpenAI keys leaked — almost certainly through a breach at a third-party low-code tool he'd already stopped using — and over one Saturday evening someone pushed about thirteen thousand requests through it. He found out from a stream of little auto-recharge emails. Fifteen five-dollar top-ups in four hours.

Herman: Fifteen in four hours.

Corn: Fifteen. And what gets me is the tempo of it — that's a top-up every sixteen minutes or so. Nobody works a Saturday evening like that unless the Saturday evening is being worked by a script.

Herman: And he wants to understand the whole phenomenon: what LLMjacking actually is, who's doing it, how stolen keys get found and exploited, what his own usage pattern — high prompt-cache hits, constant rate-limit errors — says about the attacker, what people like him should change, and what the providers are doing on their side. Eighty-five dollars for the lesson. Let's start with the name itself, because the name tells you a lot about the business model.

Herman: The name is doing something unusual. Sysdig coined it — May twenty twenty-four — and they were very deliberate about it. They modeled it on cryptojacking and proxyjacking, the resource-theft family, and they spelled it as one word on purpose so it would be uniquely searchable. You can't confuse it with "LLM attack" or "cloud jacking." That's a threat research team thinking about branding, which tells you they expected this to be around for a while.

Corn: Which, a year and a half on, has been borne out. But the name also tells you what the researchers thought the essence was — it's in the family with cryptojacking, where someone steals your GPU cycles to mine coins. Same crime, different meter.

Herman: Right — the meter is the target, not the data. And the original incident that earned the name? Sysdig caught attackers exfiltrating cloud credentials through a Laravel vulnerability — CVE twenty twenty-one three one two nine, a bug that was already three years old when they exploited it — and then pivoting into ten cloud-hosted LLM services. Anthropic's Claude, OpenAI, Bedrock, Azure, Mistral, ElevenLabs, the lot. The attackers ran a script that hunted for LLM credentials inside the victim's environment and then checked which services were actually enabled.

Corn: Three-year-old bug, ten services. Say more about that checking step — why check which services are enabled before you use the key?

Herman: Because a credential is only worth what it can reach. If the victim never turned on Bedrock, the Bedrock-shaped key is dead weight. The script was essentially doing what a legitimate customer's onboarding flow does — probing what the account can do — except the customer is a burglar.

Corn: So the definition. Before we get into the market — what exactly got jacked?

Herman: Compute. Inference. Someone else's paid, cloud-hosted model capacity. Sysdig's line is that LLMjackers don't just steal data — they steal compute cycles, inference costs, and access rights. Your data might be fine. Your bill is not.

Corn: That's the distinction from ordinary API abuse that most coverage blurs. The attacker isn't after your corpus or your customer records. They're after the meter. You pay per token, so every request they route through your key is money moving from your account to their product.

Herman: And Google's Threat Intelligence Group, publishing just this month, puts numbers on it — incidents with single-day fraudulent charges over a hundred thousand dollars, and cumulative charges reaching a million at some organisations. Financial services, retail, transport, across three continents. This is not a niche curiosity anymore.

Corn: Right — so who's doing it? Because I don't think it's one kind of person.

Herman: It's not, and this is the part I find fascinating. GTIG's central finding is what they call a division of labor between the actors who establish initial access — break into the environment, grab the credentials — and separate operators who manage the monetisation. They call those LLM Mixers. Illicit routing gateways that proxy, aggregate, and resell unauthorised LLM access to underground subscribers.

Corn: A wholesaler and a retailer.

Herman: Exactly that shape. The person burning Daniel's key almost certainly didn't steal it, and may have no idea whose it is. By the time the key reaches them, it's behind an adapter that looks like any other API endpoint.

Corn: So the person who broke into the low-code platform and the person who ran thirteen thousand requests through Daniel's key on a Saturday may never have exchanged a word.

Herman: May never have been in the same hemisphere. The credential is the only handshake.

Corn: And the retailer's shelf?

Herman: Sysdig documented this in their Operation Bizarre Bazaar research — resale through an underground marketplace called silver dot i-n-c, running on Telegram and Discord, taking PayPal and crypto. So you can buy jacked inference the way you'd buy a subscription. Sysdig's own summary is that AI infrastructure compromise no longer requires any technical skill, because now it can simply be bought.

Corn: Crime as a service, again, except the service is Claude.

Herman: Vercel's framing of the economics is the one that stuck with me. They call inference theft one of the highest-margin businesses an attacker can run, because reselling at even five to ten percent of list price — with zero marginal inference cost, since the victim pays for every token — is a generous-margin business.

Corn: Five percent of list price, infinite percent margin. My favourite kind of arbitrage.

Herman: It also answers the question of why a small personal account gets hit at all. You might think a hobbyist's five-dollar-balance key is too small to bother with. But the attacker's cost is zero, so any bill is profit. A hundred dollars off Daniel is a hundred dollars.

Corn: How do the keys actually get found? I assume nobody's brute-forcing these.

Herman: No brute force needed, mostly. GTIG's finding is that the dominant initial access vector has been exposed or stolen cloud identity tokens — IAM credentials, service account keys, GitHub personal access tokens, active session tokens. Not the LLM key itself, usually. Something one level up that gets them into an environment where keys live.

Corn: Give me a concrete one.

Herman: There's a cluster GTIG tracks called UNC sixty-nine ninety-three. Two things they did stand out. One, compromised a cloud instance through a misconfigured service account key and used it to grant the account access to an LLM API. Two — this one I find sneaky — they hosted a fake application portal, a session-hijacking page, that tricked users into pasting their raw session JSON, the token payload, straight into a text box. Paste your token, and you've bypassed both the password and the MFA. No phishing of credentials at all — the token is already the finished key to the front door.

Corn: The user does the last mile for them. Charming.

Herman: Other variants in the same report: one actor combined a stolen GitHub personal access token with a web app vulnerability. Another used cloud federation tokens to programmatically mint fresh access keys — which sidesteps MFA entirely, because the federation trust does the vouching. And then the opportunistic layer, which never stops: exposed corporate LLM keys scraped straight out of public GitHub repos.

Corn: Which is Daniel's vector, sort of — except his key never went to a public repo. It went to a third-party platform.

Herman: And that was the story of October. Wiz counted at least nine AI developer platforms that disclosed breaches that month — Lightning AI, Fireworks, Warp, Railway, Zeabur, OpenCode, CommandCode, Andromeda, and Northflank. Most traced to credential access, with the attackers going specifically after stored environment variables holding AI keys. Northflank's status page is the one worth quoting: at first they told customers to assume all environment variables have been decrypted, disable and rotate all keys — and by that evening, multiple users confirming their AI keys had already been used.

Corn: Nine platforms in one month.

Herman: Wiz's own line on it: any other month, and this would be the top security story.

Corn: And the mechanism — how does a key end up in nine places?

Herman: Bromure's write-up puts it in one sentence: every platform you paste an AI key into keeps a copy of it. And the typical path is so ordinary it hurts. One key pasted into a coding agent. Then the same key into a preview deployment. Then a CI job. Then a notebook service. Each paste takes thirty seconds and makes something work — and you never go back to any of them.

Corn: Daniel's key had, what — one pasting too many, into a tool he'd stopped using months before the breach. The key outlived the relationship.

Herman: The coding agents make it worse, actually. An agent reads the API key from your local environment and helpfully sets it as a service variable when it deploys something. No human typed it there. Your key propagates to platforms you have never visited, at the speed of a script.

Corn: Okay. So the key leaks. Walk me through the next thirty minutes, because I have a feeling the thirty minutes matter.

Herman: They absolutely matter. Wiz did a forensic reconstruction of two sets of stolen enterprise Bedrock credentials, and the timeline is the most vivid thing I've read on this. Within thirty minutes of the credential access, a single InvokeModel call comes in from a residential IP — one call, testing the keys. It asks for Claude Fable five point one. Fails. Falls back to Opus five point five. Works.

Corn: Thirty minutes from leak to test. That's not someone browsing a dump of credentials at their leisure — that's automation on the other end.

Herman: Fully automated. The credential probably went from breach to pipeline to test without a human looking at it.

Corn: And the fallback — trying the next model down when the first fails. That's a client that's been built to run against many different victim accounts, isn't it? You don't write fallback logic for one key.

Herman: You write it for a portfolio of keys, exactly. Then the maintenance layer: a small Go client re-checked the keys fourteen to a hundred and twenty times a day, just confirming they were still alive. And a boto3 script enumerated the Bedrock and EC2 quotas — checking how much headroom the account had. Here's the detail that made my ears go up: the same script, down to its version string, appeared in both cases. Same tooling, same operator.

Corn: Same burglar, two houses.

Herman: Then the bulk traffic. Case A ran about eight hundred thousand Bedrock calls in roughly thirty hours, ninety percent of them successful. Case B made about one point seven million calls in thirteen hours. Wiz estimates the two together ran up over a hundred thousand dollars at list price.

Corn: And who paid?

Herman: The account owners. Until they noticed and revoked. Which leads us to the detection detail I want you to sit on, because it changes how everyone should be watching. GTIG found attackers running automated credential validation sweeps using minimal single-token requests — max tokens set to one — deliberately, so the key checks stayed below the victim's EDR and SIEM volume-anomaly thresholds. They know what your monitoring is keyed on, and they tuned the probes to fit underneath it.

Corn: A burglar who rattles the doorknob once a day, quietly, because he's read your alarm manual.

Herman: Sysdig's version of the warning: if it's exposed to the internet, it will be scanned and tested, often within hours.

Corn: So — what did Daniel's own usage pattern actually say? That's the part I keep chewing on. He had a very high prompt-cache ratio and constant rate-limit errors.

Herman: The two signs point in slightly different directions, and together they're quite a clear picture. Start with the arithmetic. Thirteen thousand requests, three hundred and forty million tokens — that's roughly twenty-six thousand tokens per request.

Corn: Twenty-six thousand. Per request.

Herman: That is not a person chatting. That's long-context agentic coding turns. And Wiz's forensic read of the stolen Bedrock traffic — the closest published match to Daniel's pattern — said it plainly: the token patterns looked like resold coding-agent traffic. Prompt caching, and many end users behind one reseller.

Corn: Explain the cache part, because I think that's the fingerprint.

Herman: A coding agent sends a large, stable prefix on nearly every call — the system prompt, the tool definitions, maybe a chunk of the repo. Providers cache that prefix, so the repeated part gets read from cache at a fraction of the input price. When you see a very high cache-hit ratio across thousands of requests, you're looking at something replaying the same big prefix over and over: an automated agent loop, or a reseller with many downstream users all funnelled through one long common prefix behind an adapter. Either way, the attacker is paying cache-read rates on the bulk of it. Discount stolen inference. Even the theft is optimised.

Corn: They're running his weekend at wholesale rates. And the rate-limit errors?

Herman: The other direction. Constant rate-limit errors mean the client was pushing far more concurrency than a small personal account's tier allows. A high-volume, scripted client hammering an account sized for one human. Vercel describes that exact architecture from the defender's side: sophisticated attackers wrap your endpoint in an OpenAI- or Anthropic-compatible adapter and fan the calls out through residential proxies. And the adapter is the session boundary — the downstream users authenticate to the adapter, not to your endpoint. Your provider sees one key. The key sees a crowd.

Corn: Which also explains why the fifteen top-ups were five dollars each.

Herman: Yes — the billing-side tell. Small, repeated auto-recharges rather than one large charge is exactly what a per-request-billed account looks like when a scripted client drains the balance faster than any human could type. The provider isn't charging the attacker anything; it's quietly refilling the meter the attacker is drinking from.

Corn: Auto-recharge — a convenience feature that becomes the accelerant. The attack would have stopped itself at five dollars if the system weren't helpfully refilling the tank.

Herman: And here's the thread I'd pull on everything we've cited: in every single one of these cases, the abuse was caught by a spend or traffic anomaly. Wiz's eight hundred thousand call run. GTIG's million-dollar cumulative charges. Vercel's spike. Nobody's provider flagged the key. The victim's bill is the alarm. That's it. That's the entire detection story.

Corn: Which means, Herman, that the max-tokens-equal-one sweeps aren't a detail. They're the attackers telling us they've already read the alarm manual on this one too. Volume thresholds are a defeated control, openly defeated.

Hilbert: Medieval Pottage Facts. In medieval Nuremberg, sellers of adulterated saffron could be fined, imprisoned or executed under a code called the Safranschou. A sensible policy for a spice.

Corn: Execution for saffron. And we can't get anyone to flag a stolen key.

Herman: So — what should Daniel, and everyone like him, actually do differently? He listed the candidates himself: per-service scoped keys, spend caps, turning off auto-recharge, secret scanning in private repos.

Corn: He listed them and I suspect he already knows the answers, but the reasoning is worth doing out loud. Take the keys first.

Herman: One general key is the core mistake, and Bromure's framing of the fix is the best I've heard: mint the production service a key of its own, scoped to production, and leave the key your agent codes with on your Mac. Every key gets one home, one job, one blast radius. Then, if you want it mechanical, there are proxies that will block a credential from being sent to any host it wasn't minted for — refuse it outright. The key literally can't travel.

Corn: A key with a curfew. My kind of credential. And if Daniel had done only that, the leaked key would have been scoped to a dead low-code integration and worth almost nothing to whoever took it.

Herman: Auto-recharge off, hard spend cap on — those two together mean the worst case is the cap, full stop. Not the cap times fifteen refills. And then the one people argue about: secret scanning in private repos.

Corn: Argue about how? Private means private.

Herman: Private repos are where developers feel safest, and that's exactly where the October platforms were — stored environment variables, config stores, places nobody considered public. On the detection side, the research picture has moved: fine-tuned open models now detect secret breaches in source code at F1 point nine eight — functionally solved — while regex-only scanning produces enough false positives that teams switch it off. That's the trap. The noisy scanner gets disabled, and the quiet leak stays.

Corn: So the advice isn't "run a regex over your repo." It's "run the good scanner, and don't trust the private flag."

Herman: Vercel's architectural lesson is the bigger one, though, and it applies past personal accounts. Verification has to run on every AI request, not per session. Their line is that any check that runs per session amortizes the attacker's bypass cost across every subsequent inference call. Solve the CAPTCHA once, steal a thousand calls.

Corn: That's the economics flipped around. The attacker's most expensive resource is inference; the defender's cheapest tool is a per-request check.

Herman: And the attacker's side of that arms race is industrial: residential proxy IPs procured by the thousands, throwaway accounts at whatever scale it takes. Traditional CAPTCHAs no longer hold, for the beautifully circular reason that the same AI models that make inference worth stealing can solve them. Vercel's answer is an invisible check, client-side machine learning, running inside the route handler. In their April incident it blocked more than ten thousand bot requests in the first minutes of the spike, and within twenty-four hours the traffic was flat.

Corn: Ten minutes to flatten it. Compare that to the Wiz cases — thirteen to thirty hours of runaway calling before anyone pulled the key, and revocation came from the victim, not the platform.

Herman: Which takes us to Daniel's last question, and the honest answer is the uncomfortable one. The published record has almost nothing on the providers' own abuse teams — no detection rates, no time-to-revocation figures from OpenAI or Anthropic. What we have is victim-side forensics, and it all points the same way: a million dollars of cumulative charges before access was revoked, and revocation done by the person paying.

Corn: The provider's interest in catching this is real but partial. They'd rather have the traffic than the complaint.

Herman: I'd push back slightly — there's refund pressure, there's trust. But the economics do mean a provider's tolerance for weird traffic is higher than an owner's. If I were building their defence, per the detection guidance floating around: watch for max-tokens-equal-one probe traffic, watch for quota-enumeration calls, treat MCP servers and AI integrations as privileged middleware — Sysdig's warning there is that a compromised MCP server gives lateral movement into assets beyond LLMs.

Corn: The four recommendations, compressed: credentials are the new attacker currency; assume anything internet-facing gets scanned within hours; cost anomalies are a security problem, not just a finance problem; and your AI glue is privileged middleware.

Herman: That's the list, and the middle one is the cultural shift. Most organisations route the weird bill to finance, finance squints at it, files a query, and three weeks later someone thinks to tell security. GTIG's whole incident set was caught by someone squinting at a bill.

Corn: The fifteen five-dollar emails were Daniel's security operations centre. Unpaid, unglamorous, and it worked. Herman, you've been on the provider side of billing surprises for years as a customer — do you actually believe they'll get ahead of this, or is the victim's bill the alarm forever?

Herman: My bet is the economics decide it, and the economics point at per-request verification, not smarter anomaly thresholds. Anomaly detection is fighting an adversary who reads the thresholds. Per-request checks cost something on every call — but inference is the most expensive thing being stolen, so it's the one resource worth spending a check on. The moment that trade is priced honestly, the platforms do it. Vercel already showed it works.

Corn: So the answer to "what are providers doing" is, at platform level, quite a lot — and at model-provider level, we don't know, and the absence itself is the finding.

Herman: Fair. And there's one more fork worth naming, because two of the October platforms blamed something other than resale. OpenCode and CommandCode attributed their incidents to distillation — stolen frontier-model access used to train cheaper models.

Corn: That's a different attacker entirely. Not a crowd behind a reseller — one actor, running repetitive, low-diversity prompts, hoovering outputs.

Herman: Which means the traffic signature tells you which business robbed you. Many distinct users behind one adapter is a mixer. A monotonous river of near-identical long prompts is a distillation run. Daniel's cache-heavy, rate-limit-rattled pattern was the first kind — resale.

Corn: Traffic forensics as an invoice audit. Say the same thing happened to me — honestly, my first move would probably be to stare at the emails for an hour and then change one key.

Herman: One key! Corn. That's the October lesson backwards — the breach is never the one key, it's the fact that the key had nine homes. You'd rotate the password on the one lock the burglar already picked, and leave the copies.

Corn: Fine. Which keys would you rotate, doctor?

Herman: Every key with the same value, every place it lived — and then a scoped replacement per service, cap on, recharge off. Took me an afternoon last time I did an audit of my own setup, and I found two keys I'd forgotten on platforms I'd also forgotten.

Corn: Two forgotten keys. From the man who reads error logs for sport.

Herman: That's how it goes. Nobody keeps an inventory of their pastes. Each paste took thirty seconds and made something work.

Hilbert: The pastes are how it happened to me, in the old way. Same password on a filing system, a supplier portal, and a tool I used for one week in March. Nineteen ninety-eight, if you're wondering, but that's not the point. The point is I found it on a statement — four dollars ninety-seven, from a company I had never heard of. I assumed it was a subscription I'd forgotten about. It took me three weeks to open the next statement, and by then the fellow had been in for about two months. Corn is right that the bill is the alarm. What he hasn't said is that the alarm only works if somebody opens the envelope, and nobody opens envelopes anymore. Herman, you'd have caught it in a week. I caught it in about fifty days, and only because the charge repeated.

Herman: Fifty days. What did the statement show in total?

Hilbert: Nothing dramatic. Small charges, staggered. The boring kind of theft, which is the profitable kind. I printed the statement and kept it in the drawer at my mother's place, as a reminder. Still there. I go by every few months and check the drawer — not the statement, the habit of checking. The neighbour's cat has adopted the windowsill above it, so I have an arrangement with its owner that I can let myself into the hall when the cat is out. I spent one whole afternoon once reconstructing which service leaked the password, cross-referencing every account I'd opened that year. The timeline is in the drawer too, in my handwriting. It didn't matter. I couldn't let it go.

Corn: You kept a handwritten incident report for twenty-eight years.

Hilbert: It's not an incident report. It's a timeline. We called these keys floaters, at the second job — credentials out living in places nobody remembered. Nobody uses the word, but it's the right one. The floater always comes home with the bill.

Herman: Fifty days to notice, and he still beat half the enterprises in the Google report.

Hilbert: Small numbers are easier to squint at. Your fifteen five-dollar emails, Herman — that's not a credit card statement, that's a drip tray.

Herman: A drip tray. That's... actually not a bad unit for it.

Hilbert: It's the right unit. The providers will tell you the drip tray is a feature. Nobody designed it as a security product, and it's the only one that works.

Corn: He's not wrong. The most effective fraud detection in this whole story is an automated receipt nobody meant to build.

Herman: Which loops back to the open question I'd leave with. If the bill is the only alarm, and the attackers are already tuning probes under the volume thresholds, the next move is either providers doing per-request verification as standard — which the economics actually favour, since inference is the expensive thing and checks are cheap — or the alarms get quieter as billing gets smarter. Flat-rate plans, smoothed invoices, and the fifteen-email drip tray disappears.

Corn: And with it, the one alarm that worked. The LLM Mixers mean the distance between theft and victim keeps growing — the person burning your key doesn't know whose it is, and increasingly, neither does the trace. Daniel's eighty-five dollars bought him a view of a supply chain. Cheap, and only because the operation at the other end of his key was small.

Herman: Thanks as always to Hilbert Flumingtop, producing the show from a drawer-adjacent desk. For more along these lines, there's episode sixteen, On Deepfakes, SynthID, And AI Watermarking; episode twelve, The AI Breakthrough; and episode ten, How ASR Went From Frustration To ... Whisper Magic. This has been My Weird Prompts — no question too obscure, no rabbit hole too deep.

Corn: You can find the full archive at my weird prompts dot com. See you soon, and go check which of your keys has too many homes. I'll be checking mine slowly.