Skip to main content

CargoScope

One offline report for the dependencies of a Rust project.

Crates.io PyPI CI License: MIT

Install · Usage · GitHub Action · Documentation


cargoscope scan in a terminal

What it checks

Check What you get Instead of
Advisories RustSec, plus GitHub advisories and malicious crates from OSV, ranked by whether your build is exposed: affects-you, possibly, unlikely cargo-audit
Unused dependencies Static analysis, or checked by the compiler with --precise cargo-machete, cargo-shear
Policy Licenses, bans and sources, read from cargoscope.toml or your deny.toml cargo-deny
Versions Compatible and breaking updates, yanked crates, recent releases, duplicates, maintenance cargo-outdated
Unsafe code unsafe blocks, functions and impls of every dependency, counted from its sources cargo-geiger
Audits Which versions Mozilla, Google and others reviewed with cargo-vet cargo-vet
Fixes Dry-run edits to Cargo.toml and Cargo.lock, or pull requests from the Action Dependabot

Nothing runs from your dependencies, and nothing touches the network unless you run cargoscope update.

Install

cargo install cargoscope
Other ways to install
# macOS and Linux, prebuilt binary
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/HarpeLm/CargoScope/releases/latest/download/cargoscope-installer.sh | sh

# Homebrew
brew install HarpeLm/tap/cargoscope

# npm
npx cargoscope scan . --update

# PyPI
pip install cargoscope
# Windows, prebuilt binary
irm https://github.com/HarpeLm/CargoScope/releases/latest/download/cargoscope-installer.ps1 | iex
# Docker (use the :full tag for fix and --precise)
docker run --rm -v "$PWD:/src" -v cargoscope-cache:/cache ghcr.io/harpelm/cargoscope update .
docker run --rm -v "$PWD:/src" -v cargoscope-cache:/cache ghcr.io/harpelm/cargoscope scan .
# GitLab CI
cargoscope:
  image:
    name: ghcr.io/harpelm/cargoscope:0.10.0
    entrypoint: [""]
  script:
    - cargoscope update .
    - cargoscope scan . --format sarif --output cargoscope.sarif --fail-on high

Usage

cargoscope update             # download RustSec, OSV and crates.io data once
cargoscope scan               # the report, offline

cargoscope fix                # remove unused dependencies (dry run, --apply to write)
cargoscope fix --advisories   # update vulnerable crates
cargoscope fix --updates      # update outdated dependencies

cargoscope why serde          # why a crate is in the tree
cargoscope init --ci          # create cargoscope.toml and a CI workflow

Reports also come as --format json, sarif, html or cyclonedx.
Two-minute walkthrough · All commands

GitHub Action

- uses: HarpeLm/CargoScope@v0.10.0
  with:
    fail-on: high

Scans every pull request, and can open security and update pull requests on a schedule.
Action documentation

Benchmarks

Median offline scan Advisories vs cargo-audit Policy vs cargo-deny Unused precision
22 ms 1,376 / 1,376 (--rustsec-only) 44 / 44 100% with --precise

Methodology and raw results

Documentation

Commands · GitHub Action · Policy · JSON report · Compatibility · Security · Changelog


Contributions and false-positive reports are welcome: CONTRIBUTING.md · feedback issue

MIT License

Metadata

Release files for cargoscope 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cargoscope 0.10.0
File Size Uploaded Provenance Actions
cargoscope-0.10.0.tar.gz 318.1 kB With provenance Details for cargoscope-0.10.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for cargoscope 0.10.0
File Actions
cargoscope-0.10.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for cargoscope-0.10.0-py3-none-win_amd64.whl
cargoscope-0.10.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for cargoscope-0.10.0-py3-none-musllinux_1_2_x86_64.whl
cargoscope-0.10.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for cargoscope-0.10.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
cargoscope-0.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for cargoscope-0.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
cargoscope-0.10.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for cargoscope-0.10.0-py3-none-macosx_11_0_arm64.whl
cargoscope-0.10.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for cargoscope-0.10.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 37.8 MB

Release files / cargoscope-0.10.0.tar.gz

Download URL cargoscope-0.10.0.tar.gz
Size 318.1 kB
Tags Source
SHA-256 checksum
How to use checksums
99049de2ba560b4f8430383a486eeed162940fc0353ac73076ddf039c4134836
BLAKE2b-256 checksum
How to use checksums
5e3127bc0635c3795aae52b53adeab34488fea28c6fb438f8422dfd1fcd16c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-win_amd64.whl

Download URL cargoscope-0.10.0-py3-none-win_amd64.whl
Size 5.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
89d6bfd7f2680cfb3836723adf0991fc905712f76f796d0647953d7a4e86299f
BLAKE2b-256 checksum
How to use checksums
3344392e69847b4ef0cc8e023dea685f0c44661fca9b3a248902fb4504f59cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-musllinux_1_2_x86_64.whl

Download URL cargoscope-0.10.0-py3-none-musllinux_1_2_x86_64.whl
Size 6.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
02dd8df88faecd888c468588e55cf7f76f02e8eeb684d2161654fb75fca91e52
BLAKE2b-256 checksum
How to use checksums
4fd41d591b59f31f0a4a559c45429f955a8153b6d587fc13bc65e3565c771e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cargoscope-0.10.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 6.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ad2186b91f8c75ca2a6af16bc758a386b3e00c04b4f5c0dae4454d9b6025eaa8
BLAKE2b-256 checksum
How to use checksums
34d7f809cbdea878d501c8eb163e4c9a801cb895e7b79d60a0f6211fd25c28d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL cargoscope-0.10.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 6.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7ccb3849ac09a165c2537f43ea0857d034462397e0075e859bb3611f3cf5fef6
BLAKE2b-256 checksum
How to use checksums
05ffd387e72bcb62efaa6c6af8789d228ae3f117df8b0e8860e66bb7c537d949
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-macosx_11_0_arm64.whl

Download URL cargoscope-0.10.0-py3-none-macosx_11_0_arm64.whl
Size 6.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
41dd8a8d2dc26b579588ee2d35eab2ba50e2b751bf0be799b4033bb49e747ab4
BLAKE2b-256 checksum
How to use checksums
ce95aa0409d65c3956e1bfd185a7cd470b437f29b4d6ac81f0d4adb4561bd8ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / cargoscope-0.10.0-py3-none-macosx_10_12_x86_64.whl

Download URL cargoscope-0.10.0-py3-none-macosx_10_12_x86_64.whl
Size 6.2 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e0e693f13f68eb1139aca8c44b314ec4f4869e64442f996c6e67573018b9ffa0
BLAKE2b-256 checksum
How to use checksums
41a8fa5f0598e24cbecef9960218de1ab3d2b2cd1ab9a10e0d27802ac295b87d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for cargoscope 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for cargoscope-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page