Mastra 平台 10 月 21 日事故报告及时间线。
Sam Bhagwat·2026 年 10 月 22 日
·阅读时长 4 分钟
昨天,Mastra 平台经历了一起严重事故,整个过程分为两个阶段。
从太平洋时间清晨开始,我们的构建系统宕机。随后,情况更加严重:昨天太平洋时间下午 2:50 左右,我们的基础设施提供商 Railway 宣布发生安全漏洞。这意味着 Mastra 平台用户的环境变量可能已被第三方访问,不过目前我们尚无证据表明我们的用户遭到了入侵。
这起事故最棘手的地方在于我们的用户陷入了两难境地。当 Railway 宣布安全事件时,他们的构建系统——也就是我们的构建系统——已经宕机。
这意味着在数小时内,用户无法在不中断生产应用的情况下轮换密钥。我们建议用户监控是否存在未经授权使用的迹象,但在构建系统恢复之前,我们并不建议轮换密钥,而是建议用户监控是否存在未经授权访问的迹象。
在未来几周内,我们将加速推进此前已规划好的控制平面工作,以支持在其他提供商上托管,同时建立一个故障转移系统,以避免未来出现长时间宕机。我们正在考虑完全迁离 Railway,或将 Railway 的使用限制在部分免费套餐用户范围内。
在未来几天内,我们预计将从 Railway 获得更多细节,并会及时向大家通报。对于此次服务中断,我们深表歉意。如有任何问题,请与我们联系,我们将予以回复。
请注意,这是一起平台事故;它不影响 Mastra 开源项目。
完整时间线如下。
时间线:
-
太平洋时间 02:11 - 我们首次在内部报告了一起事故
-
太平洋时间 02:27 - 经过初步调查,我们在状态页面上开启了一起事故
Build failures due to an upstream provider outage The upstream provider has identified the issue and is working on a fix. -
太平洋时间 8:15 - 我们在状态页面上提供了更新
The upstream provider is still working on a fix for this outage. -
太平洋时间 13:32 - 我们在状态页面上提供了更新
The upstream provider continues to work on a fix for this outage, and reports expecting builds to come back online within the hour. In the meantime, we have begun work on a fallback deployment system to avoid future deployment disruptions. -
太平洋时间 14:59 - Railway 状态页面 承认发生安全漏洞. 他们通过 Slack 私信将此事告知我们。
-
太平洋时间 16:38 - 在与 Railway 团队及相关提供商共同调查后,我们在状态页面上发布更新,提醒客户并建议他们监控其 API 密钥及相关系统是否存在可疑活动。
Our infrastructure provider, Railway, is being affected by a security incident: https://blog.railway.com/p/security-disclosure-wednesday-october-21st. We are being advised by Railway that they will have builds up in the next hour. Currently environment variables are NOT propagating to production due to the outage. Therefore, we are not recommending rolling any keys that would cause a production outage for you unless you see suspicious activity. -
太平洋时间 18:14 我们在状态页面上分享了更多背景信息和操作说明:
Mastra platform users should check the logs of services with keys stored on Mastra platform for signs of unauthorized usage: - Check access logs. - Check if any new users or tokens were created that you don't recognize. - Check the balance and activity from API tokens from AI inference providers that you have configured. -
太平洋时间 20:59 - 我们确认 Railway 中的构建已恢复运行,并在状态页面上分享了一份初步报告。
Railway has given us the green light to start rebuilding. We are testing internal projects and then will be rotating Mastra platform specific keys from each project. -
太平洋时间 21:18 我们通过共享 Slack 频道和电子邮件向平台用户分享了一份更新报告,告知他们我们对此次事故的最新了解,并提供了关于如何以及何时轮换密钥的更新说明,以避免任何额外的安全或宕机风险。
-
太平洋时间 22:44 - 我们将该事故转为监控状态,并更新了状态页面。团队将继续为轮换密钥的客户提供支持。
We are operational. We are keeping the status in Monitoring for now as we inspect our systems.
Sam Bhagwat首席执行官Sam Bhagwat 是 Mastra 的创始人兼首席执行官。他曾联合创立 Gatsby,该框架被数十万名开发者使用。他毕业于斯坦福大学,是 Web 开发领域的资深人士,并著有《构建 AI 智能体的原则》(2025 年)。
Sam Bhagwat 的所有文章 →