Dependencies and supply chain
Who this is for
Section titled “Who this is for”Engineers and tech leads.
When to use it
Section titled “When to use it”When you add or upgrade a dependency, or a vulnerability is published.
- Must: Do not ignore a known critical vulnerability in production dependencies. Patch, mitigate, or write an exception with an expiry.
- Must: Install from the project’s normal registry and lockfile. Do not paste tarballs or unknown forks into prod to “just get it working.”
- Must: Choosing whether to add a library is Choosing tools and dependencies. This page is what happens after it is in the tree.
- Should: Run the project’s dependency audit in CI or on a cadence the team can explain.
- Should: Prefer a patched upgrade of what you already use over adding a second library that “avoids” the CVE.
- Team decides: Scanner product, fail-the-build threshold, and who owns the weekly (or release-time) review.
What good looks like
Section titled “What good looks like”A CVE on a library you use becomes a ticket with an owner, not a thread that dies on Friday.
What to do
Section titled “What to do”- When you add a dependency, follow the Engineering page first.
- When a vuln is published, open a ticket: package, severity, plan (upgrade / mitigate / exception).
- Ship the fix through the normal review and pipeline.
- If the package looks malicious or you cannot tell, report — do not “try it locally against prod data.”