Tech roundup: ZOZO data breach and faster CI

This article has been automatically translated.
Loading article...
Merry Christmas & Happy New Year!
Loading article...
Today's tech news centers on two themes: a security incident in which ZOZO's development environment was breached and a copy of production data leaked, and hands-on lessons shared by engineering teams—migrating a 500GB database across the Pacific, using AI agents to keep cutting CI time, and thinking about making failover part of routine operations.
On November 27, ZOZO announced that unauthorized access had been made to the development environment of its fashion e-commerce site ZOZOTOWN, and that order details, postal codes, and other information for up to about 5.94 million people may have leaked. The source was a point-in-time copy of production data replicated into a development-environment database; names and contact details had been masked and are not in scope of the leak.
The attacker also obtained credentials for the cloud service used in production from the development environment's admin page, used them to access the cloud production environment, obtained another set of credentials there, and ultimately gained unauthorized access to part of the production database on the company's own servers, where it was confirmed that one person's login name, email, postal code, phone number, and other data were viewed. In addition, the verification environment for WEAR by ZOZO was also breached, and member information for up to 2,020 people may have leaked; images attached to gift-wrapping message cards may have leaked for up to about 456,000 people, and all of the affected images have been deleted.
Notably, the path of this incident was "development environment → cloud production credentials → on-premises database," showing that production data copies and cross-environment credentials stored in development environments are themselves high-risk assets. For developers, it is a reminder for teams to review the scope of data masking in development and verification environments, access control on admin pages, and strategies for isolating and rotating cloud credentials. ZOZO said it has blocked the external access path, fixed the vulnerabilities, and will strengthen its vulnerability response and data management practices.
In an article, Benjamin Cane argues that a backup is only as good as its most recent successful restore, and the same goes for failover: if you don't use it regularly, it may fail when you actually need it. The article imagines a hot standby environment: the application is running, the infrastructure is ready, health checks pass, and it looks ready to take over traffic at any moment.
But when an environment sits idle for a long time, persistent database connections can become stale due to missing idle timeouts or maximum connection lifetimes, and dependencies, firewall rules, and credentials may change without anyone noticing. If health checks don't exercise the dependencies, network paths, and credentials that real traffic uses, they can miss these problems. The article also notes that active-active is no silver bullet: after a failover, the remaining environment must carry all traffic on its own, and whether it has enough capacity needs to be tested in practice.
For developers, the article recommends embedding failover into everyday change processes—shifting traffic away before a release, deploying and verifying, then shifting it back, which amounts to a planned drill; the more often it is used, the more incentive teams have to automate it, and it forces them to think about data consistency, in-flight traffic, and switchover time. The article also cautions that planned switchovers are no substitute for separately testing automatic failure detection and recovery mechanisms.
Jannis Fedoruk-Betschki, founder of Magic Pages, describes his experience building custom-domain email for Ghost site customers: a privacy-focused inbox for Europe at €1 per month, built on the open-source mail server Stalwart and hosted on Hetzner, with perfect test scores, and ready to open for beta testing.
But during a compliance review, he found that the EU's NIS2 Directive classifies "publicly available electronic communications service providers" as in scope regardless of size, and that the definition in the European Electronic Communications Code already covers email inboxes. Austrian law likewise stipulates that providers of public communications services are essential entities "regardless of size," and that the entire company is bound. That means selling the first €1 inbox would bring all of Magic Pages—including its Ghost hosting business—within the scope of NIS2 obligations.
For developers, the value of this case lies in exposing the compliance gap between "the product can be built" and "the product can be sold": when designing communications services for European users, small teams need to confirm early whether they fall under telecom-style regulatory definitions, rather than doing due diligence just before launch. The author says he is willing to take on the security documentation work, but considers it unreasonable to put a hosting company on the same regulatory tier as telephone networks.
A backend engineer at kickflow documented the details of migrating the database from Heroku Postgres in US East to AlloyDB for PostgreSQL in Tokyo during the company's infrastructure move from Heroku to Google Cloud on October 12, 2026. About 500GB of data was moved across the Pacific; unoptimized, it was estimated to take about 323 minutes, but on the day it was completed in 71 minutes.
The team first ran compatibility checks: aligning versions on PostgreSQL 17, confirming extensions were available, and switching to IAM authentication to avoid managing database passwords. They also found that 2 of about 640 foreign keys in the production data violated constraints, and fixed them in advance with a data migration. After comparing options, they ruled out logical replication (Heroku does not provide the REPLICATION attribute), Bucardo (AlloyDB does not expose the required parameters), differential sync based on updated_at (some writes do not update that field), and pgcopydb (RLS would cause a full rollback), and ultimately used pg_dump/pg_restore with speed optimizations.
Notably, the bottleneck-finding process: dump time depends on the largest single table, and a single trans-Pacific TCP connection tops out at about 23MB/s, so they split large tables into multiple parallel reads by ctid range, raising total throughput from 22.9MB/s to 143.2MB/s; then the worker VM's CPU and disk became the new bottleneck, so they switched to 16 vCPUs and zstd compression, and separated index/foreign-key creation from RLS policy creation, making the latter serial. For developers, this is a migration playbook showing that "the bottleneck keeps moving, and each time you have to test in practice with a copy of production data."
Nature software engineer Kitahara shares the practice of using AI agents to deal with a surge in PRs and slowing CI tests. The article notes that, influenced by practices such as auto-merging pure refactors and stacked pull requests, the number of PRs rose 40% month over month in September and about another 15% in October, making test completion time an increasing concern.
The team set the agent a fairly hard goal, something like "make CI 50% faster than it is now," and let it try repeatedly over a long period. Measures implemented included: switching gotesplit to collect test items via AST to avoid compilation; removing the -p=1 limit so a single job could connect to multiple databases; using the build cache and cleaning up expired caches; adjusting shard balancing to test heavy packages separately and merge light ones; ultimately moving to parallel testing within a single high-CPU job to reduce duplicate builds; and continuously detecting slow tests. As a result, tests dropped from about 12 minutes to under 4 minutes, a speed improvement of over 60% and a cost improvement of over 80%.
For developers, this case shows that CI is a good subject for AI agents: trial and error is cheap and feedback is clear, provided constraints such as "tests must pass" are well defined. The article also admits that not everything succeeded: the time-fixing library flextime, which relies on global variables, caused the parallelization effort to fail, and the agent said at the time that it could not make further changes.