Latest / Decrypted: The UK Cyber Briefing / Railway's secrets scare: what a hosting platform holds on your behalf
Transcript
- 0:03This is Decrypted. Friday, the twenty-third of October, twenty twenty-six.
- 0:09This is the evening edition.
- 0:11Railway's secrets scare: what a hosting platform holds on your behalf.
- 0:17Railway, a cloud platform developers use to run applications, said on Wednesday that an unauthorised third
- 0:25party may have read customers' stored secrets.
- 0:29It has told every user to replace them.
- 0:32The company says its initial analysis points to a subset of users.
- 0:37But the instruction applies to everyone.
- 0:40So if you host anything on a platform like this, the question is plain: where do your keys live, and who else
- 0:47can read them? So, what has Railway actually said?
- 0:52Its notice, dated 21 October, says it detected anomalous activity "earlier this morning" involving systems t
- 1:01hat store customer environment variables.
- 1:03Those are the settings an application reads when it starts.
- 1:07In practice, they're where developers park A P I keys, the way one program talks to another, and database pas
- 1:15swords. Railway says an unauthorised third party "may have accessed encrypted environment variables and, for
- 1:24some of them, obtained the decrypted contents.
- 1:27" It paused all deployments while it investigated.
- 1:31It also says it believes this is part of a series of attacks on platform companies, aimed at compromising AI
- 1:37inference providers, and that it has told those providers to revoke keys.
- 1:42It has named no other victims.
- 1:45So treat the wider campaign as an unverified claim.
- 1:48Now, how can encrypted secrets still be read?
- 1:53Think of a hotel that locks your valuables in a safe, but keeps the safe's key on a hook behind reception, s
- 2:00o staff can fetch things quickly.
- 2:02Encryption at rest protects the safe from someone who steals the disk.
- 2:06It doesn't protect you from someone who gets into the part of the system that's allowed to open it.
- 2:11For a platform to hand secrets to your running application, something in its estate must be able to decrypt
- 2:18them. An intruder who reaches that something gets the plaintext.
- 2:23Railway's follow-up guidance for A W S users shows what you then face.
- 2:28Create a replacement access key.
- 2:31Deactivate the old one. Then search CloudTrail, A W S's activity log, in every Region for calls such as creat
- 2:39ing users, roles or access keys.
- 2:42That's clean-up of someone else's incident, done on your own time.
- 2:47So, what's the Secure by Design lesson here?
- 2:51Three design decisions shrink the damage.
- 2:54First, short-lived credentials.
- 2:57A key that expires in an hour is worth little once stolen.
- 3:01A long-lived key pasted into a variable is worth a great deal.
- 3:05Second, narrow scope. A key limited to one service, from one address range, can't start servers in your clou
- 3:14d account. Third, your own vault.
- 3:17Keep secrets in a store you control and fetch them at runtime, so a platform compromise yields a reference ra
- 3:24ther than the secret. The cost is a few days of engineering and a habit of rotation.
- 3:29Compare that with rotating everything at once, under pressure, while your deployments are frozen.
- 3:35Ask for an inventory of every secret held with a third-party platform, who can rotate each, and how long t
- 3:43hat takes. As always, this is opinion, not advice.
- 3:47That was Decrypted. The written version and every source are linked in the show notes.
- 3:53Thanks for listening.