PackageTrack
Sign in Get early access

cargo-audit

Audit Cargo.lock for crates with security vulnerabilities

0.22.2 11M downloads/mo #2987 most downloaded on crates.io rustsec/rustsec

What this package is like to depend on

Last release 2 months ago

05 Jun 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 51 of 54 stable releases

1 version withdrawn

withdrawn after publishing

10 years old

60 releases · first in 2017

3 releases in the last 12 months

see the full history below

Release timeline

60 releases · Feb 2017 to Jun 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60
  1. 0.22.2 05 Jun 2026
    Release notes

    What's Changed

    • Disable embedded file timestamps in rust-embed by @kpcyrd in #1554
    • rustsec: avoid warning about packages that are not from crates.io by @djc in #1573
    • cargo-audit: add CLI option to skip checking for yanked crates by @djc in #1574
    • cargo-audit: cap input size for audit bin by @glaziermag in #1516
    • Show affected functions in binaries by @smoelius in #1542
    • cargo-audit: when run with -q, suppress dependency trees by @djc in #1587
    • build(deps): bump object from 0.38.1 to 0.39.0 by @dependabot[bot] in #1589
    • Affected binary tweaks by @djc in #1588
    Open source →
  2. 0.22.1 04 Feb 2026

    Nothing published for this version

  3. 0.22.0 07 Nov 2025

    Nothing published for this version

  4. 0.21.2 28 Feb 2025
    Release notes

    Fixed

    • Upgraded to rustsec v0.30.2 to fix an incompatibility with Rust v1.85 and later (#1333)
    Open source →
  5. 0.21.1 19 Jan 2025
    Release notes

    Fixed

    • Upgraded cargo-lock to fix an issue with Cargo.lock v4 format parsing in presence of git tags (#1298)
    • Fix handling of the database.fetch configuration option (#1302)
    Open source →
  6. 0.21.0 29 Oct 2024
    Release notes

    Added

    • V4 lockfile support (#1275)
    • cargo audit bin can now audit WebAssembly (#1182)
    • cargo audit now honors the CARGO_TERM_COLOR environment variable (#1207)
    • Allow specifying multiple --target-os and --target-arch flags (#1185)

    Changed

    • Bump auditable-info => 0.8; auditable-serde => v0.7 (#1229)
    • Bump abscissa to v0.8 (#1262)
    • Bump rustsec to v0.30; adds V4 lockfile support (#1275)
    Open source →
  7. 0.21.0-rc.0 16 Oct 2024 pre-release

    Nothing published for this version

  8. 0.21.0-pre.0 30 Jul 2024 pre-release

    Nothing published for this version

  9. 0.20.1 16 Aug 2024
    Release notes

    Fixed

    Open source →
  10. 0.20.0 16 Feb 2024
    Release notes

    Changed

    • Completely rewritten cargo audit fix subcommand (#1113)
      • Now it edits Cargo.lock as opposed to Cargo.toml, and performs only semver-compatible upgrades.
      • Fixes are performed by calling cargo update, migrating away from the unmaintained cargo-edit-9 crate.
      • The subcommand is still experimental, and its behavior may change in the future. It still requires enabling the non-default fix feature.
    • Require tame-index 0.9.3 or later, fixing issues with some enterprise firewalls. (#1103)
    Open source →
  11. 0.19.0 03 Feb 2024
    Release notes

    Fixed

    • Fix --color=auto always printing terminal escape sequences (#1057)

    Changed

    • Display the chain of errors instead of just the top-level error for more complete error reporting (#1063)
    • Upgrade to clap 4.x and abscissa-core 0.7.x. This may have introduced minor changes to the command-line interface. This is the reason for the minor version bump. (#1092)
    Open source →
  12. 0.18.3 24 Oct 2023
    Release notes

    Fixed

    • Fix a deadlock when the Cargo.lock file is missing. It only occurs with rustsec v0.28.3 or later. (#1051)
    Open source →
  13. 0.18.2 25 Sep 2023
    Release notes

    Fixed

    Open source →
  14. 0.18.1 31 Aug 2023
    Release notes

    Fixed

    • Release workflow: don't enable fix and vendored-openssl features (#980)
    Open source →
  15. 0.18.0 31 Aug 2023
    Release notes

    Added

    • Implement proper attribution for advisories licensed under CC-BY (#955)
    • cargo audit bin no longer shows warnings not applicable to the binary type (e.g. no more reports of Windows-only unsoundness in ELF binaries). Previously this was implemented for vulnerabilities, but not warnings. (#964)

    Changed

    • Upgraded to rustsec v0.28, bringing performance, security and compatibility improvements, but also temporarily dropping support for CPU platforms other than x86 and ARM. See the rustsec changelog for details.
    Open source →
  16. 0.18.0-rc.1 31 Aug 2023 pre-release

    Nothing published for this version

  17. 0.17.6 10 May 2023
    Release notes

    Added

    • Upgraded to cargo-lock v9.0.0, which enables support for sparse registries.
    • When scanning binary files, the binary's platform is taken into account. This prevents scenarios such as Windows-only vulnerabilities being reported on Linux binaries ([#814])

    Fixed

    • Advisories about cargo audit itself are no longer printed multiple times when scanning multiple files (#848)
    Open source →
  18. 0.17.5 23 Mar 2023
    Release notes

    Added

    • Vulnerability severity is now included in the cargo audit output, if known (#825)

    Changed

    • Advisories marked informational = unsound are now reported by default, but only as warnings (#819). They do not cause the audit to fail, i.e. the exit code of the process is still 0. This behavior can be suppressed through the configuration file.

    Fixed

    • The help text now correctly refers to the command as cargo audit instead of cargo audit audit (#824)
    • The --version argument now works correctly, reporting the current version (#838)
    Open source →
  19. 0.17.4 08 Nov 2022
    Release notes

    Fixed

    • Checks for yanked crates were broken since 0.17.0. This release restores them and adds tests to prevent future regressions.

    Changed

    • Binary scanning is enabled by default and documented as such. It can still be disabled by disabling the binary-scanning feature.
    Open source →
  20. 0.17.3 01 Nov 2022
    Release notes

    Added

    • cargo audit bin now attempts to detect dependencies in binaries not built with cargo auditable by parsing the panic messages (#729). This only detects about a half of the dependency list and never detects C code such as OpenSSL, but works on any Rust binaries built with cargo.
    • Added integration tests for the --deny=warnings flag.

    Fixed

    • cargo audit bin --deny=warnings no longer exits after finding the first binary with warnings.

    Changed

    • Up to 5x faster cargo audit bin when scanning multiple files thanks to caching crates.io index lookups (implemented in rustsec crate).
    • Notices about cargo audit or rustsec will now result in a scanning error being reported (exit code 2) as opposed to reporting them as vulnerabilities in the scanned binary (exit code 1). They are treated as warnings by default, so --deny=warnings is required to observe the new behavior.
    • The binary-scanning feature that adds the cargo audit bin subcommand is now enabled by default, but is not documented as such.
    Open source →
  21. 0.17.2 06 Oct 2022
    Release notes

    Changed

    • Fixed the screenshot URL in README.md
    Open source →
  22. 0.17.1 06 Oct 2022
    Release notes

    Added

    Open source →
  23. 0.17.0 23 May 2022
    Release notes

    Changed

    • Update Abscissa to 0.6; replace gumdrop with clap v3 (#525)
    • 2021 edition upgrade (#539)
    • MSRV 1.57 (#539, #574)
    • Bump rustsec to v0.26 (#574)

    Fixed

    • Terminal output fixups (#570)

    Removed

    • Unused lazy_static from dependencies (#500)
    • Deprecated --deny-warnings CLI option (#545)
    Open source →
  24. 0.16.0 15 Nov 2021
    Release notes

    Changed

    • Bump rustsec dependency to v0.25; MSRV 1.52 (#480)

    Fixed

    • Parse --color=auto correctly (#436)
    Open source →
  25. 0.15.2 12 Sep 2021
    Release notes

    Added

    • vendored-libgit2 feature (#432)
    Open source →
  26. 0.15.1 10 Sep 2021
    Release notes

    Changed

    • Pin thiserror and zeroize to avoid MSRV breakages (#415)
    Open source →
  27. 0.15.0 01 Jul 2021
    Release notes

    Added

    • New exit status (2) for Cargo.lock parsing errors (#368)

    Changed

    • Bump rustsec crate dependency to v0.24 (#388)
    Open source →
  28. 0.14.1 29 Apr 2021
    Release notes

    Added

    • Generate release builds with github actions (#337)

    Changed

    • Bump rustsec from 0.23.2 to 0.23.3 (#333)
    Open source →
  29. 0.14.0 08 Mar 2021
    Release notes

    Changed

    • When running in no-fetch mode, allow accessing a non-git repo (#315)
    • Enable informational warnings with deny (#320)
    • Bump rustsec dependency to v0.23 (#327)
    • MSRV 1.46+ (#327)
    Open source →
  30. 0.13.1 27 Oct 2020
    Release notes

    Changed

    • Split -D/--deny and --deny-warnings (#278)
    • Bump rustsec crate to v0.22.2 ([#277])

    Fixed

    • JSON serialization ([#277])
    Open source →
  31. 0.13.0 26 Oct 2020 withdrawn
    Release notes

    Added

    • Support for project specific config directories (#252)

    Changed

    • Bump rustsec crate to v0.22; MSRV 1.41+ (#271)
    • JSON report format changes (#271)
    • Presenter improvements (#268)
    • Make warning types an argument (#206)

    Fixed

    • fix --dry-run no longer requires argument (#231)
    Open source →
  32. 0.12.1 22 Sep 2020
    Release notes
    • Pin smol_str to v0.1.16 to ensure MSRV 1.41 compatibility (#255, #258)
    Open source →
  33. 0.12.0 06 May 2020
    Release notes
    • Update rustsec crate to v0.20 (#221)
    • Regenerate lockfile after cargo audit fix (#219)
    • Update dependencies; MSRV 1.40+ (#216)
    Open source →
  34. 0.11.2 07 Feb 2020
    Release notes
    • Improve yanked crate auditing messages and config (#200)
    • Fix -c/--color command line argument (#199)
    Open source →
  35. 0.11.1 24 Jan 2020
    Release notes
    • Add vendored-openssl feature (#193)
    Open source →
  36. 0.11.0 23 Jan 2020
    Release notes
    • Update rustsec crate to v0.17 release; MSRV 1.39+ (#186, #188)
    • Warn for yanked crates (#180)
    • Respect sources of dependencies when auditing (#175)
    • Upgrade to abscissa v0.5 (#174)
    • cargo audit fix subcommand (#157, #166, #181)
    Open source →
  37. 0.10.0 14 Oct 2019
    Release notes
    • Upgrade rustsec to v0.16; new self-audit system (#155)
    • Upgrade to Abscissa v0.4; MSRV 1.36 (#154)
    Open source →
  38. 0.9.3 08 Oct 2019
    Release notes
    • Update to rustsec crate v0.15.2 (#149)
    • presenter: Cleanups for informational advisories (#148)
    • presenter: Print better message when no solution is available (#144)
    Open source →
  39. 0.9.2 01 Oct 2019
    Release notes
    • Update to rustsec crate v0.15 (#138)
    Open source →
  40. 0.9.1 26 Sep 2019
    Release notes
    • Update to rustsec crate v0.14.1 (#134)
    Open source →
  41. 0.9.0 25 Sep 2019
    Release notes
    • Add --deny-warnings option (#128)
    • Upgrade to rustsec crate v0.14 (#126)
    • Configuration file: ~/.cargo/audit.toml (#123, #125)
    • Fix --help (#113)
    • Warn for outdated rustsec crate versions (#112)
    • Display warnings for select informational advisories (#110)
    • Display dependency trees with each advisory (#109)
    Open source →
  42. 0.9.0-beta2 24 Sep 2019 pre-release

    Nothing published for this version

  43. 0.9.0-beta1 09 Sep 2019 pre-release

    Nothing published for this version

  44. 0.8.1 25 Aug 2019
    Release notes
    • Fix --version (#101)
    Open source →
  45. 0.8.0 16 Aug 2019
    Release notes
    • Use the Abscissa application framework (#85, #87, #92, #94)
    • Implement --no-fetch (#97)
    • Add support for reading lockfiles from STDIN (#98)
    Open source →
  46. 0.7.0 15 Jul 2019
    Release notes
    • Switch from term to termcolor crate (#83)
    • Update gumdrop to v0.6, rustsec crate to v0.12; min Rust 1.32+ (#82)
    • Produce valid JSON when no vulnerabilities are detected (#77)
    • Implement --ignore option (#75)
    Open source →
  47. 0.6.1 16 Dec 2018
    Release notes
    • Fix option parsing (#64)
    Open source →
  48. 0.6.0 15 Dec 2018
    Release notes
    • Update to Rust 2018 edition (#61)
    • Update to rustsec crate v0.10 (#59)
    • Prevent --help from exiting with error (#57)
    • Add --json flag for JSON output (#41)
    Open source →
  49. 0.5.2 29 Jul 2018
    Release notes
    • Have cargo audit version exit with status 0 (#38)
    Open source →
  50. 0.5.1 29 Jul 2018
    Release notes
    • Refactoring and UI improvements (#37)
    Open source →
  51. 0.5.0 29 Jul 2018
    Release notes
    • Upgrade rustsec crate to 0.9 (#36)
    Open source →
  52. 0.4.0 24 Jul 2018
    Release notes
    • Honor the affected_platforms attribute (#35)
    • Update rustsec crate dependency to 0.8 series (#34)
    • Update term crate dependency to 0.5 series (#31)
    Open source →
  53. 0.3.2 23 Jul 2018
    Release notes
    • README.md: Use <img> tag for screenshot so it renders on crates.io (#28)
    Open source →
  54. 0.3.1 23 Jul 2018
    Release notes
    • Use OR delimiter to display patched versions (#25)
    • Fix cargo audit --version (#24)
    Open source →
  55. 0.3.0 23 Jul 2018
    Release notes
    • Near rewrite of cargo-audit using rustsec 0.7.0 (#22)
    Open source →
  56. 0.2.1 24 Sep 2017
    Release notes
    • Use crate isatty to resolve Windows build errors (#14)
    Open source →
  57. 0.2.0 06 Mar 2017
    Release notes
    • Upgrade to rustsec 0.6.0 crate (#12)
    • Configurable colors (#10)
    • Avoid panicking if there are no dependencies (#8)
    • Handle error and instruct the user to generate a lockfile before audit (#6)
    Open source →
  58. 0.1.1 27 Feb 2017
    Release notes
    • Make cargo-audit a proper cargo subcommand (#2)
    Open source →
  59. 0.1.0 27 Feb 2017
    Release notes
    • Initial release
    Open source →
  60. 0.0.0 07 Feb 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive