Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
99 lines (92 loc) · 3.46 KB
/
Copy pathdeny.toml
File metadata and controls
99 lines (92 loc) · 3.46 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[graph]
targets = []
all-features = false
no-default-features = false
[advisories]
unmaintained = "none" # This usually create a lot of non-actionable noise.
ignore = [
"RUSTSEC-2024-0370", # proc-macro-error (1.0.4) is unmaintained
"RUSTSEC-2025-0119", # number_prefix (0.4.0) is unmaintained
"RUSTSEC-2024-0388", # derivative (2.2.0) is unmaintained
"RUSTSEC-2025-0141", # bincode (1.3.3) is unmaintained
"RUSTSEC-2024-0375", # atty (0.2.14) is unmaintained
"RUSTSEC-2021-0139", # ansi_term (0.12.1) is unmaintained
# ruint (1.17.2) returns false-negative overflow flags from shift operations.
# The fix (>=1.20.0) requires rustc 1.90, while this repo pins
# nightly-2025-03-19 (rustc 1.87) in `rust-toolchain`; upgrading would break
# the required `test-zkevm-abstractions-airbender` job. Not reachable here:
# ruint is only
# pulled in via the optional `airbender-precompile-delegations` feature, and
# airbender-crypto uses it exclusively through the limb-aligned U256/U512/U1024
# aliases with no checked/strict/saturating/overflowing shifts and no
# to_base_be formatting. Revisit when the pinned toolchain reaches 1.90.
"RUSTSEC-2026-0220",
# DoS advisories in quick-xml < 0.41 (RUSTSEC-2026-0194: quadratic time on
# duplicate start-tag attribute names; RUSTSEC-2026-0195: unbounded
# namespace-declaration allocation in `NsReader`), carried over from
# `eravm-airbender-verifier/`'s own policy when that workspace was vendored.
# Reached only from there, and only transitively: `riscv_transpiler` ->
# `inferno` (the flamegraph/profiling tooling in the Airbender build
# toolchain), which is neither on the verifier's runtime path nor ever fed
# untrusted XML. No fix is selectable yet -- the latest `inferno` (0.12.x)
# still pins `quick-xml` below 0.40, so the patched `>= 0.41` cannot be
# picked. Revisit once `inferno` upgrades.
"RUSTSEC-2026-0194",
"RUSTSEC-2026-0195",
]
[licenses]
allow = [
#"Apache-2.0 WITH LLVM-exception",
"MIT",
"Apache-2.0",
"ISC",
"Unlicense",
"MPL-2.0",
"Unicode-DFS-2016",
"CC0-1.0",
"BSD-2-Clause",
"BSD-3-Clause",
"Zlib",
"Unicode-3.0",
# Both reached only from `eravm-airbender-verifier/`, and both carried over
# from that workspace's own policy when it was vendored: `CDDL-1.0` for
# `inferno` (via `riscv_transpiler`, the Airbender build toolchain) and
# `CDLA-Permissive-2.0` for `webpki-roots` (via `reqwest`'s rustls stack,
# which the host CLI names explicitly for the SNARK trusted-setup download).
"CDDL-1.0",
"CDLA-Permissive-2.0",
]
confidence-threshold = 0.8
[licenses.private]
ignore = false
registries = [
#"https://sekretz.com/registry
]
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow = [
#{ name = "ansi_term", version = "=0.11.0" },
]
# List of crates to deny
deny = [
# Each entry the name of a crate and a version range. If version is
# not specified, all versions will be matched.
#{ name = "ansi_term", version = "=0.11.0" },
]
skip = [
#{ name = "ansi_term", version = "=0.11.0" },
]
skip-tree = [
#{ name = "ansi_term", version = "=0.11.0", depth = 20 },
]
[sources]
unknown-registry = "deny"
unknown-git = "allow"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[sources.allow-org]
#github = ["matter-labs"]