← Web Application Security (OWASP) learning path
Web Application Security (OWASP) · Module 8 of 10

Vulnerable components and supply chain

Keep third-party libraries safe and updated.

📖 Key ideas

  1. Most apps depend on many open-source packages.
  2. Track dependencies and update them regularly.
  3. Use tools: npm audit, Dependabot, Snyk, OWASP Dependency-Check.
  4. Pin versions with lock files; review new packages before adding.
  5. Generate an SBOM (software bill of materials).
💡 Real-life example: Dependencies are ingredients from suppliers: check expiry dates and recalls before cooking.
DependencyThird-party package used by your app
DependabotAutomated dependency update tool
Lock filePins exact versions
SBOMSoftware Bill of Materials