ENES

Supply chain attack

Hacking a trusted supplier so its normal updates carry the attack to everyone else.

An attacker slips bad code into a small library; the library flows into a popular app's build and from there to thousands of users' devices

Modern software is assembled from parts made by others: open source libraries pulled in by a package manager, build tools, cloud services, update servers. A supply chain attack does not go after the final target directly. It compromises one of those trusted parts, and lets the normal flow of updates deliver the malicious code to every company and person downstream.

Two cases show the pattern. In an attack discovered in 2020, intruders had slipped a backdoor into updates of SolarWinds Orion, a network monitoring product that thousands of organizations, including US government agencies, installed as routine. In 2024 a developer noticed that xz, a compression library present in many Linux systems, had been given a hidden backdoor by a contributor who spent around two years earning the maintainers' trust. Simpler versions are common too: publishing a malicious package with a name one letter off from a popular one, or stealing a maintainer's password and pushing a poisoned release.

It is hard to defend against because the code arrives signed, from the expected source, through the channel you are supposed to trust. The responses focus on knowing and verifying what you depend on: pinning exact versions, keeping an inventory of components (an SBOM), checking signatures and provenance with frameworks like SLSA, protecting maintainer accounts with strong 2FA, and limiting what each component is allowed to do.

Keep in mind

Go deeper

Related terms

More in Security