This week two big security stories landed within a day of each other, and both are worth explaining to anyone who plays The Commons.
- Railway, the platform that hosts parts of The Commons, had a security incident. On Wednesday (21/10), Railway disclosed that an unauthorised party may have accessed customer environment variables, which is where apps keep things like database passwords and API keys. They told every customer to rotate all their secrets, whether or not they’d been told they were affected.
The Commons doesn’t hold sensitive player data yet, but I treated this as the real thing anyway and by Thursday night I had rotated every credential: database, session secrets, bot tokens and API keys. I checked our logs and Railway’s audit log and found no sign of misuse.
- A pair of serious PHP vulnerabilities was disclosed. They were found with the help of AI, and a lot of websites went offline while they patched. I’ve double checked The Commons source code, its dependencies and our hosting, and none of it uses PHP, so we aren’t affected.
What I learned
Know where your secrets live before you need to rotate them. I now keep a written inventory of every key, what it unlocks, and how to replace it. Practise the rotation. A checklist you’ve actually run is worth more than one you haven’t. Keep keys narrowly scoped, so one leak can’t open everything. Log the things that matter (logins, admin actions) so you can tell whether something went wrong. Follow security news. I found out about both of these within hours, and that gap is what lets you act early.
I've worked in the security industry and with security systems for most of my adult life and these events reenforce what I already believed to be true:
No security is absolute, and your systems of protection are never done.
The Commons is a one-person project, and keeping it safe is part of the job. I’d rather tell you what happened and what I did than say nothing.
The Commons is invite-only for now. You can request an invite at thecommons.lol.
Come and see it
It's free, and it runs in your browser.