chore(core): vet the vendored stabby crates
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.
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
Supply-chain audit configuration gap being closed
Vendored forked crates previously not vetted
Exemption covers unreviewed patches due to version-only matching
No code, crypto, or firmware behavior changed
Evidence from the diff
The change modifies core/embed/supply-chain/config.toml. It adds audit-as-crates-io = true policies for stabby, stabby-abi, and stabby-macros, and adds safe-to-deploy exemptions for version 72.1.8 of each. These crates live in a vendored submodule (vendor/stabby, a Trezor fork). Previously cargo vet treated them as first-party and skipped vetting. With this change, cargo vet will recognize them as crates.io-equivalent and apply the exemption. The commit message acknowledges that because cargo vet identifies path crates by version only, the exemption covers any local patches on top of 72.1.8 and future submodule bumps that retain the same version string. This is a supply-chain hygiene fix, not a runtime security patch.
Changed components
core/embed/supply-chain/config.tomlcargo vet supply-chain audit workflowvendor/stabby submoduleInspect captured patch +21 / −0
### core/embed/supply-chain/config.toml
@@ -28,6 +28,15 @@ audit-as-crates-io = true
[policy.qrcodegen-no-heap]
audit-as-crates-io = true
+[policy.stabby]
+audit-as-crates-io = true
+
+[policy.stabby-abi]
+audit-as-crates-io = true
+
+[policy.stabby-macros]
+audit-as-crates-io = true
+
[policy.trezor-tjpgdec]
audit-as-crates-io = true
@@ -313,6 +322,18 @@ criteria = "safe-to-deploy"
version = "0.10.1"
criteria = "safe-to-deploy"
+[[exemptions.stabby]]
+version = "72.1.8"
+criteria = "safe-to-deploy"
+
+[[exemptions.stabby-abi]]
+version = "72.1.8"
+criteria = "safe-to-deploy"
+
+[[exemptions.stabby-macros]]
+version = "72.1.8"
+criteria = "safe-to-deploy"
+
[[exemptions.static-alloc]]
version = "0.2.6"
criteria = "safe-to-deploy"Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.