-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
50 lines (45 loc) · 1.35 KB
/
deny.toml
File metadata and controls
50 lines (45 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# cargo-deny configuration for CipherBFT
# Constitutional Principle V: Security Principles
# https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
ignore = [
# paste crate unmaintained - transitive dependency from alloy-primitives 1.x
# Used as proc-macro only, not a runtime security concern
"RUSTSEC-2024-0436",
# bincode unmaintained - transitive dependency in core crates
# No maintained upgrade available; revisit if replacement is planned.
"RUSTSEC-2025-0141",
# lru 0.12.5 soundness issue - transitive dependency from libp2p-swarm/malachitebft
# Upgrade blocked by upstream dependencies; monitor for libp2p updates
"RUSTSEC-2026-0002",
]
[licenses]
version = 2
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"BSD-2-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"CC0-1.0",
"MPL-2.0",
# CDLA-Permissive-2.0 - permissive data license used by webpki-root-certs
# Transitive dependency from jsonrpsee for TLS certificate verification
"CDLA-Permissive-2.0",
]
confidence-threshold = 0.8
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
[sources]
unknown-registry = "deny"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]