A magazine of record · five sections December 6, 2026
Folio Security · Investigation · Finance · Law · Power
Issues

Cybersecurity /

The Compromise Before the Seal

Attackers are infiltrating the software build process itself, turning trusted updates into delivery vehicles for malware.

Cover art — The Compromise Before the Seal

In 2020, attackers inserted a backdoor called Sunburst into the build system for SolarWinds Orion, a network-management product used by approximately 18,000 customers, including multiple U.S. federal agencies. The malicious code rode inside legitimate software updates that carried a valid digital signature from SolarWinds itself. Because the compromise happened before the software was sealed and distributed, every recipient trusted what they installed. That incident is the canonical example of a software supply-chain attack, a technique that targets the processes and infrastructure creating software rather than the end-user application directly.

Four Vectors, One Trust Problem

A software supply chain encompasses every stage of the software lifecycle, from source code repositories to build automation systems to dependency managers, packaging infrastructure, and update delivery channels. Attackers who compromise a single trusted component gain the ability to propagate malicious code to thousands of downstream victims. The attack surface breaks down into four documented vectors, each defeating a different integrity check.

Build-system compromise occurs when attackers gain unauthorized access to the infrastructure that compiles and packages software, allowing them to insert malicious code into legitimate builds. The SolarWinds incident remained undetected for months because the backdoor was buried within the legitimate build process and carried a valid digital signature. Defense requires isolating build networks, enforcing multi-party authorization for changes, and implementing reproducible builds that verify a binary corresponds to its source code.

Dependency abuse exploits how programming languages resolve external libraries. Attackers register malicious packages with names similar to legitimate ones, a technique called typosquatting, or exploit dependency confusion when a public package shares a name with an internal private dependency. In 2021, North Korean threat actors uploaded malicious packages to the Rust crate registry with names resembling popular crates. Similar attacks have targeted the PyPI and npm repositories, where attackers publish packages with slight misspellings or inflated version numbers to exploit resolution preferences.

Continuous integration and continuous deployment pipelines automate the building, testing, and delivery of software, making them attractive targets. If an attacker compromises a service account or injects malicious code into pipeline configuration files, they can alter the build process to include malware in every artifact produced. Notable incidents have involved compromised Jenkins servers, poisoned GitHub Actions workflows, and manipulated Azure Pipelines configurations.

The final vector is code-signing and update-channel subversion. The 2017 NotPetya attack exemplified this approach when threat actors compromised the update mechanism of the Ukrainian tax software M.E.Doc, using its legitimate update channel to spread ransomware globally under the guise of a routine software update. Attackers subvert trust by stealing code-signing certificates, compromising update servers, or manipulating the update delivery process.

Etched circuit board after cleaning.jpg
Etched circuit board after cleaning.jpg — Photo: Tinux, CC0, via Wikimedia Commons

Making the Inventory Visible

Defenders have begun generating software bills of materials to track dependencies and detect unauthorized changes. An SBOM lists all components, libraries, and modules required to build a piece of software, turning an opaque build process into an auditable inventory. Organizations can compare SBOMs against curated threat feeds of known malicious packages to identify potential risks before deployment. Tools like syft can generate an SBOM in JSON format for a project, capturing direct and transitive dependencies that might otherwise go unnoticed.

Government and industry responses have accelerated adoption of these practices. Executive Order 14028, issued in 2021, mandated the use of SBOMs for federal software suppliers. The SLSA framework provides incremental security levels for build processes, while SPDX offers a standard format for SBOMs and OpenChain addresses supply-chain licensing compliance. These efforts reflect a growing recognition that supply-chain security requires end-to-end visibility into how software is built, distributed, and maintained.

Every assumption about software integrity must be re-examined at the point where code becomes a product.

Attack Vector Initial Access Typical Impact Detection Difficulty
Build-System Compromise Compromised build server Wide distribution of signed malware High (valid signatures conceal)
Dependency Abuse Malicious package upload Targeted infection via trusted dependencies Medium (registry monitoring helps)
CI/CD Hijacking Poisoned pipeline configuration Continuous artifact corruption Medium (config change monitoring)
Code-Signing & Update Channels Subverted update mechanism Malware distributed as legitimate updates High (trusted channel abuse)
Four supply-chain attack vectors compared by access method, impact, and detection difficulty — Research Library > Cybersecurity > Malware > Software Supply-Chain Attacks

The Defender’s Dilemma

Securing the software supply chain presents a unique challenge because defenders must protect processes that are inherently collaborative and automated, often spanning multiple organizations and geographic boundaries. Unlike traditional endpoint security, supply-chain defenses require coordination with third-party vendors, reliance on community-maintained infrastructure such as public package registries, and continuous vigilance against evolving abuse tactics.

The dilemma lies in balancing the need for rapid, automated software delivery with the controls necessary to detect and prevent unauthorized changes. Controls that introduce excessive friction into development workflows risk being circumvented by the developers they are meant to protect. The practical answer is to automate checks and place them inside the pipeline itself, treating supply-chain risk as shared across vendors, registries, and standards bodies.

The hardest compromise to detect is the one that never breaks the build.

Each attack vector defeats a different integrity check, so defenses are layered rather than interchangeable. Reproducible builds test whether a binary matches its source. Lock files and internal registries test whether a dependency is the one intended. Approval gates test whether pipeline logic changed. Multiple independent signatures test whether an update is authentic. An SBOM ties the layers together by making the component inventory visible before deployment. A program that performs only one of these checks leaves the other handoffs unverified.

Photo: Tinux, CC0, via Wikimedia Commons; Photo: Tinux, CC0, via Wikimedia Commons