Home / Learn Secure SQL / Dependency Scanning Overview

Dependency Scanning Overview

Checking your libraries, not just your own code, for known vulnerabilities.

Quick summaryChecking your libraries, not just your own code, for known vulnerabilities.

How to think about this

Dependency scanning in CICI pipeline runs onevery changedependency scannerchecks versions…flagsoutdated/vulnerable…
Dependency scanning in CI

The basic idea

Dependency scanning tools (npm audit, pip-audit, Dependabot, Snyk, and similar) check the third-party libraries your project depends on against databases of publicly known vulnerabilities, flagging outdated or vulnerable versions.

Why this comes up

A database driver, ORM, or validation library with a known vulnerability can undermine even perfectly-written application code; most real-world breaches involve at least one known, unpatched dependency somewhere in the chain.

The mechanics

Enable automated dependency scanning in your CI pipeline (many are free for open-source projects and inexpensive for private ones), and establish a process for promptly reviewing and applying flagged updates, especially for database drivers and ORMs.

Where it is used

  • Web application code review
  • Backend development
  • Database administration
EcosystemA relevant tool
Node.jsnpm audit, Dependabot
Pythonpip-audit, Dependabot
Rubybundler-audit
JavaOWASP Dependency-Check
Many ecosystemsSnyk, GitHub Dependabot

Quick check

1. Dependency scanning specifically checks...