Skip to content

Commit 6662549

Browse files
committed
security(cargo): vet changes manually
1 parent b5bb31f commit 6662549

File tree

3 files changed

+169
-45
lines changed

3 files changed

+169
-45
lines changed

supply-chain/audits.toml

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11

22
# cargo-vet audits file
33

4-
[audits]
4+
[[audits.allocator-api2]]
5+
who = "bill fumerola <bill@andyl.com>"
6+
criteria = "safe-to-deploy"
7+
delta = "0.2.20 -> 0.2.21"
8+
notes = "drop behavior"
9+
10+
[[audits.log]]
11+
who = "bill fumerola <bill@andyl.com>"
12+
criteria = "safe-to-deploy"
13+
delta = "0.4.26 -> 0.4.27"
14+
notes = "macro expansion rules"
15+
16+
[[audits.postcard]]
17+
who = "bill fumerola <bill@andyl.com>"
18+
criteria = "safe-to-deploy"
19+
delta = "1.0.8 -> 1.1.1"
20+
notes = """
21+
- some code moved to `postcard-schema`
22+
- alloc feature
23+
"""
24+
25+
[[audits.signal-hook-registry]]
26+
who = "bill fumerola <bill@andyl.com>"
27+
criteria = "safe-to-deploy"
28+
delta = "1.4.1 -> 1.4.5"
29+
notes = """
30+
- AIX changes
31+
- use of Box to store global data
32+
"""
533

634
[[trusted.anyhow]]
735
criteria = "safe-to-deploy"
@@ -231,6 +259,12 @@ user-id = 189 # Andrew Gallant (BurntSushi)
231259
start = "2020-01-11"
232260
end = "2026-06-11"
233261

262+
[[trusted.windows-sys]]
263+
criteria = "safe-to-deploy"
264+
user-id = 64539 # Kenny Kerr (kennykerr)
265+
start = "2021-11-15"
266+
end = "2026-06-11"
267+
234268
[[trusted.windows-targets]]
235269
criteria = "safe-to-deploy"
236270
user-id = 64539 # Kenny Kerr (kennykerr)
@@ -243,14 +277,44 @@ user-id = 64539 # Kenny Kerr (kennykerr)
243277
start = "2022-09-01"
244278
end = "2026-06-11"
245279

280+
[[trusted.windows_aarch64_msvc]]
281+
criteria = "safe-to-deploy"
282+
user-id = 64539 # Kenny Kerr (kennykerr)
283+
start = "2021-11-05"
284+
end = "2026-06-11"
285+
286+
[[trusted.windows_i686_gnu]]
287+
criteria = "safe-to-deploy"
288+
user-id = 64539 # Kenny Kerr (kennykerr)
289+
start = "2021-10-28"
290+
end = "2026-06-11"
291+
246292
[[trusted.windows_i686_gnullvm]]
247293
criteria = "safe-to-deploy"
248294
user-id = 64539 # Kenny Kerr (kennykerr)
249295
start = "2024-04-02"
250296
end = "2026-06-11"
251297

298+
[[trusted.windows_i686_msvc]]
299+
criteria = "safe-to-deploy"
300+
user-id = 64539 # Kenny Kerr (kennykerr)
301+
start = "2021-10-27"
302+
end = "2026-06-11"
303+
304+
[[trusted.windows_x86_64_gnu]]
305+
criteria = "safe-to-deploy"
306+
user-id = 64539 # Kenny Kerr (kennykerr)
307+
start = "2021-10-28"
308+
end = "2026-06-11"
309+
252310
[[trusted.windows_x86_64_gnullvm]]
253311
criteria = "safe-to-deploy"
254312
user-id = 64539 # Kenny Kerr (kennykerr)
255313
start = "2022-09-01"
256314
end = "2026-06-11"
315+
316+
[[trusted.windows_x86_64_msvc]]
317+
criteria = "safe-to-deploy"
318+
user-id = 64539 # Kenny Kerr (kennykerr)
319+
start = "2021-10-27"
320+
end = "2026-06-11"

supply-chain/config.toml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ audit-as-crates-io = true
2020
version = "0.24.2"
2121
criteria = "safe-to-deploy"
2222

23-
[[exemptions.allocator-api2]]
24-
version = "0.2.21"
25-
criteria = "safe-to-deploy"
26-
2723
[[exemptions.derivative]]
2824
version = "2.2.0"
2925
criteria = "safe-to-deploy"
@@ -48,10 +44,6 @@ criteria = "safe-to-deploy"
4844
version = "0.14.0"
4945
criteria = "safe-to-deploy"
5046

51-
[[exemptions.log]]
52-
version = "0.4.27"
53-
criteria = "safe-to-deploy"
54-
5547
[[exemptions.miniz_oxide]]
5648
version = "0.8.8"
5749
criteria = "safe-to-deploy"
@@ -64,10 +56,6 @@ criteria = "safe-to-deploy"
6456
version = "1.21.3"
6557
criteria = "safe-to-deploy"
6658

67-
[[exemptions.postcard]]
68-
version = "1.1.1"
69-
criteria = "safe-to-deploy"
70-
7159
[[exemptions.psm]]
7260
version = "0.1.26"
7361
criteria = "safe-to-deploy"
@@ -76,10 +64,6 @@ criteria = "safe-to-deploy"
7664
version = "0.5.12"
7765
criteria = "safe-to-deploy"
7866

79-
[[exemptions.signal-hook-registry]]
80-
version = "1.4.5"
81-
criteria = "safe-to-deploy"
82-
8367
[[exemptions.snafu]]
8468
version = "0.8.6"
8569
criteria = "safe-to-deploy"
@@ -95,31 +79,3 @@ criteria = "safe-to-deploy"
9579
[[exemptions.wasm-component-trampoline]]
9680
version = "0.1.2-pre"
9781
criteria = "safe-to-deploy"
98-
99-
[[exemptions.windows-sys]]
100-
version = "0.52.0"
101-
criteria = "safe-to-deploy"
102-
103-
[[exemptions.windows-sys]]
104-
version = "0.59.0"
105-
criteria = "safe-to-deploy"
106-
107-
[[exemptions.windows_aarch64_msvc]]
108-
version = "0.52.6"
109-
criteria = "safe-to-deploy"
110-
111-
[[exemptions.windows_i686_gnu]]
112-
version = "0.52.6"
113-
criteria = "safe-to-deploy"
114-
115-
[[exemptions.windows_i686_msvc]]
116-
version = "0.52.6"
117-
criteria = "safe-to-deploy"
118-
119-
[[exemptions.windows_x86_64_gnu]]
120-
version = "0.52.6"
121-
criteria = "safe-to-deploy"
122-
123-
[[exemptions.windows_x86_64_msvc]]
124-
version = "0.52.6"
125-
criteria = "safe-to-deploy"

supply-chain/imports.lock

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,20 @@ when = "2025-05-20"
543543
user-id = 73222
544544
user-login = "wasmtime-publish"
545545

546+
[[publisher.windows-sys]]
547+
version = "0.52.0"
548+
when = "2023-11-15"
549+
user-id = 64539
550+
user-login = "kennykerr"
551+
user-name = "Kenny Kerr"
552+
553+
[[publisher.windows-sys]]
554+
version = "0.59.0"
555+
when = "2024-07-30"
556+
user-id = 64539
557+
user-login = "kennykerr"
558+
user-name = "Kenny Kerr"
559+
546560
[[publisher.windows-targets]]
547561
version = "0.52.6"
548562
when = "2024-07-03"
@@ -557,20 +571,55 @@ user-id = 64539
557571
user-login = "kennykerr"
558572
user-name = "Kenny Kerr"
559573

574+
[[publisher.windows_aarch64_msvc]]
575+
version = "0.52.6"
576+
when = "2024-07-03"
577+
user-id = 64539
578+
user-login = "kennykerr"
579+
user-name = "Kenny Kerr"
580+
581+
[[publisher.windows_i686_gnu]]
582+
version = "0.52.6"
583+
when = "2024-07-03"
584+
user-id = 64539
585+
user-login = "kennykerr"
586+
user-name = "Kenny Kerr"
587+
560588
[[publisher.windows_i686_gnullvm]]
561589
version = "0.52.6"
562590
when = "2024-07-03"
563591
user-id = 64539
564592
user-login = "kennykerr"
565593
user-name = "Kenny Kerr"
566594

595+
[[publisher.windows_i686_msvc]]
596+
version = "0.52.6"
597+
when = "2024-07-03"
598+
user-id = 64539
599+
user-login = "kennykerr"
600+
user-name = "Kenny Kerr"
601+
602+
[[publisher.windows_x86_64_gnu]]
603+
version = "0.52.6"
604+
when = "2024-07-03"
605+
user-id = 64539
606+
user-login = "kennykerr"
607+
user-name = "Kenny Kerr"
608+
567609
[[publisher.windows_x86_64_gnullvm]]
568610
version = "0.52.6"
569611
when = "2024-07-03"
570612
user-id = 64539
571613
user-login = "kennykerr"
572614
user-name = "Kenny Kerr"
573615

616+
[[publisher.windows_x86_64_msvc]]
617+
version = "0.52.6"
618+
when = "2024-07-03"
619+
user-id = 64539
620+
user-login = "kennykerr"
621+
user-name = "Kenny Kerr"
622+
574623
[[publisher.wit-bindgen]]
575624
version = "0.42.1"
576625
when = "2025-05-06"
@@ -1002,6 +1051,15 @@ publication of this crate from CI. This repository requires all PRs are reviewed
10021051
by a Bytecode Alliance maintainer and it owned by the Bytecode Alliance itself.
10031052
"""
10041053

1054+
[[audits.bytecode-alliance.audits.allocator-api2]]
1055+
who = "Chris Fallin <chris@cfallin.org>"
1056+
criteria = "safe-to-deploy"
1057+
delta = "0.2.18 -> 0.2.20"
1058+
notes = """
1059+
The changes appear to be reasonable updates from Rust's stdlib imported into
1060+
`allocator-api2`'s copy of this code.
1061+
"""
1062+
10051063
[[audits.bytecode-alliance.audits.arbitrary]]
10061064
who = "Nick Fitzgerald <fitzgen@gmail.com>"
10071065
criteria = "safe-to-deploy"
@@ -1133,6 +1191,15 @@ who = "Pat Hickey <phickey@fastly.com>"
11331191
criteria = "safe-to-deploy"
11341192
version = "0.1.0"
11351193

1194+
[[audits.bytecode-alliance.audits.postcard]]
1195+
who = "Alex Crichton <alex@alexcrichton.com>"
1196+
criteria = "safe-to-deploy"
1197+
version = "1.0.8"
1198+
notes = """
1199+
I've audited the unsafe code to do what it looks like it's doing. Otherwise the
1200+
crate is a standard serializer/deserializer crate.
1201+
"""
1202+
11361203
[[audits.bytecode-alliance.audits.rustc-demangle]]
11371204
who = "Alex Crichton <alex@alexcrichton.com>"
11381205
criteria = "safe-to-deploy"
@@ -1150,6 +1217,11 @@ criteria = "safe-to-deploy"
11501217
version = "1.1.0"
11511218
notes = "Only minor `unsafe` code blocks which look valid and otherwise does what it says on the tin."
11521219

1220+
[[audits.bytecode-alliance.audits.signal-hook-registry]]
1221+
who = "Pat Hickey <phickey@fastly.com>"
1222+
criteria = "safe-to-deploy"
1223+
version = "1.4.1"
1224+
11531225
[[audits.bytecode-alliance.audits.sptr]]
11541226
who = "Alex Crichton <alex@alexcrichton.com>"
11551227
criteria = "safe-to-deploy"
@@ -1369,6 +1441,32 @@ delta = "1.0.14 -> 1.0.15"
13691441
notes = "Only minor rustdoc changes."
13701442
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
13711443

1444+
[[audits.google.audits.log]]
1445+
who = "danakj <danakj@chromium.org>"
1446+
criteria = "safe-to-deploy"
1447+
version = "0.4.22"
1448+
notes = """
1449+
Unsafe review in https://docs.google.com/document/d/1IXQbD1GhTRqNHIGxq6yy7qHqxeO4CwN5noMFXnqyDIM/edit?usp=sharing
1450+
1451+
Unsafety is generally very well-documented, with one exception, which we
1452+
describe in the review doc.
1453+
"""
1454+
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
1455+
1456+
[[audits.google.audits.log]]
1457+
who = "Lukasz Anforowicz <lukasza@chromium.org>"
1458+
criteria = "safe-to-deploy"
1459+
delta = "0.4.22 -> 0.4.25"
1460+
notes = "No impact on `unsafe` usage in `lib.rs`."
1461+
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
1462+
1463+
[[audits.google.audits.log]]
1464+
who = "Daniel Cheng <dcheng@chromium.org>"
1465+
criteria = "safe-to-deploy"
1466+
delta = "0.4.25 -> 0.4.26"
1467+
notes = "Only trivial code and documentation changes."
1468+
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
1469+
13721470
[[audits.google.audits.pin-project-lite]]
13731471
who = "David Koloski <dkoloski@google.com>"
13741472
criteria = "safe-to-deploy"
@@ -1752,6 +1850,12 @@ end = "2026-02-01"
17521850
notes = "All code written or reviewed by Manish"
17531851
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
17541852

1853+
[[audits.mozilla.audits.allocator-api2]]
1854+
who = "Nicolas Silva <nical@fastmail.com>"
1855+
criteria = "safe-to-deploy"
1856+
version = "0.2.18"
1857+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1858+
17551859
[[audits.mozilla.audits.bitflags]]
17561860
who = "Nika Layzell <nika@thelayzells.com>"
17571861
criteria = "safe-to-deploy"

0 commit comments

Comments
 (0)