The hard part is the lockfile. Regenerating one means running the package manager, which can execute install scripts from the very dependencies under suspicion; editing one by hand risks a lockfile the package manager would not have written.
How TrustIvan relates to it
From a vulnerability finding, TrustIvan opens one pull request per package on github.com repositories for npm, Go modules and pip requirements, listing every open finding the bump clears. It runs no package manager: a lockfile is edited only where the result is provably what the package manager would write, and otherwise the pull request says which command to run.
Related terms
- Software composition analysis (SCA) Software composition analysis (SCA) identifies the third-party and open-source components inside an application or artifact, then reports the known vulnerabilities and license obligations attached to each one.
- Shift left Shift left is the practice of moving security checks earlier in the software delivery process, into design, coding, pull requests and CI, so that problems are found when they are cheapest and quickest to fix.
- Remediation SLA A remediation SLA (service-level agreement, or target) is the maximum time an organization allows between discovering a vulnerability and fixing it, usually set per severity level and measured per finding.
- Software supply chain security Software supply chain security is the discipline of protecting everything that goes into producing and delivering software, including third-party dependencies, source repositories, build systems, artifacts and the path they take to production.
On the platform: Code Security. All glossary terms