Dev.to Security 🔐 Cybersecurity 👁 2 📖 2 min read

The day I shipped a security change I knew would hurt customers

In the summer of 2025 our payment company was a few hours from a deadline. A card-industry audit needed one more control on the checkout page: the browser had to verify that the scripts it loaded were the exact scripts w

In the summer of 2025 our payment company was a few hours from a deadline. A card-industry audit needed one more control on the checkout page: the browser had to verify that the scripts it loaded were the exact scripts we meant to serve. If we didn't ship it that day, the audit wouldn't pass. And the audit was tied to our license to process payments.

I knew what it could cost. A lot of our customers were still holding old copies of our static files. If the check ran against an old copy, the script wouldn't load and the payment would stop. I couldn't tell how many people that was.

The day before, I tried to be careful. Measure first: which browsers support the check, where it fails, whether failures line up with people leaving the page. Then roll it out to a small share of safe browsers, with a rollback ready. The deadline didn't care about my plan. We shipped the next day, drop-off went up, and by mid-afternoon I'd asked the team to roll it back.

Then I had to ask the person who owned the decision to let me ship it again. I gave him a range of failed payments to expect. It wasn't a small range. He hesitated. I would have too. I told him the other loss was bigger: no certificate, and no way to keep the license. He agreed.

Before we redeployed I drew two lines. If drop-off held at the high number, roll back. If it settled near the low one, stay. Then I watched a dashboard until eight in the evening. It's a strange kind of tired. It landed between my two lines, closer to the rollback line than I liked. We kept it and submitted.

What I remember is the two people on either side of me. The developers didn't want to touch it, because they couldn't predict what would happen. The security engineers weren't sure what we needed from them. Nobody was wrong. Nobody could see what the change would do to a real customer before it did it.

What scared me most was simpler than the numbers. A WAF rule changes on a server, and I can reverse it in seconds. This change lived in other people's browsers and behind a CDN. Once it went out, I couldn't take it back from a browser that had already cached it. The rollback was a button that didn't reach the people who needed it.

I've thought since about what I'd hand to an AI in that room. The drop-off analysis, yes. Whether the patch fits this page, yes. The decision to ship, and telling the person who carries the loss, no. Not yet.

I'm building CloudScry around that line. It starts in shadow mode: it watches, replays each rule against real traffic, and shows who would have been blocked. It doesn't touch anything. It's still in development. Whether an AI should ever hold the rollback button, I don't know yet.

TH Kim, founder of CloudScry. Former CIO, financial services.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.