> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# dependency-known-vulnerability

> A resolved dependency version is listed in a published vulnerability advisory.

## What it flags

A locked package version has published advisories. One finding per package and version lists the advisory ids and the highest severity. When the reported ranges and affected versions establish an upgrade that clears every advisory, the finding suggests `npm install pkg@fixed` for a direct dependency, or an overrides or resolutions entry for a transitive one. Development-only dependencies are contextual.

For `package-lock.json` and `npm-shrinkwrap.json`, the finding also lists the resolved dependency path to each reachable transitive occurrence of the affected version: the message appends a `Dependency paths:` list, and JSON reports carry `package.dependencyPaths` entries with `project`, `location` and `dependencies`. Packages from `Cargo.lock`, `deno.lock` and `bun.lock` report `productionReachability: "unknown"`.

Records connected by OSV aliases count as one advisory. The report uses the highest known severity among those records. A record's database severity takes precedence over its CVSS vector. When an advisory has neither a recognized database severity nor a usable CVSS v4 or v3 vector, its reported severity is `unknown` and it counts as medium for impact filtering.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "dependency-known-vulnerability": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.