> Documentation index: https://openhack.com/docs/llms.txt
> Agent guide: https://openhack.com/docs/agent.md

# Scan and fix dependencies

Run dependency scans, review vulnerable packages, open a fix pull request, and export dependency evidence.

Open your project in [OpenHack](https://app.openhack.com) and select **Supply Chain**. Connect its [GitHub repository](https://openhack.com/docs/platform/github) first. Dependency scanning and advanced fix actions depend on your organization's plan.

## Run a dependency scan [#run-a-dependency-scan]

1. Check the selected organization and project.
2. Choose **Run scan**.
3. Follow the scan in **Scan History** until it finishes.
4. Review the summary for the package count, severity counts, lockfiles included, and last scan time.

An empty result from an unfinished or failed scan is not evidence that dependencies are safe.

![Supply Chain dashboard with Run scan, vulnerability counts, Fix first, scan history, and SBOM.](https://openhack.com/docs/images/platform/acme/supply-chain.png)

_Start a scan from the header and check its state before reviewing results. Actual product screen with fictional ACME demo data._

## Review vulnerable packages [#review-vulnerable-packages]

Open a completed scan and select a package. Compare the installed version with the available fixed version. Read each vulnerability's evidence and severity before deciding on an upgrade. **New**, **Persisting**, and **Resolved** counts describe changes between scans; check the lockfile scope when comparing runs.

Use **Direct**, **Transitive**, or **All** to filter the package list. The dependency path shows how a package enters the project. Expand an advisory to review its identifier, severity, and available reference links. Under **Business impact**, use **Prepare assessments** when no assessment is available, then review the result against your application context.

![Dependency detail with a dependency path, installed and fixed versions, and an expanded advisory.](https://openhack.com/docs/images/platform/acme/dependency-detail.png)

_Review the package path and advisory before choosing an upgrade. Actual product screen with fictional packages and advisory data._

## Open a dependency fix pull request [#open-a-dependency-fix-pull-request]

1. Choose **Fix packages** in **Fix first** (the button includes the number of eligible packages), or open a scan to review individual packages.
2. Review the packages and select the upgrades you want. Packages need a known fixed version to be selectable for a fix.
3. Choose **Open Fix PR**.
4. Use **View Pull Request** to review the proposed dependency changes in GitHub.
5. Run your application's tests, review compatibility, and merge through your normal review process.
6. Run another dependency scan after the updated lockfiles reach the branch being analyzed.

![Dependency fix selection showing two proposed upgrades and Open fix PR.](https://openhack.com/docs/images/platform/acme/dependency-fix.png)

_Choose which upgrades to include. The demo has no live GitHub connection, so Open fix PR is disabled. Actual product screen with fictional ACME data._

Creating a pull request does not merge it or prove that an upgrade is compatible. If a fixed version is unavailable, investigate the package and mitigation options separately.

## Export evidence [#export-evidence]

Choose **SBOM** for a [CycloneDX dependency inventory](https://openhack.com/docs/platform/reports/sbom), or **Download PDF** on a completed scan for that run's PDF. Check the project and scan date in the downloaded file.

## Review container image results [#review-container-image-results]

The **Container Images** section lists uploaded image scan results separately from repository lockfile scans. Use its refresh action after a new result has been uploaded, then inspect the image and package findings. The setup disclosure in the application explains how your team can supply image results; a repository dependency scan does not automatically scan your built container images.