axelarnetwork / tofn

A threshold cryptography library in Rust
Apache License 2.0
110 stars 23 forks source link

Vulnerability hunting checklist #153

Closed ggutoski closed 2 years ago

ggutoski commented 3 years ago

Need to comb through tofn code to hunt down the last few problem spots:

ggutoski commented 3 years ago

On eliminating panics

This is a weakness of Rust 🙁 . There is no complete solution. Some tools that might help:

ggutoski commented 3 years ago

On leakage of secrets and "injection attacks"

A convenient way to get a view of the public API is to run cargo doc --open. Cargo builds docs for the crate's public API, the --open flag opens a browser to view it.

This topic naturally includes issue #158 but we should keep #158 out of scope for this issue so as to avoid issue bloat.

milapsheth commented 3 years ago

NCC audit findings 003 (composite modulus check) and 004 (modulus length check) have been addressed in #160. Finding 005 will be fixed in another PR.

milapsheth commented 2 years ago

Finding 005 was addressed in #173