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 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/NAME format. Enables 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 for --output. github-actions produces format for PR template consumption in workflows.
Sort table by this column. Repeat to set priority.
Show this message and exit.

Path to the uv.lock file.
Repository in OWNER/NAME format. Enables the GitHub Advisory Database source. Defaults to $GITHUB_REPOSITORY.
Repository in OWNER/NAME format. Enables 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 for --output. github-actions produces format for PR template consumption in workflows.
Sort table by this column. Repeat to set priority.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

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-09-14 7.15.1.dev0