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
# Cargo-deny configuration for AuthFramework
# Security-first configuration for authentication framework
[]
# Vulnerability database settings
= "~/.cargo/advisory-db"
= ["https://github.com/RustSec/advisory-db"]
# Security-first approach: Only allow explicitly documented exceptions
# This forces explicit review and justification of ALL security issues
= [
# RUSTSEC-2023-0071 (rsa, Marvin Attack, no patched release) is not ignored: `rsa` is
# no longer in Cargo.lock (mysql-storage and the openidconnect dependency were removed,
# and sqlx 0.9 does not list sqlx-mysql's rsa).
# `unsafe-libyaml` unmaintained (RUSTSEC-2024-0449), via serde_yaml 0.9, which this
# line uses directly for YAML config (src/admin/cli.rs, src/config, src/deployment).
# Impact: none known; it is an unmaintained notice, not a vulnerability. Main replaced
# serde_yaml with serde-saphyr, a source change not made on this release line.
"RUSTSEC-2024-0449",
# `paste` (RUSTSEC-2024-0436) is an unmaintained notice, not a vulnerability, reached
# only through an optional feature (cryptoki). Replacing it is a feature-level change
# this release line does not take. `opentelemetry-jaeger` (RUSTSEC-2025-0123, and its
# `thrift` 0.17, RUSTSEC-2026-0435) is not ignored: the dependency was removed.
"RUSTSEC-2024-0436",
# `basic-toml` unmaintained (RUSTSEC-2026-0374, no safe upgrade): a build-time proc-macro
# dependency of askama_derive, which only the `web-gui` feature enables. The newest askama
# (0.16.1) still depends on it, so bumping this line's askama 0.14 would not remove it. Nothing
# is linked into a built artifact. Remove when askama drops it.
"RUSTSEC-2026-0374",
]
[]
# License policy - allow common open source licenses
= [
"Apache-2.0 WITH LLVM-exception",
"0BSD", # BSD Zero Clause; fully permissive
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0", # Boost Software License; permissive (xxhash-rust)
"CC0-1.0", # tiny-keccak (via ordered-multimap/const-random); public-domain dedication
"CDLA-Permissive-2.0", # Community Data License Agreement - for webpki-roots
"ISC",
"MIT",
"MPL-2.0", # Mozilla Public License 2.0 - weak copyleft, commercial-friendly
"Unicode-3.0", # Unicode License v3 - for ICU components
"Zlib", # Zlib license - very permissive, commercial-friendly
]
# Confidence threshold for license detection
= 0.8
[]
# Crate banning rules
= "all" # Highlight all issues
= "warn" # Allow multiple versions but warn
= "allow" # Allow wildcard dependencies
[]
# Source repository settings
= []
= ["https://github.com/rust-lang/crates.io-index"]
= "warn" # Warn about unknown git sources
= "warn" # Warn about unknown registries