# Your keys live in other people's databases

> In October, more than a dozen AI developer platforms disclosed incidents, and attackers hunted the environment variables customers stored there. Where copies of your keys end up, what Railway, Zeabur and Fireworks AI disclosed, and how to shrink the copies.

Published November 17, 2026 by Antivenom · https://antivenom.ai/blog/your-keys-live-in-other-databases

In October, attackers went after AI developer platforms for what their customers had stored in them. Railway, Zeabur, Fireworks AI and Lightning AI each disclosed that customer secrets or environment variables were read or put at risk. Wiz kept [a running list](https://www.wiz.io/blog/black-october-for-ai-developer-platforms) that grew from nine platforms to more than a dozen, and says every public report pointed the same way: attackers were "explicitly hunting stored environment variables", with a focus on the ones that grant AI access.

We covered the month itself in [Black October](https://antivenom.ai/blog/black-october-2026). This post is about the part that is easy to miss. **The key in your secrets manager is also in a PaaS dashboard, an evaluation job, a CI system and maybe a chat transcript.** Each copy is a separate place it can leak from, and you secure none of them.

![Diagram: one API key copied into five places: your secrets manager, PaaS environment variables, AI platform evaluation jobs, AI chat transcripts and CI variables. Three of those places were breached in October. The fix is to revoke at the issuer and keep fewer copies.](/blog/your-keys-live-in-other-databases.svg)

## What the platforms disclosed

- **Railway** said on October 21 that it had detected anomalous activity ["involving systems that store customer environment variables"](https://blog.railway.com/p/security-disclosure-wednesday-october-21st). Its [preliminary report](https://blog.railway.com/p/preliminary-report-october-security-incident) says encrypted variables were queried and "a subset were decrypted", that at most 1.85% of workspaces had some variables potentially compromised, and that the attacker "was attempting to obtain AI provider API keys". Railway notified providers including OpenAI and Anthropic, and asked customers to revoke and reapply sensitive variables.
- **Zeabur** published a [detailed report](https://zeabur.com/blogs/october-2026-security-incident). The attacker first used a Zeabur AWS key on October 14 and read the platform database the next day. Zeabur confirms that service environment variables, names and values, were read: 3,218,965 records. It names its own root cause plainly: "long-lived admin credentials were stored in plaintext and could be used from the public internet." Zeabur has also announced it will shut down on December 31, which it describes as an operational decision separate from the incident.
- **Fireworks AI** detected [unauthorized use of internal credentials on October 6](https://fireworks.ai/security/bulletins/october-2026-security-incident). Environment variables used in evaluation jobs, "including API keys and tokens stored as secrets", were captured in certain accounts. A [November 9 update](https://fireworks.ai/security/bulletins/october-2026-security-incident-update) added a second path: a third-party cloud provider that hosted Fireworks R&D machines had an incident on October 23, and the next day the attacker used it to reach development machines. That exposed billing information, secrets for a limited set of accounts and, for certain customers, a subset of incomplete model weights and datasets.
- **Lightning AI** said [certain customer credentials were compromised](https://lightning.ai/blog/oct-2026-incident) and used to reach environments and connected third-party services. It asks every customer to rotate secrets and API keys stored in their Studios, including customers it did not contact.

The Fireworks incident then reached one of its customers. [Notion says](https://www.notion.com/en-us/security/advisories/security-incident-involving-a-third-party-ai-vendor) the affected data, from fewer than 1% of its workspaces, turned out to include Notion AI chat transcripts used for its Insights feature, and that some of those messages contained API keys users had pasted in. Notion revoked the exposed Notion keys and reported third-party keys to the vendors that issued them.

## Why the copies matter

Read that list as a map of where one secret lives. A developer creates an AI provider key. It goes into the secrets manager. Then into the PaaS that runs the app, as an environment variable. Then into an evaluation job on an inference platform. Then someone pastes it into a chat to debug a failing call. Each of those is a database you don't run, with its own admins, its own build systems and its own vendors. Fireworks' second intrusion came through a provider one step further out still.

Two lines from the disclosures are worth keeping.

Fireworks: ["Removing a stored secret alone does not invalidate the underlying credential."](https://fireworks.ai/security/bulletins/october-2026-security-incident) Deleting a variable from a breached platform does nothing about a copy that was already read. Only the issuer can kill the key.

Railway: a vendor's revocation notice ["does not mean your credentials were affected"](https://blog.railway.com/p/preliminary-report-october-security-incident). Railway warned providers broadly, so many users had keys reset as a precaution. The reverse is also true. No notice does not prove your copy is safe.

## What it means on AWS

The most dangerous copy is usually a long-lived AWS access key. AWS's own guidance is to [require workloads to use temporary credentials through IAM roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-workloads-use-roles), and it lists ways to do that for workloads outside AWS, including managed CI/CD platforms, through `AssumeRoleWithWebIdentity`. A stored access key works until someone deactivates it. A key like that in a PaaS variable is exactly what LLMjacking crews look for, and Wiz and Google's threat intelligence team describe [what happens to Bedrock when they find one](https://antivenom.ai/blog/llmjacking-bedrock-cloudtrail).

Where a platform supports federation, let it assume a role in your account instead of storing a key. Where it doesn't, give the key the smallest possible scope: one workload, the few actions it needs, nothing else in the account. Zeabur's own root cause is the warning: long-lived, plaintext and usable from the public internet.

## What to do this week

- **List the copies.** For each production secret, write down every place it is stored: secrets manager, CI, PaaS variables, AI platforms, observability tools, local `.env` files. Expect more copies than you think.
- **Act on the notices.** If you used Railway, Zeabur, Fireworks AI or Lightning AI in October, follow their guidance and rotate what they tell you to rotate.
- **Revoke at the issuer, then replace.** Revoke the key with the provider that issued it, then put the new one everywhere it is needed. Deleting a variable is not revocation.
- **Replace stored AWS keys with roles** wherever the platform supports OIDC or role assumption. Start with IAM users whose keys are only ever used from a PaaS or CI system.
- **Scope AI keys** per environment and per model, with spending limits, so a key copied into an evaluation job cannot drain a production budget.
- **Keep secrets out of AI chats.** If someone pasted a key into a chat tool, treat it as exposed. Notion now tells affected users to rotate anything they pasted.
- **Watch the keys where they are used.** Alert on first use of a key from a new network, and on model calls from keys or accounts that have never called a model before.

## The short version

You can harden your own systems and still lose a key through someone else's build server. You can't secure every database your keys end up in. You can make sure fewer of them hold a copy, and that the copy that leaks is short-lived and narrow.

That is the question Antivenom's AI red team starts from: what does this one key unlock? It runs only against your own systems, with your permission, and follows each credential to see how far it goes. The AI blue team narrows or removes it, and the red team retests to prove the path is closed. For why rotation so often lags behind a leak, read [the leaked secrets rotation gap](https://antivenom.ai/blog/leaked-secrets-rotation-gap).
