Skip to content

Commit 3f0b6be

Browse files
jerrysxiekurtjd
authored andcommitted
cargo-vet audit update:
* add audits for proc-macro-error and usb-device * set audit-as-crates-io as false for keyberon * prune the imports.lock
1 parent bbb2998 commit 3f0b6be

File tree

3 files changed

+117
-79
lines changed

3 files changed

+117
-79
lines changed

supply-chain/audits.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ who = "Robert Zieba <robertzieba@microsoft.com>"
232232
criteria = "safe-to-run"
233233
version = "1.11.1"
234234

235+
[[audits.proc-macro-error]]
236+
who = "Jerry Xie <jerryxie@microsoft.com>"
237+
criteria = "safe-to-deploy"
238+
version = "1.0.4"
239+
235240
[[audits.rtt-target]]
236241
who = "Jerry Xie <jerryxie@microsoft.com>"
237242
criteria = "safe-to-deploy"
@@ -307,6 +312,11 @@ who = "Jerry Xie <jerryxie@microsoft.com>"
307312
criteria = "safe-to-deploy"
308313
version = "0.1.0"
309314

315+
[[audits.usb-device]]
316+
who = "Jerry Xie <jerryxie@microsoft.com>"
317+
criteria = "safe-to-deploy"
318+
version = "0.3.2"
319+
310320
[[audits.uuid]]
311321
who = "Jerry Xie <jerryxie@microsoft.com>"
312322
criteria = "safe-to-deploy"

supply-chain/config.toml

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ url = "https://raw.githubusercontent.com/zcash/rust-ecosystem/main/supply-chain/
2525
[policy.embassy-imxrt]
2626
audit-as-crates-io = false
2727

28+
[policy.keyberon]
29+
audit-as-crates-io = false
30+
2831
[[exemptions.ahash]]
2932
version = "0.8.12"
3033
criteria = "safe-to-deploy"
@@ -41,10 +44,6 @@ criteria = "safe-to-deploy"
4144
version = "0.14.0"
4245
criteria = "safe-to-deploy"
4346

44-
[[exemptions.atomic-polyfill]]
45-
version = "1.0.3"
46-
criteria = "safe-to-deploy"
47-
4847
[[exemptions.az]]
4948
version = "1.2.1"
5049
criteria = "safe-to-deploy"
@@ -89,10 +88,6 @@ criteria = "safe-to-deploy"
8988
version = "0.10.1"
9089
criteria = "safe-to-deploy"
9190

92-
[[exemptions.bitflags]]
93-
version = "2.9.4"
94-
criteria = "safe-to-deploy"
95-
9691
[[exemptions.bitvec]]
9792
version = "1.0.1"
9893
criteria = "safe-to-deploy"
@@ -109,10 +104,6 @@ criteria = "safe-to-deploy"
109104
version = "0.4.40"
110105
criteria = "safe-to-deploy"
111106

112-
[[exemptions.cobs]]
113-
version = "0.3.0"
114-
criteria = "safe-to-deploy"
115-
116107
[[exemptions.convert_case]]
117108
version = "0.6.0"
118109
criteria = "safe-to-deploy"
@@ -245,10 +236,6 @@ criteria = "safe-to-deploy"
245236
version = "1.0.0"
246237
criteria = "safe-to-deploy"
247238

248-
[[exemptions.embedded-io]]
249-
version = "0.6.1"
250-
criteria = "safe-to-deploy"
251-
252239
[[exemptions.embedded-io-async]]
253240
version = "0.6.1"
254241
criteria = "safe-to-deploy"
@@ -273,10 +260,6 @@ criteria = "safe-to-deploy"
273260
version = "0.8.5"
274261
criteria = "safe-to-deploy"
275262

276-
[[exemptions.hash32]]
277-
version = "0.2.1"
278-
criteria = "safe-to-deploy"
279-
280263
[[exemptions.hash32]]
281264
version = "0.3.1"
282265
criteria = "safe-to-deploy"
@@ -285,18 +268,10 @@ criteria = "safe-to-deploy"
285268
version = "0.14.5"
286269
criteria = "safe-to-deploy"
287270

288-
[[exemptions.hashbrown]]
289-
version = "0.15.5"
290-
criteria = "safe-to-deploy"
291-
292271
[[exemptions.hashlink]]
293272
version = "0.9.1"
294273
criteria = "safe-to-deploy"
295274

296-
[[exemptions.heapless]]
297-
version = "0.7.17"
298-
criteria = "safe-to-deploy"
299-
300275
[[exemptions.heapless]]
301276
version = "0.8.0"
302277
criteria = "safe-to-deploy"
@@ -317,10 +292,6 @@ criteria = "safe-to-deploy"
317292
version = "0.4.2"
318293
criteria = "safe-to-deploy"
319294

320-
[[exemptions.lock_api]]
321-
version = "0.4.13"
322-
criteria = "safe-to-deploy"
323-
324295
[[exemptions.maitake-sync]]
325296
version = "0.2.2"
326297
criteria = "safe-to-deploy"
@@ -373,10 +344,6 @@ criteria = "safe-to-deploy"
373344
version = "1.1.10"
374345
criteria = "safe-to-deploy"
375346

376-
[[exemptions.postcard]]
377-
version = "1.1.3"
378-
criteria = "safe-to-deploy"
379-
380347
[[exemptions.proc-macro-error-attr2]]
381348
version = "2.0.0"
382349
criteria = "safe-to-deploy"
@@ -397,10 +364,6 @@ criteria = "safe-to-run"
397364
version = "0.2.3"
398365
criteria = "safe-to-deploy"
399366

400-
[[exemptions.scopeguard]]
401-
version = "1.2.0"
402-
criteria = "safe-to-deploy"
403-
404367
[[exemptions.semver]]
405368
version = "0.9.0"
406369
criteria = "safe-to-deploy"
@@ -417,10 +380,6 @@ criteria = "safe-to-deploy"
417380
version = "0.4.11"
418381
criteria = "safe-to-run"
419382

420-
[[exemptions.spin]]
421-
version = "0.9.8"
422-
criteria = "safe-to-deploy"
423-
424383
[[exemptions.tokio]]
425384
version = "1.47.1"
426385
criteria = "safe-to-run"

supply-chain/imports.lock

Lines changed: 104 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,52 @@ criteria = "safe-to-deploy"
322322
version = "2.0.0"
323323
notes = "Fork of the original `adler` crate, zero unsfae code, works in `no_std`, does what it says on th tin."
324324

325+
[[audits.bytecode-alliance.audits.bitflags]]
326+
who = "Jamey Sharp <jsharp@fastly.com>"
327+
criteria = "safe-to-deploy"
328+
delta = "2.1.0 -> 2.2.1"
329+
notes = """
330+
This version adds unsafe impls of traits from the bytemuck crate when built
331+
with that library enabled, but I believe the impls satisfy the documented
332+
safety requirements for bytemuck. The other changes are minor.
333+
"""
334+
335+
[[audits.bytecode-alliance.audits.bitflags]]
336+
who = "Alex Crichton <alex@alexcrichton.com>"
337+
criteria = "safe-to-deploy"
338+
delta = "2.3.2 -> 2.3.3"
339+
notes = """
340+
Nothing outside the realm of what one would expect from a bitflags generator,
341+
all as expected.
342+
"""
343+
344+
[[audits.bytecode-alliance.audits.bitflags]]
345+
who = "Alex Crichton <alex@alexcrichton.com>"
346+
criteria = "safe-to-deploy"
347+
delta = "2.4.1 -> 2.6.0"
348+
notes = """
349+
Changes in how macros are invoked and various bits and pieces of macro-fu.
350+
Otherwise no major changes and nothing dealing with `unsafe`.
351+
"""
352+
353+
[[audits.bytecode-alliance.audits.bitflags]]
354+
who = "Alex Crichton <alex@alexcrichton.com>"
355+
criteria = "safe-to-deploy"
356+
delta = "2.7.0 -> 2.9.4"
357+
notes = "Tweaks to the macro, nothing out of order."
358+
359+
[[audits.bytecode-alliance.audits.embedded-io]]
360+
who = "Alex Crichton <alex@alexcrichton.com>"
361+
criteria = "safe-to-deploy"
362+
version = "0.4.0"
363+
notes = "No `unsafe` code and only uses `std` in ways one would expect the crate to do so."
364+
365+
[[audits.bytecode-alliance.audits.embedded-io]]
366+
who = "Alex Crichton <alex@alexcrichton.com>"
367+
criteria = "safe-to-deploy"
368+
delta = "0.4.0 -> 0.6.1"
369+
notes = "Major updates, but almost all safe code. Lots of pruning/deletions, nothing out of the ordrinary."
370+
325371
[[audits.bytecode-alliance.audits.futures-core]]
326372
who = "Pat Hickey <phickey@fastly.com>"
327373
criteria = "safe-to-deploy"
@@ -343,6 +389,11 @@ who = "Pat Hickey <pat@moreproductive.org>"
343389
criteria = "safe-to-deploy"
344390
delta = "0.3.28 -> 0.3.31"
345391

392+
[[audits.bytecode-alliance.audits.hashbrown]]
393+
who = "Chris Fallin <chris@cfallin.org>"
394+
criteria = "safe-to-deploy"
395+
delta = "0.14.5 -> 0.15.2"
396+
346397
[[audits.bytecode-alliance.audits.itertools]]
347398
who = "Nick Fitzgerald <fitzgen@gmail.com>"
348399
criteria = "safe-to-deploy"
@@ -429,12 +480,6 @@ a few `unsafe` blocks related to utf-8 validation which are locally verifiable
429480
as correct and otherwise this crate is good to go.
430481
"""
431482

432-
[[audits.bytecode-alliance.audits.semver]]
433-
who = "Pat Hickey <phickey@fastly.com>"
434-
criteria = "safe-to-deploy"
435-
version = "1.0.17"
436-
notes = "plenty of unsafe pointer and vec tricks, but in well-structured and commented code that appears to be correct"
437-
438483
[[audits.bytecode-alliance.audits.sharded-slab]]
439484
who = "Pat Hickey <phickey@fastly.com>"
440485
criteria = "safe-to-deploy"
@@ -684,6 +729,12 @@ delta = "0.2.9 -> 0.2.13"
684729
notes = "Audited at https://fxrev.dev/946396"
685730
aggregated-from = "https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/third_party/rust_crates/supply-chain/audits.toml?format=TEXT"
686731

732+
[[audits.google.audits.proc-macro-error-attr]]
733+
who = "George Burgess IV <gbiv@google.com>"
734+
criteria = "safe-to-deploy"
735+
version = "1.0.4"
736+
aggregated-from = "https://chromium.googlesource.com/chromiumos/third_party/rust_crates/+/refs/heads/main/cargo-vet/audits.toml?format=TEXT"
737+
687738
[[audits.google.audits.quote]]
688739
who = "Lukasz Anforowicz <lukasza@chromium.org>"
689740
criteria = "safe-to-deploy"
@@ -1092,6 +1143,47 @@ criteria = "safe-to-deploy"
10921143
version = "0.5.1"
10931144
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
10941145

1146+
[[audits.mozilla.audits.bitflags]]
1147+
who = "Alex Franchuk <afranchuk@mozilla.com>"
1148+
criteria = "safe-to-deploy"
1149+
delta = "1.3.2 -> 2.0.2"
1150+
notes = "Removal of some unsafe code/methods. No changes to externals, just some refactoring (mostly internal)."
1151+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1152+
1153+
[[audits.mozilla.audits.bitflags]]
1154+
who = "Nicolas Silva <nical@fastmail.com>"
1155+
criteria = "safe-to-deploy"
1156+
delta = "2.0.2 -> 2.1.0"
1157+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1158+
1159+
[[audits.mozilla.audits.bitflags]]
1160+
who = "Teodor Tanasoaia <ttanasoaia@mozilla.com>"
1161+
criteria = "safe-to-deploy"
1162+
delta = "2.2.1 -> 2.3.2"
1163+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1164+
1165+
[[audits.mozilla.audits.bitflags]]
1166+
who = "Mike Hommey <mh+mozilla@glandium.org>"
1167+
criteria = "safe-to-deploy"
1168+
delta = "2.3.3 -> 2.4.0"
1169+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1170+
1171+
[[audits.mozilla.audits.bitflags]]
1172+
who = "Jan-Erik Rediger <jrediger@mozilla.com>"
1173+
criteria = "safe-to-deploy"
1174+
delta = "2.4.0 -> 2.4.1"
1175+
notes = "Only allowing new clippy lints"
1176+
aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml"
1177+
1178+
[[audits.mozilla.audits.bitflags]]
1179+
who = [
1180+
"Teodor Tanasoaia <ttanasoaia@mozilla.com>",
1181+
"Erich Gubler <erichdongubler@gmail.com>",
1182+
]
1183+
criteria = "safe-to-deploy"
1184+
delta = "2.6.0 -> 2.7.0"
1185+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1186+
10951187
[[audits.mozilla.audits.chrono]]
10961188
who = "Lars Eggert <lars@eggert.org>"
10971189
criteria = "safe-to-deploy"
@@ -1170,6 +1262,12 @@ criteria = "safe-to-deploy"
11701262
delta = "1.8.3 -> 2.5.0"
11711263
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
11721264

1265+
[[audits.mozilla.audits.hashbrown]]
1266+
who = "Erich Gubler <erichdongubler@gmail.com>"
1267+
criteria = "safe-to-deploy"
1268+
delta = "0.15.2 -> 0.15.5"
1269+
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
1270+
11731271
[[audits.mozilla.audits.percent-encoding]]
11741272
who = "Valentin Gosu <valentin.gosu@gmail.com>"
11751273
criteria = "safe-to-deploy"
@@ -1218,22 +1316,6 @@ delta = "1.1.0 -> 2.1.1"
12181316
notes = "Simple hashing crate, no unsafe code."
12191317
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
12201318

1221-
[[audits.mozilla.audits.rustc_version]]
1222-
who = "Nika Layzell <nika@thelayzells.com>"
1223-
criteria = "safe-to-deploy"
1224-
version = "0.4.0"
1225-
notes = """
1226-
Use of powerful capabilities is limited to invoking `rustc -vV` to get version
1227-
information for parsing version information.
1228-
"""
1229-
aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml"
1230-
1231-
[[audits.mozilla.audits.semver]]
1232-
who = "Jan-Erik Rediger <jrediger@mozilla.com>"
1233-
criteria = "safe-to-deploy"
1234-
delta = "1.0.17 -> 1.0.25"
1235-
aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml"
1236-
12371319
[[audits.mozilla.audits.sharded-slab]]
12381320
who = "Mark Hammond <mhammond@skippinet.com.au>"
12391321
criteria = "safe-to-deploy"
@@ -1334,19 +1416,6 @@ was being selected by the target OS instead of the host OS.
13341416
"""
13351417
aggregated-from = "https://raw.githubusercontent.com/zcash/zcash/master/qa/supply-chain/audits.toml"
13361418

1337-
[[audits.zcash.audits.rustc_version]]
1338-
who = "Jack Grigg <jack@electriccoin.co>"
1339-
criteria = "safe-to-deploy"
1340-
delta = "0.4.0 -> 0.4.1"
1341-
notes = "Changes to `Command` usage are to add support for `RUSTC_WRAPPER`."
1342-
aggregated-from = "https://raw.githubusercontent.com/zcash/zcash/master/qa/supply-chain/audits.toml"
1343-
1344-
[[audits.zcash.audits.semver]]
1345-
who = "Jack Grigg <jack@electriccoin.co>"
1346-
criteria = "safe-to-deploy"
1347-
delta = "1.0.25 -> 1.0.26"
1348-
aggregated-from = "https://raw.githubusercontent.com/zcash/wallet/main/supply-chain/audits.toml"
1349-
13501419
[[audits.zcash.audits.thread_local]]
13511420
who = "Jack Grigg <jack@z.cash>"
13521421
criteria = "safe-to-deploy"

0 commit comments

Comments
 (0)