The post has been translated automatically. Original language: Russian
Modern development has long ceased to be written from scratch. To launch a web service or mobile application, an engineer connects dozens of ready-made libraries from npm, PyPI or Maven — and each of them imperceptibly pulls hundreds more packages from others.
The scale of this dependence is clearly visible in the annual reports of Black Duck (formerly Synopsys) Open Source Security and Risk Analysis (OSSRA). An audit of thousands of real commercial projects has shown that 96-97% of corporate codebases contain open source components.
Open source itself is the engine of the industry, but the problem lies in how it is managed. According to OSSRA, 84-86% of the tested codebases contained at least one known vulnerability in open packages, and 74-81% of projects found high- or critical-risk vulnerabilities.
The root of the problem is rarely associated with sophisticated zero-day hacks. In 91% of the codebases, researchers found components that were ten or more releases behind the current version, or "zombie libraries" that had not been supported by the authors for years. The vulnerability fix was released a long time ago — the team simply forgot to update the package.
Even more dangerous are transitive dependencies — libraries of the third and fourth levels of nesting, the existence of which developers do not even realize. With the massive introduction of AI assistants for code generation, the situation has worsened: models often substitute outdated or non-existent package names into the code.
How do mature teams build Software Supply Chain protection without stopping releases? The industry is shifting to three basic practices:
- SBOM (Software Bill of Materials) is an automatic "composition specification" of an application that accurately shows all direct and nested packages and their licenses.;
- Automatic SCA scanner in CI/CD (Trivy, Dependabot, Snyk, OWASP Dependency-Check), which blocks the build when critical CVEs appear.;
- The policy is to regularly update dependencies once per sprint, as long as the version gap is small and does not require painful refactoring.
For fintechs, banks and SaaS startups in Kazakhstan, the availability of pure SBOM and automatic dependency verification is increasingly becoming a mandatory item in technical audits with corporate customers and regulators.
Does your team already have an automatic vulnerability scanner for third—party packages in CI/CD - or are dependencies updated only when something breaks? Share it in the comments.
Sources:
Современная разработка давно перестала писаться с нуля. Чтобы запустить веб-сервис или мобильное приложение, инженер подключает десятки готовых библиотек из npm, PyPI или Maven — а каждая из них незаметно тянет за собой еще сотни чужих пакетов.
Масштаб этой зависимости хорошо виден в ежегодных отчетах Black Duck (ранее Synopsys) Open Source Security and Risk Analysis (OSSRA). Аудит тысяч реальных коммерческих проектов показал, что 96–97% корпоративных кодовых баз содержат компоненты с открытым исходным кодом.
Сам по себе open source — двигатель индустрии, но проблема кроется в том, как им управляют. По данным OSSRA, 84–86% проверенных кодовых баз содержали как минимум одну известную уязвимость в открытых пакетах, а в 74–81% проектов нашли уязвимости высокого или критического уровня риска.
Корень проблемы редко связан с изощренными взломами «нулевого дня». В 91% кодовых баз исследователи обнаружили компоненты, которые отстали от актуальной версии на десять и более релизов, либо «зомби-библиотеки», которые не поддерживаются авторами годами. Исправление уязвимости давно вышло — команда просто забыла обновить пакет.
Еще опаснее транзитивные зависимости — библиотеки третьего и четвертого уровня вложенности, о существовании которых разработчики даже не догадываются. С массовым внедрением ИИ-помощников для генерации кода ситуация обострилась: модели нередко подставляют в код устаревшие или несуществующие названия пакетов.
Как зрелые команды выстраивают защиту цепочки поставок ПО (Software Supply Chain) без остановки релизов? Индустрия переходит на три базовые практики:
- SBOM (Software Bill of Materials) — автоматическая «спецификация состава» приложения, которая точно показывает все прямые и вложенные пакеты и их лицензии;
- Автоматический SCA-сканер в CI/CD (Trivy, Dependabot, Snyk, OWASP Dependency-Check), который блокирует сборку при появлении критических CVE;
- Политика регулярного обновления зависимостей раз в спринт, пока разрыв версий небольшой и не требует болезненного рефакторинга.
Для финтехов, банков и SaaS-стартапов Казахстана наличие чистого SBOM и автоматической проверки зависимостей все чаще становится обязательным пунктом на техническом аудите у корпоративных заказчиков и регуляторов.
В вашей команде уже работает автоматический сканер уязвимостей сторонних пакетов в CI/CD — или зависимости обновляются только когда что-то ломается? Поделитесь в комментариях.
Источники:
Comments 0
Newest Popular