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

# Dependency risks

> Understand which dependency changes Gitar checks and how to resolve findings

During code review, Gitar checks dependency versions a pull request adds or updates for known vulnerabilities and malicious packages. It reports risks introduced by the PR. An advisory already present on the target branch stays out of the findings, even if the PR changes the package version.

This type of check is called software composition analysis (SCA).

Dependency risk checks run automatically during code review for US-hosted organizations on plans that include code review.

## What Gitar checks

Gitar checks exact versions from npm, PyPI, Maven, Go, Cargo, NuGet, RubyGems, and Composer. It skips unsupported ecosystems and version ranges that do not resolve to an exact version in the changed files.

The check is limited to dependency changes in the PR. If the check fails or times out after 60 seconds, the review continues without dependency findings or a **Dependencies** row.

## Read and resolve findings

Gitar reports one security finding for each affected package version. The finding links the advisory IDs to OSV, shows the highest severity, and recommends a fixed version when one is available.

If the PR changes the line that declares the dependency, the finding points to that line. A lockfile-only change can produce a file-level finding on the lockfile. For a transitive dependency, the finding shows the dependency chain when available.

Push a fix that removes the affected dependency or updates it to a version that clears the reported risk. The next review resolves the finding when it verifies the fix. A version change confined to a lockfile can also trigger a review. To respond or dismiss a finding, follow the normal [Providing feedback](https://docs.gitar.ai/features/code-review.md#providing-feedback) flow.


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