Unlocking security updates for transitive dependencies with npm
Blog post from GitHub
Dependabot, a tool for automating security updates in software dependencies, has expanded its capabilities to address vulnerabilities in transitive dependencies, which are indirect dependencies within a project's dependency graph. Previously, developers had to manually update chains of ancestor dependencies when vulnerabilities were detected in transitive dependencies. By leveraging npm's audit functionality, Dependabot can now resolve these vulnerabilities more efficiently by identifying and updating only the necessary dependencies without causing unnecessary changes. This enhancement has significantly reduced update-not-possible errors, particularly in JavaScript projects, where more than 80% of Dependabot's security updates occur. With the rollout of this feature in September 2022, Dependabot users benefit automatically, and plans are in place to extend similar functionality to other package managers as they develop comparable features.