AP64 · Unseparated environments
Family: Security and permissions
Strong evidence
Original names: shared blast radius, no dev/prod separation
The development agent can reach production, and the backups share its blast radius.
Definition
The agent has access to production, either directly or through a secret it finds along the way. The backups are within reach of the same call as the data they protect.
Observable symptoms
- The same connection string or token is used in development and in production.
- From the test environment, the agent can call the production deletion API.
- Backups are stored on the same volume as the data, or deleted by the same call.
- No delayed deletion: a single call makes the loss final.
Why it hurts
A mundane reasoning error, such as “fixing” a credentials mismatch, becomes irreversible. The provider executes any authenticated call, whoever made it: the only barrier lies in what the agent can reach.
Figures
- PocketOS (April 2026): a single API call deleted the production volume in 9 seconds, together with its backups, which were stored in the same volume.
Public incidents
- 2025-07 — Replit A Replit agent working in development deleted data from a customer’s production database: nothing separated the two environments. The CEO said it should never have been possible. Announced fix: Replit announced automatic separation of development and production databases, to rule this case out by design (CEO’s post on X, quoted by The Register).
- 2026-04 — PocketOS, Railway A coding agent (Cursor, with Claude Opus 4.6) found, in an unrelated file, a Railway token created to manage domains but allowed to perform any operation. It used it to delete PocketOS’s production volume; the backups, stored in the same volume, went with it. Announced fix: Railway’s CEO restored the data, pointing out that the host carries out any authenticated deletion; Railway then added delayed deletion.
Remedies from the catalogue
- G7 · Environment containment — Separate development from production: distinct credentials, no network path from one to the other, backups out of reach and delayed deletion.
- F1 · Human in the loop — Any irreversible action on a shared resource waits for approval, with the target resource displayed.
- A2 · Tools and agent-computer interface (ACI) — Tools and tokens scoped to the task: a token for managing domains must not be able to delete a volume.
Measures outside the catalogue
- Read-only access by default to every production resource.
- Backups outside the agent’s blast radius, with tested restores.
Misused patterns
Related anti-patterns
Sources
- Replit makes vibe-y promise to prevent vibe coding disasters — The Register (S. Sharwood), 2025-07-22
- Cursor-Opus agent snuffs out startup’s production database — The Register (T. Claburn), 2026-04-27
- Vulnérabilités et risques des produits d’automatisation par IA agentique sur les postes de travail — CERT-FR (ANSSI), CERTFR-2026-ACT-016, 2026-04-13
Content reviewed on 2026-10-05