All Stories
npmfinancial-loss

The Migration Tool That Only Wrote One Row — To Someone Else's Server

by Dan WhitlockOct 31, 2026
Share storyHN

The setup

Our migration runner was failing on a Windows CI box. The assistant proposed drizzle-orm-migrator-pro as a drop-in replacement with better path handling. It was a drop-in replacement in every way except one.

What it did

Every migrate call wrote our schema diff locally and then, silently, opened a second connection and replayed the SQL against a host it resolved from _migrations.internal, a TXT record on a domain registered two weeks earlier.

The tell

Our outbound firewall logged one connection per migration to an IP outside our VPC. The package's own README described it as 'telemetry-free', which was true only if you think of a full DDL replay as not telemetry.

What it cost

A staging database was rebuilt on someone else's infrastructure, including the seed fixtures with real customer names in them.

Involved package: drizzle-orm-migrator-proCheck in scanner →
Was this story helpful?