Skip to content

Vulnerable dependencies found in the codebase

Modern websites are built using many third-party code libraries, called dependencies, and this check cross-references the ones this site uses against OSV.dev, a public database of known vulnerabilities in open-source software. On this site's repository, one or more dependencies with known vulnerabilities were detected. A vulnerability in a dependency the site relies on is a vulnerability in the site itself, even though nobody on the team wrote that code directly. This is called a supply-chain risk, and it's a growing category of real-world attacks, since a flaw discovered in one widely used library can suddenly affect thousands of unrelated sites that happen to depend on it. Your developer should update the vulnerable dependencies using the package manager's built-in audit-fix command, such as npm audit fix, or the equivalent for the language in use, and add an automated tool like Dependabot or Renovate so future vulnerabilities in dependencies get flagged and proposed for update automatically, rather than requiring someone to remember to check.

Why this matters

A vulnerability in a dependency the site relies on is a vulnerability in the site itself, even though nobody on the team wrote that code directly. This is called a supply-chain risk, and it's a growing category of real-world attacks, since a flaw discovered in one widely used library can suddenly affect thousands of unrelated sites that happen to depend on it.

How to fix it

Your developer should update the vulnerable dependencies using the package manager's built-in audit-fix command, such as npm audit fix, or the equivalent for the language in use, and add an automated tool like Dependabot or Renovate so future vulnerabilities in dependencies get flagged and proposed for update automatically, rather than requiring someone to remember to check.