Skip to content

Dependencies and supply chain

Editor
Engineering leadership

Engineers and tech leads.

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.

A CVE on a library you use becomes a ticket with an owner, not a thread that dies on Friday.

  1. When you add a dependency, follow the Engineering page first.
  2. When a vuln is published, open a ticket: package, severity, plan (upgrade / mitigate / exception).
  3. Ship the fix through the normal review and pipeline.
  4. If the package looks malicious or you cannot tell, report — do not “try it locally against prod data.”