Home / Learn Secure SQL / Dependency Scanning Overview
Dependency Scanning Overview
Checking your libraries, not just your own code, for known vulnerabilities.
How to think about this
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
| Ecosystem | A relevant tool |
|---|---|
| Node.js | npm audit, Dependabot |
| Python | pip-audit, Dependabot |
| Ruby | bundler-audit |
| Java | OWASP Dependency-Check |
| Many ecosystems | Snyk, GitHub Dependabot |
Quick check
1. Dependency scanning specifically checks...
Known vulnerabilities in dependencies.