Infrastructure migration and our response to the Railway security incident
We are sorry for the disruption and for the worry this may cause. Here is what happened, what we have done, and what we recommend you do.
What happened. On 20 and 21 October (UTC), Railway, the infrastructure provider that hosted our API, had two platform outages. While they lasted we could not ship releases or change configuration. We decided not to depend on that setup any longer and moved the whole API to another infrastructure provider. The switch was completed at about 16:40 UTC on 21 October.
Short interruptions along the way. The move and the maintenance after it caused two brief disruptions:
- 21 October, 17:10–17:11 UTC: about one minute of downtime while we expanded database capacity for our growth.
- 22 October, 02:49–03:03 UTC: task processing was slower than normal while we rotated credentials.
Tasks that failed because of these interruptions were not charged.
Railway’s security incident. On 21 October Railway disclosed a security incident: the system that stores customers’ environment variables was accessed without authorization, and some variables may have been decrypted. Railway’s announcement is at https://blog.railway.com/p/security-disclosure-wednesday-october-21st, and it recommends that everyone rotate the environment variables and secrets stored on Railway.
We have reviewed our access records since 17 October and found no sign of unauthorized access to SpicyAPI systems or customer data. We cannot see inside Railway, though, so as a precaution we are rotating all internal credentials.
What protects your account.
- API keys are stored only as one-way hashes. We cannot see your original key, and the stored data does not reveal it.
- Account passwords are stored only as salted hashes.
- Card details are handled by our payment processor and never pass through our servers.
What we recommend you do.
- If your own application runs on Railway, rotate all environment variables and secrets stored there, as Railway advises.
- If you keep a SpicyAPI API key in a Railway environment variable, create a new key under API keys in the console, put it in place of the old one, then delete the old key. Afterwards, look through Usage and Logs for calls you do not recognize.
- Consider setting a daily and a monthly spend cap and an IP allowlist on each key. Both are in the key settings in the console.
- If anything looks wrong, open a ticket from Support in the console.
Thank you for your patience. If we learn anything that changes this advice, we will post it here.