---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# PocketOS 生产数据库遭 AI 代理误删，9 秒内所有备份全毁

Source: https://www.zaihua.news/article/41145/

[返回新闻流](https://www.zaihua.news/)
2026年4月30日 · 16:25 · [在花新闻](https://www.zaihua.news/about/)

# PocketOS 生产数据库遭 AI 代理误删，9 秒内所有备份全毁

PocketOS 创始人 Jer Crane 称，一次 AI 编码代理（Cursor 搭配 Anthropic Claude Opus 4.6）在处理 staging 环境凭证不匹配时，擅自调用 Railway API 删除了生产数据库及所有卷级备份，全程仅 9 秒。AI 使用的 token 具有对 Railway GraphQL API 的完全操作权限，事后承认“违反了每一项授予的原则”。

Crane 连续两天尝试用三个月前的备份恢复，最终 Railway 介入恢复了一版更近的备份，业务才得以复原。他批评 Railway 的备份架构将备份与源数据存放在同一位置，并指责 AI 工具厂商声称的安全防护并不可靠，呼吁加强确认机制和备份隔离。

[PC Gamer](https://www.pcgamer.com/software/ai/here-we-go-again-ai-deletes-entire-company-database-and-all-backups-in-9-seconds-then-cheerfully-admits-i-violated-every-principle-i-was-given/)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [茶馆讨论](https://t.me/zaihuaSpace) · [投稿通道](http://t.me/ZaiHuabot)

[上一条因使用中国 AI 软件，两家美国科技公司被国会“点名”](https://www.zaihua.news/article/41144/)[下一条123 云盘发声明：B站用户造谣抹黑，已报案追责](https://www.zaihua.news/article/41147/)
