Reduce the number of Zebra dependencies, and remove duplicate dependencies #3184
Labels
A-dependencies
Area: Dependency file updates
C-security
Category: Security issues
I-heavy
Problems with excessive memory, disk, or CPU usage
Motivation
In Zebra, we have a lot of:
But each dependency is a security risk, because dependency code runs in the Zebra process, and some of that code could be
unsafe
. (Or impact performance or privacy.) Each dependency also makes compilation and runtime performance slower.So we need to carefully review Zebra's dependencies, particularly before we are audited.
Scheduling
This risk is acceptable for the first stable release, but we should review it when we handle user-generated transactions with lightwalletd.
Tasks
Remove unused dependencies:
- [ ] Identify unused dependencies and remove them
- [ ] Run cargo udeps in CI
Related Work
The text was updated successfully, but these errors were encountered: