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

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

Content reviewed on 2026-10-05

Anti-pattern catalogue