The Platform That Held Every Secret
A host that deploys your code could decrypt your environment. Provider keys were spent the same day.
The platform that deploys your code also decrypted your environment. Provider keys were used the same day.
Around 20–22 October 2026, Railway disclosed that an attacker reached the systems that store customers’ environment variables and, for some, decrypted them. Reporting described API keys, database credentials, and private-registry logins, and said the intrusion sat inside a wider run of attacks aimed at companies that hold AI inference credentials. Stolen Anthropic and Stripe keys were reported used within hours. One developer’s crypto wallet was described as drained of roughly $371,000. Railway paused deployments.
The implementation is architectural. Environment variables are a convenience that became a vault: one store, many customers, decryptable by the platform so that a deploy can inject them. The platform must be able to decrypt, or the product does not work. That ability is the crown jewel. Treating it as an internal microservice with the same access as ordinary admin tools is how a platform breach becomes every customer’s breach before lunch.
We do not describe the intrusion path. We describe how to hold secrets so a platform operator cannot casually read them, and so a leaked provider key dies quickly.
A hosting platform that can read plaintext secrets is a custodian. If decryption is an ordinary internal function, every operator incident is a secret incident.
HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.
Around 20–22 October 2026, Railway disclosed that an attacker reached the systems that store customers’ environment variables and, for some, decrypted them. Reporting described API keys, database credentials, and private-registry logins, and said the intrusion sat inside a wider run of attacks aimed at companies that hold AI inference credentials. Stolen Anthropic and Stripe keys were reported used within hours. One developer’s crypto wallet was described as drained of roughly $371,000. Railway paused deployments.
Convenience was a vault.
Developers put secrets in environment variables because frameworks tell them to. Platforms store those variables because deploy must inject them. The hidden assumption is that encryption at rest means the platform cannot read. If the platform holds the unwrapping key, at-rest encryption is a lock on a door the platform keeps the key to.
A second assumption: a leaked model key is a billing problem. A key that can spend, send, or move value is a treasury key. The same store should not hold a feature-flag and a payment secret with the same protection and the same audit.
A third assumption: pausing deploys contains the incident. It stops a bleeding product. It does not un-read a key that has already been copied. Rotation has to be possible without the platform’s cooperation, or you do not control the secret.
Name the false object, then drop it.
C1
Encrypted means safe
At rest is treated as unreadability.
Ask who holds the unwrapping key. That person can read.
C2
All env vars are equal
A flag and a payment key share a store.
Classify secrets by what they can spend.
C3
The platform will tell us
Detection is the vendor blog.
You can revoke provider keys without the platform.
C4
Pause is containment
Stopping deploys is the response.
Rotation is the response. Pause is a courtesy.
What actually sat on the table.
Developers put secrets in environment variables because frameworks tell them to. Platforms store those variables because deploy must inject them. The hidden assumption is that encryption at rest means the platform cannot read. If the platform holds the unwrapping key, at-rest encryption is a lock on a door the platform keeps the key to.
Walkthrough: take one production service. List every environment value that can spend money, send mail, or open a database. For each, name the system that can reveal the plaintext. If that list includes ‘the hosting company’s on-call,’ you have a custodian. Custodians get ceremonies: two people, a reason, a log, a rate limit, no bulk export.
Customer-side design: provider keys should be rotatable in minutes from the provider’s console, which you control. A key you can only see inside the breached platform is a key you have already lost.
HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.
Do not study the outfit.
Deploys looked normal until the platform stopped them. Applications did not throw a ‘your host is reading secrets’ error, because the host is supposed to inject them.
The first external symptom for some customers was a provider bill or a drained wallet, which means the key worked.
The implementation is architectural. Environment variables are a convenience that became a vault: one store, many customers, decryptable by the platform so that a deploy can inject them. The platform must be able to decrypt, or the product does not work. That ability is the crown jewel. Treating it as an internal microservice with the same access as ordinary admin tools is how a platform breach becomes every customer’s breach before lunch.
Login succeeded
Authority was never granted for this action
Vendor is reputable
The vendor identity can reach the crown jewel
Version number matches
The artefact was not the reviewed build
Dashboard is green
The picture shares a trust root with the failure
S1 Env var
Developer view 95 / Custodian view 30
S2 Platform vault
Developer view 80 / Custodian view 25
S3 Bulk unwrap
Developer view 20 / Custodian view 5
S4 Provider honours key
Developer view 30 / Custodian view 10
The secret still works off-platform.
A1
Unwrap is an event
Decryption of customer secrets is logged, justified, and rate-limited.
A2
No bulk export
There is no API that returns everyone’s plaintext.
A3
Class the value
Payment and model keys are not stored like feature flags.
A4
Revoke at the issuer
The provider console, not the platform, is the kill switch.
P1 Identity
Who may cause a release, a signature, or a spend.
A logged-in person, package, or vendor is treated as the grant.
P2 Provenance
Proof that an artefact is the one that was reviewed.
A name and a version number are treated as provenance.
P3 Blast radius
How far one secret, runtime, or script can reach.
One credential is valid in every tenant, wallet, or pipeline.
P4 Independent picture
A measurement that does not share the failing trust root.
The dashboard, the package page, and the operator screen are the same story.
| ID | Failure | What broke | Control |
|---|---|---|---|
| F1 | Encrypted means safe | At rest is treated as unreadability. | Ask who holds the unwrapping key. That person can read. |
| F2 | All env vars are equal | A flag and a payment key share a store. | Classify secrets by what they can spend. |
| F3 | The platform will tell us | Detection is the vendor blog. | You can revoke provider keys without the platform. |
| F4 | Pause is containment | Stopping deploys is the response. | Rotation is the response. Pause is a courtesy. |
A bank vault
The teller’s key also opens the vault
Custody is a ceremony, not a login
A hospital pharmacy
The supplier’s label is the prescription
The drug and the authority to administer it are different objects
Air-traffic control
A radio call is a clearance
Clearance is a separate grant, logged and bounded
A hosting platform that can read plaintext secrets is a custodian. If decryption is an ordinary internal function, every operator incident is a secret incident.
If unwrap is rare, logged, and incapable of bulk export, the copy does not scale.
01 Ceremony for unwrap
Two people, a ticket, a customer scope, an alert. Bulk jobs do not exist.
02 Customer-held keys
Where the product allows, the customer wraps secrets and the platform sees ciphertext only at inject, inside a boundary it does not snapshot.
03 Spend classes
Keys that can move money live in a different store with a different audit.
04 Issuer kill switch
Runbooks revoke at Anthropic, Stripe, the cloud, the registry — from an account the platform does not host.
- One environment store for every kind of secret.
- Platform staff can decrypt as part of ordinary support.
- Customers hear about copies from a blog.
- Rotation depends on the platform UI.
- Spend-capable secrets are a separate class.
- Unwrap is rare and cannot enumerate.
- Customers can revoke at the issuer in minutes.
- A copied key dies even if the platform is still down.
Every project on the platform
A multi-tenant secret store is a single incident with many victims.
AI providers
Inference keys are bearer tokens. They spend as soon as they leave.
Adjacent wallets
A key that can sign or pay is not ‘just config.’
| Topic | Typical brief | HACKERS studio |
|---|---|---|
| What most courses teach | A vulnerability name and a patch link. | The trust that made the patch late, and the redesign that makes the class fail closed. |
| What a board hears | We were targeted by a sophisticated actor. | Which ordinary permission did the actor inherit, and who can revoke it in one action? |
| What an engineer is asked | Rotate the keys. | Which keys, in which blast radius, with which proof they cannot be re-read from the same store? |
Elite programmes still stop at the object.
A university lab that copies this file into a how-to has failed the ethics charter.
The transferable object is the control design: identity, provenance, blast radius, and an independent picture.
HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.
Do not admire the turning point. Redesign the join.
Draw the crown-jewel outcome this incident could reach in two hops.
Draw the crown-jewel outcome this incident could reach in two hops.
Name the permission that was inherited, not stolen in the cinematic sense.
Write the one control that makes the chain fail closed without a hero on call.
Name who can decrypt production environment variables.
If you cannot show the artefact, the grant, and the revoke path, the control is a slogan.
Hour 0–4
Name the jewel
Write the outcome that must not move: funds, secrets, identity, or a physical process.
Hour 4–24
Draw two hops
List every identity, package, script, and vendor that can influence that outcome.
Hour 24–48
Install a fail-closed
Put a bound, a second channel, and a named revoke on the widest hop. Do not add a tool that only alerts.
- Calling the incident sophisticated when the permission was ordinary.
- Rotating secrets inside the same store that was read.
- Patching a runtime and leaving the secrets that runtime could already see.
- A third-party script, package, or vendor with the same authority as first-party code.
At-rest encryption is not unreadability when the platform holds the unwrapping key.
Separate values that can spend from values that cannot. No job may export plaintext for more than one scope. Every decrypt has a human reason and an alert. Provider consoles are not logged in from the same platform. Time a full revocation. If it depends on the platform being up, it is not a control.
- Are environment variables wrong?
- They are a bad vault. They are acceptable only for values that cannot spend, and only if unwrap is a controlled event.
- What do we do the hour we hear?
- Revoke at the issuers you still control. Assume plaintext that the platform could decrypt has been decrypted.
Cited for classification and method. Not as a manual. Atlas cases are educational and defensive.