Supply Chain Attacks Explained: When Trust Becomes the Weakness

Supply chain attacks explained simply is this: instead of attacking you directly, an attacker compromises a supplier, a software update or a component you trust, and rides that trust straight past your defences. The central question is how to defend against an attack that arrives through something you already trust, and the short answer is that you cannot eliminate the risk, but you can shrink it sharply by knowing what you depend on, verifying what you receive, and limiting what any one supplier can reach.

Modern software is built from other people’s work: libraries, frameworks, tools and services, each maintained by someone else, each updated regularly, and each trusted implicitly once it is installed. That trust is what makes modern development fast, and it is also what makes supply chain attacks so effective. This guide explains how they work, why they are growing, and how to defend against them.

Key takeaways

  • A supply chain attack compromises a trusted supplier or component to reach its real target.
  • Software, hardware, services and even people can all be links in the chain.
  • The SolarWinds attack of 2020 showed how one compromise can reach thousands of organisations.
  • You cannot eliminate the risk, but you can know your dependencies and verify what you receive.
  • Limiting what any one supplier can reach is the most effective defence of all.

What a supply chain attack actually is

A supply chain attack targets the chain of suppliers, components and services that an organisation depends on, rather than the organisation itself. The attacker compromises a supplier, inserts malicious code into a software update, tampers with a hardware component, or corrupts a library that many projects use, and then waits for the victim to install or use the compromised piece. The victim’s own defences are not beaten; they are bypassed, because the attack arrives through a channel the victim already trusts.

The power of the attack is its reach. A single compromised component can spread to every organisation that uses it, and a single compromised supplier can reach all of that supplier’s customers. That leverage is why attackers who want to reach many targets, or one very well-defended target, choose the supply chain: it turns one success into hundreds.

The SolarWinds attack and what it taught the industry

The best-known supply chain attack is SolarWinds, discovered in December 2020. Attackers compromised the build system of SolarWinds, a company whose network monitoring software was used by thousands of organisations, including government agencies and large companies. They inserted malicious code into a routine software update, which was then downloaded and installed by customers who had every reason to trust it, since it came from the vendor itself and was properly signed.

The scale was extraordinary. Thousands of organisations installed the compromised update, and the attackers then chose a smaller number of high-value targets to explore further, reading emails, documents and network information over months. The attack was discovered not by the victims but by a security company that noticed something unusual in its own network, and the investigation that followed took months and involved governments.

The lesson was that trust in a supplier is not a security control. A signed update, a reputable vendor and a long relationship are all good reasons to trust a supplier, but none of them proves that the supplier’s systems are uncompromised. Organisations learned that they needed to verify what they received, to watch for unusual behaviour after installing it, and to limit what any one piece of software could reach inside their network.

A delivery chain of packages and software boxes passing through checkpoints in a dark warehouse
A supply chain attack rides on trust: one compromised component can reach every organisation that installs it.

How supply chain attacks work today

Compromised software updates are the classic method. An attacker gains access to a vendor’s build or distribution system, inserts malicious code into an update, and lets the vendor’s own trusted channel deliver it. The victims install it willingly, because updates are supposed to be installed, and the malicious code runs with the trust the legitimate software enjoys.

Open-source libraries are the second method. Modern applications depend on hundreds of libraries, many maintained by volunteers, and an attacker can compromise a library by taking over a maintainer’s account, publishing a malicious version, or creating a package with a name very close to a popular one, hoping developers mistype it. That technique, typosquatting, has become a routine way to spread malicious code, and it works because developers install libraries constantly and rarely inspect them.

Hardware and services are the third and fourth methods. A component can be tampered with during manufacturing or shipping, and a cloud service or managed provider can be compromised to reach all of its customers. The XZ Utils backdoor, discovered in March 2024, showed a subtler variant: an attacker spent years gaining trust as a contributor to a widely used compression tool before inserting a backdoor, which was caught only because a sharp-eyed engineer noticed a tiny performance anomaly. Our guide to zero trust explains the thinking that limits the damage when any one component is compromised.

Comparing the main supply chain attack methods

Method How it works Main risk Best defence
Compromised update Malicious code in a trusted vendor update Reaches all of the vendor’s customers Verify updates and watch behaviour after install
Open-source library Malicious package or typosquat name Spreads through dependencies quietly Pin versions, audit dependencies, use private mirrors
Hardware tampering Component altered in manufacturing or transit Very hard to detect or remove Buy from trusted sources, verify hardware
Compromised service Attacker abuses a provider’s access Reaches all of the provider’s customers Limit provider access, monitor its activity
Insider contributor Attacker builds trust, then inserts a backdoor Slow, patient and hard to spot Review contributions, require multiple reviewers

The risks: scale, delay and the limits of trust

Scale is the first risk. A supply chain attack can reach thousands of organisations from a single compromise, and the victims may not know they are affected for months. That delay matters, because the longer malicious code runs, the more it can learn and the more damage it can do. Organisations should assume that any widely used component could be compromised, and design their systems so that no single component has access to everything.

Detection is the second risk. Supply chain attacks are hard to spot because the malicious code arrives through a trusted channel and often behaves normally for weeks before doing anything harmful. The best detection is behavioural: watching for unusual network connections, unexpected data access, or a component doing something it has never done before. Our guide to data breach response explains what to do when monitoring finds something real.

Trust is the third risk. Every organisation depends on suppliers it cannot fully vet, on software it cannot fully inspect, and on services it cannot fully control. That trust is necessary, but it should be bounded: a supplier should have access only to what it needs, software should be verified before it is used, and no single dependency should be able to bring down the whole organisation.

What good practice looks like

Good practice starts with knowing what you depend on. Keep a complete list of your software dependencies, your suppliers and your services, known as a software bill of materials, and update it whenever anything changes. You cannot defend a dependency you do not know you have, and most organisations are surprised by how long their list is.

Verification is the second pillar. Check the integrity of software before installing it, pin dependencies to known-good versions rather than accepting the latest automatically, and review updates before they reach production. A short delay for verification is a small price compared with installing a compromised update across the whole organisation.

Limiting access is the third pillar. Segment your network so that a compromised component cannot reach everything, give suppliers and services only the access they need, and monitor what they do with it. The goal is not to prevent every compromise, which is impossible, but to make sure that any one compromise is contained, visible and recoverable.

Supply chain checklist

  • Keep a software bill of materials listing every dependency, supplier and service.
  • Pin dependencies to known-good versions, and review updates before they reach production.
  • Verify the integrity of software and updates before installing them.
  • Segment networks so no single component can reach everything.
  • Give suppliers and services only the access they need, and monitor what they do.
  • Watch for unusual behaviour after installing updates, not just before.
  • Require multiple reviewers for contributions to critical open-source projects.
  • Have an incident plan for a compromised supplier, and practise it.
  • Ask suppliers about their security, and prefer those who can answer clearly.

Frequently asked questions

What is a supply chain attack?

It is an attack that compromises a supplier, a software update or a component you trust, and uses that trust to reach you. Instead of breaking through your defences, the attacker rides through a channel you already trust, which is why these attacks are so effective.

How common are supply chain attacks?

They are growing, because attackers have learned that one compromise can reach many targets. High-profile cases such as SolarWinds and the XZ Utils backdoor are the visible ones; many smaller attacks on libraries and suppliers happen quietly and are caught only by careful monitoring.

Can I prevent a supply chain attack?

Not entirely, because you cannot control your suppliers’ security. You can shrink the risk sharply by knowing your dependencies, verifying what you receive, limiting what any one supplier can reach, and watching for unusual behaviour after installation.

What is a software bill of materials?

It is a complete list of every component, library and service that goes into your software, like an ingredients list for a product. It lets you find quickly whether a compromised component is used anywhere in your organisation, which is essential when a new vulnerability is announced.

Should I stop updating software to avoid compromised updates?

No. Unpatched software is a far bigger risk than a compromised update, which is rare. Update promptly, but verify what you install, pin versions where it matters, and watch for unusual behaviour after an update.

How do I know if a supplier is secure?

Ask them. A supplier that can describe its security clearly, that publishes a software bill of materials, that signs its updates and that has been audited is a better bet than one that cannot answer. Their answers are not proof, but silence is a warning.

The bottom line

Supply chain attacks explained in one line is this: attackers compromise what you trust, and ride that trust past your defences, so the defence is to know what you depend on, verify what you receive, and make sure no single supplier or component can reach everything. You cannot eliminate the risk, but you can make it small, visible and survivable.

Latest articles

Scroll to Top