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

chore(core): treat trezor-thp as our own crate

Public commit record

What the developer wrote

Authored by Jakub Janků

80/100 · Strong
chore(core): treat trezor-thp as our own crate

- acb6c376b6153 (feat(core): add Rust-based THP implementation) made
`rust/trezor-thp` a path dependency, before aad3a128c4764
introduced cargo vet. As a path crate without a policy, cargo vet
counted it as first-party.
- trezor-thp has been on crates.io since 0.1.0 (2026-08-05; 0.1.1 on
2026-09-07). Since then its manifest matches the crates.io crate,
so cargo vet without `--locked` asks for an `audit-as-crates-io`
policy. That went unnoticed for the same reasons as with `stabby`.
- Keep it first-party, now by explicit decision:
`audit-as-crates-io = false`. It has been our own code from the
start. `trezor-tjpgdec`, the other in-repo crate published on
crates.io, stays `true`: it is a conversion of ChaN's C library,
so originally foreign code.
- cargo vet without `--locked` now passes.

[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 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.

Recommended action

No security action required. Review as normal build/CI hygiene if desired.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/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.