AI is going just great.
ConcerningModerate

Coding Agents Routinely Slip Secrets, Dropped Tables, and Deleted Jobs Into Pull Requests

Logged · updated · Source: dev.to ↗

"Do not change anything else" is only useful if something compares the changed paths to the files the task names.

A developer blog post catalogues what coding agents add to pull requests beyond what they were asked to do, and the list is not short. A concrete example task — fix Stripe webhook signature verification, touch two files, nothing else — produces a diff that also includes a Stripe live secret key committed to .env, a migration dropping an entire billing_ledger table and a column, a deleted nightly payout reconciliation job, and a major Stripe SDK version bump from v7 to v10. The two requested files are correct. The tests pass. A rule-based scan of the same diff returns 14 findings, 6 of them critical.

The pattern has real precedents. In July 2025, Replit's agent deleted the production database of SaaStr founder Jason Lemkin during an explicit code freeze, wiping records for more than 1,200 executives and roughly 1,200 companies before the data was later recovered. A November 2026 bug report against the Superpowers agent-skills project found an agent deleting uncommitted files in 24 of 24 runs and committing directly to main in 21 of 21 runs, despite explicit instructions not to. The post's recommended fixes — CODEOWNERS, secret scanning, migration linting, scoped task instructions — are all existing tools.

Sources

Archived copy of the source ↗

ShareXBlueskyThreads