Blog Opinion

How Much Do We Trust a Developer's Laptop?

Have our ambitions for faster software delivery outpaced our ability to establish trust in what we're deploying? An opinion on developer workstations, CI/CD and the erosion of independent security verification.

  • Published
  • 7 min read
In this article

I've been following a number of security incidents recently where the compromise of a developer's workstation has ultimately provided attackers with access to considerably more than the contents of that workstation.

In May 2026, GitHub disclosed that a malicious Visual Studio Code extension had led to the compromise of an employee's device and subsequent access to internal repositories. More recently, Binance's preliminary investigation into its October breach described how compromised engineering workstations and stolen deployment credentials enabled an attacker to deploy a malicious container.

What interests me about these incidents is not necessarily how the workstations were compromised, but what compromising them made possible.

It feels somewhat like a skeleton key. We invest considerable time and resources securing individual systems, yet the compromise of a developer's laptop can provide a route into several of them.

I wonder whether we've stopped to consider just how much trust we've placed in these machines.

The keys to the kingdom

When I started working in IT, the relationship between software development and production infrastructure looked somewhat different.

Developers wrote software. That software was delivered to the infrastructure team, along with instructions on how to deploy it. Depending on the size of the organisation, that team might have consisted of a single sysadmin.

The keys to the kingdom were held by relatively few people.

Continuous integration and continuous delivery were ideas gaining popularity, and the appeal was obvious. Faster deployments, faster fixes, fewer manual processes and, from a business perspective, potentially fewer people needed to keep everything running.

It seemed almost like magic.

I'm not suggesting that we should return to manually deploying software, nor do I think the traditional approach was particularly secure in every respect. A sysadmin deploying an application wasn't necessarily capable of reviewing its source code for malicious behaviour. That wasn't their job.

But there was a separation of responsibilities that I think is worth reflecting on.

As we automated software delivery, we also changed where privilege existed within an organisation. The ability to influence what runs in production became increasingly accessible from the developer's working environment.

Did our approach to security evolve sufficiently to accommodate that change?

An interesting place to keep secrets

We spend a great deal of time talking about secrets management.

We tell developers not to hardcode credentials, scan repositories for exposed API keys and invest in increasingly sophisticated systems for storing and distributing secrets.

Meanwhile, on some developer workstations, there is a file called ~/.aws/credentials.

Depending on how authentication has been configured, that file may contain credentials in plaintext. The filesystem permissions might prevent other users from reading it, but they offer little protection against malicious code executing as the developer.

Environment variables are another interesting example. They're a convenient way of providing credentials to an application or passing them into a container without embedding them in the code itself.

But an environment variable isn't inherently a security boundary. Malicious code executing within the relevant process or user context may still be able to access its contents.

We've addressed the problem of where we shouldn't put secrets, but perhaps given less consideration to the environment in which those secrets ultimately need to be used.

On a Unix or Linux system, there is an established separation between an ordinary user and root. Tools such as sudo make crossing that boundary convenient, and I'm certainly not suggesting we should all start logging out and logging back in as root every time we need to perform an administrative task.

Nevertheless, there is a boundary.

On a developer's workstation, sensitive credentials and potentially untrusted executable code can exist within the same user context throughout the working day.

And there is something particularly interesting about the nature of that working day.

Doing exactly what we asked them to do

Developers download and execute other people's code.

This isn't something we can reasonably expect them to stop doing. It's 2026, and modern software is built upon increasingly complex collections of libraries, frameworks, tools and dependencies.

Even someone writing C might include stdio.h without giving it a second thought. A standard library supplied with a compiler is obviously a different proposition to a package downloaded from npm, but the underlying principle of relying on code written by somebody else is hardly new.

Imagine a developer installing a package that has been around for several years and receives hundreds of thousands of downloads every week. Unknown to them, the maintainer's account was compromised earlier that morning and a malicious version was published.

What, realistically, are we expecting that developer to have done differently?

I don't blame someone in marketing for opening a malicious PDF, and I don't blame a developer for downloading a previously legitimate software package that happens to have been compromised that day.

In both cases, somebody was doing something entirely consistent with their job.

We wouldn't design a corporate network on the assumption that nobody in marketing will ever open a malicious attachment. I'm not sure why we would design our software delivery infrastructure on the assumption that nobody in development will ever execute a malicious dependency.

Making the light green

There are, of course, security controls within modern software delivery pipelines.

We have automated testing, dependency scanning, static analysis, code reviews and various other mechanisms intended to establish confidence in what we're deploying.

These are useful, but I think we've become somewhat comfortable equating successful automated checks with security assurance.

There is also a behavioural problem here.

When a developer encounters a red light on a deployment dashboard, there is an immediate incentive to make that light green. The deployment cannot proceed until it is green, and getting the deployment through the pipeline is part of their job.

Making the light green can become the objective in itself, rather than understanding the security concern that caused it to turn red in the first place.

Now consider a compromised developer workstation from which a malicious change is submitted.

The credentials are valid. The automated tests pass. The dependency scanner doesn't identify any known vulnerabilities. The application builds successfully.

Everything is green.

Has anybody actually established that the change is trustworthy?

Perhaps there is a link missing in some of our software delivery processes. Somebody who understands the code, but who is also looking at it from a security perspective.

Reviewing code to establish whether it performs its intended function is not necessarily the same exercise as reviewing it to establish whether it does anything it shouldn't.

Could AI assist with some of that work? Quite possibly. But whatever mechanism we use, I think there needs to be an element of independent verification that goes beyond establishing that a change satisfies a set of automated checks.

And that introduces something businesses generally don't like.

Friction.

How fast do we actually need to deploy?

Security has always been somewhat inconvenient.

It costs money, consumes resources and frequently introduces additional steps into processes that would otherwise be quicker without it. Its value is often in the things that don't happen, which makes demonstrating that value particularly difficult.

But if we never stop to review and verify what we're doing, how can we have any meaningful confidence in it?

I also think we need to reconsider our apparent obsession with deployment speed.

There is considerable value in being able to deploy a fix for a critical security vulnerability within minutes rather than days. That is a high-priority situation in which there may be a very real cost associated with every additional hour of delay.

Changing the font on the checkout page is not.

Yet we seem increasingly interested in reducing the time between somebody making a change and that change reaching production, regardless of what the change actually is.

I'm not entirely sure who we're serving by continually trying to make that process faster.

There are obvious commercial benefits to efficient software delivery, but presumably there is a point at which further improvements in deployment speed offer diminishing returns.

If introducing an independent security review delays a routine deployment, is that necessarily a problem? What has the organisation actually lost by deploying that change an hour later?

And what might it have gained?

Where should we place our trust?

Zero trust is a term we use extensively in the cybersecurity industry, although I sometimes wonder whether we've spent more time discussing it than working out what it means in practice.

I'm not convinced that an environment in which absolutely nothing is trusted is even achievable. At some point, we have to place trust in people, software or the mechanisms we're using to establish that trust.

What we can do, however, is reconsider where that trust is placed and how much of it we extend to any single part of an organisation.

I think software delivery infrastructure should be designed on the assumption that a developer's workstation is untrusted.

That is not a reflection on the developer. Given the nature of modern software development, it seems an entirely reasonable architectural assumption.

When a breach occurs as a result of a compromised developer workstation, we should certainly investigate how that initial compromise occurred. There may be improvements we can make to endpoint security, credential management and the way development environments are configured.

But I think there is a more important question for the people responsible for designing the software delivery infrastructure.

Why was compromising the developer's laptop enough?