chore(core): treat trezor-thp as our own crate
What changed, and why it matters
This is a supply-chain tooling configuration change. It tells the project's cargo vet auditing tool to treat the in-house 'trezor-thp' crate as first-party code rather than a crates.io package. There is no product behavior change, no vulnerability fix, and no security defect introduced in the commit itself.
No security action required. Review as normal build/CI hygiene if desired.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds a single cargo vet policy entry: [policy.trezor-thp] audit-as-crates-io = false in core/embed/supply-chain/config.toml. This aligns cargo vet’s behavior with the fact that rust/trezor-thp is Trezor’s own code, even though it is also published on crates.io. The change only affects dependency auditing metadata and does not alter firmware code, cryptography, protocols, or build outputs.
Changed components
core/embed/supply-chain/config.tomlInspect captured patch +3 / −0
### core/embed/supply-chain/config.toml
@@ -37,6 +37,9 @@ audit-as-crates-io = true
[policy.stabby-macros]
audit-as-crates-io = true
+[policy.trezor-thp]
+audit-as-crates-io = false
+
[policy.trezor-tjpgdec]
audit-as-crates-io = true
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.