Meet the New Common Vulnerability: Software Supply Chain Failures – How innocent third-party libraries can become widespread attack vectors, and what it means for your applications.
In the course of the security assessments we perform for our clients, we frequently encounter vulnerabilities that do not originate from code developed within the organization itself—but rather from external software components upon which the application relies. With the release of the candidate list for the 2025 OWASP Top 10, this category has taken center stage under A3 – Software Supply Chain Failures. What we have discovered in recent years, particularly through real-world incidents, illustrates just how tangible this risk is—even for mature, security-conscious organizations.
What are Software Supply Chain Failures?
How code you didn’t write directly impacts your system security
Modern applications rely heavily on third-party components: JavaScript libraries, npm packages, UI frameworks, CDN services, and more. A software supply chain failure occurs when one of these components is compromised—whether due to malicious code injection, a breach in the vendor’s development process, or an account takeover of a specific version—and the compromise spreads to every application using it. In today’s landscape, your system’s security level no longer depends solely on the code you wrote, but also on the standards, processes, and controls of every external entity from which you pull code.
Expectations vs. Reality
Why a UI or animation library can become an entry point
In most cases, third-party libraries are perceived as “low risk”: animations, design components, or UX helpers. However, in reality, any code running in the user’s browser—especially code loaded from an external CDN—gains full access to critical application data: cookies, local storage, or the DOM, which may contain sensitive information. When such a library is compromised, the attacker does not need to breach the organization’s own application; the malicious code simply “delivers itself.”
Real-Case Study: Supply Chain Attack on the lottie-player Library
How a popular library became a tool for crypto-theft
In late October 2024, a severe security incident was reported in the popular `@lottiefiles/lottie-player` library, used to display animations on thousands of websites and apps. In the last three versions of the library distributed consecutively via npm and public CDNs, malicious code was injected that caused websites to display a pop-up urging users to connect their crypto wallets. Users who approved the request or had previously connected their wallets lost control of their funds as they were drained by attackers. All of this happened without the website itself being breached and without the application developers changing a single line of code.
How did it happen? A token leakage from the npm account of one of the library’s creators allowed malicious actors to edit the code and distribute new versions containing the malware. While the incident was made public and the malicious versions were removed, the message was clear: using a “trusted” library became a direct attack vector against end users.
Implications for Organizations and Developers
Why no application is immune
This case illustrates a critical principle: even a seemingly negligible component—an animation, a UI element, or a visual effect—can be used by attackers to steal data, take over user accounts, and cause severe financial damage. Organizations that do not inspect, restrict, or verify code coming from third parties are exposed to horizontal vulnerabilities that affect their entire user base simultaneously.
Recommendations from IPV Security Experts
- Pinned Versions: Avoid using “latest” tags or dynamic loading of libraries. Define exact, audited versions.
- Subresource Integrity (SRI): When loading scripts or CSS from a CDN, define a cryptographic hash. Any change to the file will prevent it from being loaded by the browser.
- External Code Control: Minimize the use of external scripts in the browser, especially those with sensitive permissions.
- Periodic Dependency Review: Conduct regular reviews of your dependencies—not just your own code, but every external library and service.
- Dev/QA Awareness: Integrate supply chain security as an integral part of development, testing, and version approval processes.
Summary
The OWASP Top 10 2025 puts the supply chain at the forefront: A3 – Software Supply Chain Failures is not a theoretical threat. It is an active, sophisticated, and silent attack vector—one that bypasses organizational perimeters and strikes users directly. The way to address it is not just by writing secure code, but through the management, control, and verification of all code not authored by you. Organizations that recognize this early significantly reduce their attack surface and prevent the next incident before it occurs.
This topic is explained and demonstrated in the Secure Development (OWASP) lectures we provide to organizations following application penetration testing. During these lectures, actual findings from the test are presented and linked directly to vulnerabilities discovered in the organization’s own application. We present these to developers and QA teams in a practical and clear manner to improve development processes, reduce risk, and prevent the next security event.
Interested in infrastructure or application penetration testing? Contact the experts at IPV Security!
For a professional consultation, contact us at info@ipvsecurity.com or call 077-4447130.
IPV Security has specialized for 20 years in information security, cyber operations, risk assessments, and security-related standards and regulations.