AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Bitcoin

chore(core): vet the vendored stabby crates

Public commit record

What the developer wrote

Authored by Jakub Janků

80/100 · Strong
chore(core): vet the vendored stabby crates

- b8ba8a10e3f89 (feat(core): app API in Rust and Core-side extapps)
added `stabby` as a path dependency on the `vendor/stabby`
submodule (the trezor/stabby fork, added in 3919403ede8ab), which
brings in `stabby-abi` and `stabby-macros` too. None of them got a
policy, so cargo vet counted them as first-party and did not vet
them.
- Their manifests match the crates.io crates of the same name, so
cargo vet without `--locked` asks for an `audit-as-crates-io`
policy for them. Nobody saw that: such a run already failed on the
stale `qrcodegen` policy, and CI runs `--locked`, which skips both
checks.
- Treat them like the other vendored crates (`pareen`,
`qrcodegen-no-heap`): `audit-as-crates-io = true` and an exemption
for 72.1.8.
- cargo vet knows a path crate only by its version, so the exemptions
also cover the fork's patches on top of 72.1.8, and any later
submodule bump that keeps the version.

[no changelog]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit is a bookkeeping change to Trezor's Rust supply-chain audit configuration. It tells the project's 'cargo vet' tool to treat three internally vendored 'stabby' crates as if they were published on crates.io, and adds temporary audit exemptions for version 72.1.8. The change itself does not alter any firmware code, cryptographic logic, or user-facing behavior. It addresses a gap where these forked crates were not being properly audited because the tool considered them first-party code. The commit message explicitly notes that the exemptions also cover patches on top of the listed version, which is a pragmatic but slightly weakened audit posture.

Recommended action

No immediate action required. This is a healthy supply-chain maintenance commit. Reviewers may want to confirm that the stabby fork's patches on top of 72.1.8 are acceptable under the exemption, and schedule a full cargo vet audit of these crates when feasible.

Security signals we found

01

Supply-chain audit configuration gap being closed

02

Vendored forked crates previously not vetted

03

Exemption covers unreviewed patches due to version-only matching

04

No code, crypto, or firmware behavior changed

Risk score

Why this scored 15/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 2/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.