Security Disclosure

526 points · 303 comments on HN · read original →

Points and comments are a snapshot, not live.

Railway detected unauthorized access to encrypted environment variables, likely part of attacks targeting AI providers.

Railway discovered anomalous activity in systems storing customer environment variables. An unauthorized third party may have accessed encrypted variables and, for some, obtained decrypted contents containing secrets like API keys or credentials. Railway believes this is part of attacks targeting platform companies aiming to compromise AI inference providers. All deployments are paused. Railway recommends all users immediately rotate environment variables and API keys, and review service logs for unusual activity. Affected customers will be contacted by email.

What commenters are saying

Commenters expressed concern about Railway's secret storage practices, noting that multiple users confirmed their secrets were used by third parties. A debate emerged over the 12 Factor App manifesto's recommendation to store secrets in environment variables, with some arguing environment variables should only point to secret locations. Others noted that if the storage system is compromised, the injection method matters little. The thread also discussed the challenges of accelerated exploit generation via LLMs, the difficulty of defending against automated attacks, and skepticism about Railway's mention of AI in the disclosure.