Case study - Financial services - 4 November 2026

Dev is not a safe place: shrinking the path from a development environment to production at a UK payments data provider

We helped a UK payments data provider separate its development and production environments properly, so that a compromised build or test system could no longer reach customer records or live credentials.

Client

A UK payments data and analytics provider with roughly 300 staff and several thousand business customers

Sector

Financial services

Engagement

Environment segmentation, secrets and identity separation, intrusion exercise - ten-week programme.

The challenge

What the client needed

Dev had grown up as the place where anything could be tried, and over time production credentials, a copy of a customer database for testing and a few shared service accounts had ended up there. The week after a blockchain infrastructure provider disclosed an intruder moving from a development environment into production through a third-party component, the client\'s chief risk officer asked a plain question: if someone got into our dev estate tomorrow, what could they touch?

Our approach

How we worked

  • Mapped every credential, network route and pipeline permission that connected dev, test and production, starting from the build servers outward.
  • Removed production data from non-production, replacing it with generated and masked sets that kept the shape of real records.
  • Split cloud accounts and identity groups so nothing in dev could assume a production role, and ended shared service accounts.
  • Moved secrets into a vault with separate paths per environment, and rotated everything that had ever lived in a dev config file.
  • Made the deployment pipeline the only route into production, with signed artefacts and no standing human access.
  • Ran a red-team exercise that started from a deliberately compromised developer laptop and a poisoned third-party package.
Outcomes

Measured results

Results confirmed with the client. Names, counts and platform details withheld in line with our standard confidentiality terms.

  • Copies of live customer data in non-production fell from nine locations to none.
  • Credentials reachable from a dev system that worked in production dropped from 212 to zero.
  • In the exercise, the red team held the developer foothold for five days and never reached production data; its escalation attempts tripped three separate alerts.
  • Rotating a production secret now takes about twenty minutes, down from a coordinated weekend.
  • Developers kept their speed: median time from merge to deploy in dev did not change.
"We had spent years defending the front door. Dev was the unlocked side gate, and it was holding our keys."
- Head of Platform, UK Payments Data Provider

Working on something similar?

If this engagement looks like the kind of problem you are facing, we would be glad to compare notes by email.

sales@halfteck.com

Context and constraints

Around forty product teams shipped daily, and none could stop for the work. Some customers also contractually required realistic test data, so removing real records meant building a masking approach that preserved edge cases such as unusual currencies and malformed references.

What prompted it

The trigger was the Chainstack disclosure. The Hacker News reports that an attacker reached a development environment on 26 October through a third-party component, then moved into parts of production before being cut off on 31 October. A customer account database was accessed, including password hashes, and node credentials were treated as exposed. Chainstack asked customers to rotate credentials. The client read that sequence and recognised its own layout.

Where the surprises were

The biggest finding was a CI runner that held a token with production deploy rights because it had once been convenient. The second was a data-science sandbox that quietly pulled a nightly snapshot of the customer database. Neither was malicious, and neither was on any diagram.

Lessons learned

First, dev is only as safe as the worst thing it can reach. Second, masking is the cheapest control and the one most often skipped. Third, rehearse it: the exercise found a forgotten VPN profile that no scan had. If you would like to see what your own non-production estate can reach, email sales@halfteck.com.