mise audit
- Usage:
mise audit [-J --json] [--no-header] [TOOL@VERSION]… - Effect: read-only
- Source code:
src/cli/audit.rs
Check tool versions for known vulnerabilities
Looks up each tool version the current config uses in the OSV.dev vulnerability database and lists the advisories that affect it. Exits with status 1 when it finds any. Run mise upgrade --vulnerable to upgrade only the affected tools.
Package registry tools (npm, pipx, cargo, gem, go, dotnet) are looked up by package name. Tools released from GitHub (github, aqua, packslip) are looked up by repository and release tag, and Go programs also as Go modules. Of the core tools, go, node, python, deno, bun and erlang are covered. Other tools are listed as not checked.
Arguments
[TOOL@VERSION]…— Tools to check, such asnodeornode@20Checks every tool in the current config when omitted.
Flags
-J --json— Output in JSON format--no-header— Do not print the table header-h --help— Print help
Examples
Check every tool in the current config
mise audit
Tool Version ID Severity Fixed Summary
npm:lodash 4.17.15 GHSA-35jh-r3h4-6jhm high 4.17.21 Command Injection in lodash
go 1.22.0 GO-2024-2887 - 1.22.4 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netipCheck only some tools
mise audit node pythonPrint the advisories as JSON
mise audit --json