Skip to content

fix(supply-chain): trust our own crates instead of exempting them - #5

Draft
h4x0r wants to merge 1 commit into
mainfrom
fix/vet-trust-our-crates
Draft

fix(supply-chain): trust our own crates instead of exempting them#5
h4x0r wants to merge 1 commit into
mainfrom
fix/vet-trust-our-crates

Conversation

@h4x0r

@h4x0r h4x0r commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

ADR-0018 ranks the four cargo-vet mechanisms and states that reaching for a
weaker one is a defect. These crates are ours, consumed from crates.io, so
case 2 applies: a publisher-trust entry under h4x0r (user-id 347968), not an
exemption.

The distinction is semantic, not cosmetic. An exemption asserts "unreviewed,
accepted anyway"; a trust entry asserts "the publisher is ours". Recording our
own crates as unreviewed-but-tolerated misstated the supply-chain posture in
the direction of false comfort. A trust entry is also version-agnostic, so it
does not go stale on the next bump the way a pinned exemption does.

Exemption -> trust:

  • forensic-carve
  • forensicnomicon
  • forensicnomicon-core
  • forensicnomicon-data
  • jsonguard
  • lzo
  • prefetch-core
  • shellitem
  • winevt-core
  • winreg-core
  • winreg-format
  • xpress-huffman
  • zip-forensic-core

Verified (config change, so the vet run is the test):

Vetting Succeeded (111 fully audited, 4 partially audited, 327 exempted)
 WARN Your supply-chain has unnecessary exemptions which could be relaxed or pruned.
 WARN   Consider running `cargo vet prune` to prune unnecessary exemptions and imports.

🤖 Generated with Claude Code

ADR-0018 ranks the four cargo-vet mechanisms and states that reaching for a
weaker one is a defect. These crates are ours, consumed from crates.io, so
case 2 applies: a publisher-trust entry under h4x0r (user-id 347968), not an
exemption.

The distinction is semantic, not cosmetic. An exemption asserts "unreviewed,
accepted anyway"; a trust entry asserts "the publisher is ours". Recording our
own crates as unreviewed-but-tolerated misstated the supply-chain posture in
the direction of false comfort. A trust entry is also version-agnostic, so it
does not go stale on the next bump the way a pinned exemption does.

Exemption -> trust:
  - forensic-carve
  - forensicnomicon
  - forensicnomicon-core
  - forensicnomicon-data
  - jsonguard
  - lzo
  - prefetch-core
  - shellitem
  - winevt-core
  - winreg-core
  - winreg-format
  - xpress-huffman
  - zip-forensic-core

Verified (config change, so the vet run is the test):

    Vetting Succeeded (111 fully audited, 4 partially audited, 327 exempted)
     WARN Your supply-chain has unnecessary exemptions which could be relaxed or pruned.
     WARN   Consider running `cargo vet prune` to prune unnecessary exemptions and imports.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant