REPOMATIC-AUDIT(1) REPOMATIC-AUDIT(1)

repomatic audit - Report (and optionally fix) vulnerable dependencies

repomatic audit [OPTIONS]

Scan locked dependencies for known security vulnerabilities.

Read-only by default: queries every advisory database enabled in
[tool.repomatic] vulnerable-deps.sources (default: uv-audit and
github-advisories), unions and deduplicates the results, and prints
them. The GitHub Advisory Database needs a repository, so it is skipped
without --repo. The table respects the global --table-format option
(github, json, csv, etc.), so --table-format json yields a
machine-readable report. Report mode exits 1 when any vulnerability is
found (use --exit-zero to override), so it can gate CI.

With --fix, upgrades each fixable package with uv lock --upgrade-package
and:

- bypasses the exclude-newer cooldown for security fixes
- persists exclude-newer-package entries in pyproject.toml
- prints a markdown report of vulnerabilities and version changes

Path to the uv.lock file.
Repository in owner/repo format, for the GitHub Advisory Database source. Defaults to $GITHUB_REPOSITORY.
Upgrade fixable packages and persist cooldown exemptions (mutates uv.lock and pyproject.toml). Default: report only.
In report mode, exit 0 even when vulnerabilities are found.
Write a markdown report to this file.
Format of the --output file. github-actions writes step outputs, for $GITHUB_OUTPUT.
Sort table by this column. Repeat to set priority.
Show this message and exit.

Path to the uv.lock file.
Repository in owner/repo format, for the GitHub Advisory Database source. Defaults to $GITHUB_REPOSITORY.
Repository in owner/repo format, for the GitHub Advisory Database source. Defaults to $GITHUB_REPOSITORY.
Upgrade fixable packages and persist cooldown exemptions (mutates uv.lock and pyproject.toml). Default: report only.
In report mode, exit 0 even when vulnerabilities are found.
Write a markdown report to this file.
Format of the --output file. github-actions writes step outputs, for $GITHUB_OUTPUT.
Sort table by this column. Repeat to set priority.
Show this message and exit.

0
Success.
1
A runtime error, an aborted prompt (Ctrl-D), or a declined confirmation.
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
130
Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.

Report known vulnerabilities (read-only)

repomatic audit

Machine-readable output

repomatic \-\-table\-format json audit

Upgrade fixable packages (mutates uv.lock and pyproject.toml)

repomatic audit \-\-fix

CI autofix job: write the markdown report as a step output

repomatic audit \-\-fix \-\-repo owner/name \-\-output "$GITHUB_OUTPUT" \-\-output\-format github\-actions

Kevin Deldycke

2026-10-29 8.0.1.dev0