Merge pull request #342 from EdouardVanbelle/audit
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
[advisories]
|
||||||
|
ignore = [
|
||||||
|
# paste unmaintained — transitive via azure_core 0.21.0 (latest available).
|
||||||
|
# No direct security impact; no upgrade path exists.
|
||||||
|
# keep warning "RUSTSEC-2024-0436",
|
||||||
|
|
||||||
|
# rand 0.7.3 unsound — transitive via http-types → azure_core 0.21.0.
|
||||||
|
# Only exploitable with a custom logger using rand::rng(); not applicable here.
|
||||||
|
"RUSTSEC-2026-0097",
|
||||||
|
|
||||||
|
# RUSTSEC-2023-0071 (Marvin Attack): rsa crate is a transitive dependency from jsonwebtoken.
|
||||||
|
# Not affected: This application uses HS256 for internal JWT signing and only performs
|
||||||
|
# RSA public key verification (not private key operations) for OIDC/OAuth2 tokens.
|
||||||
|
"RUSTSEC-2023-0071",
|
||||||
|
|
||||||
|
# rustls-webpki 0.101.7 — three advisories, all transitive via AWS SDK → rustls 0.21.12.
|
||||||
|
# aws-sdk-s3 1.x (latest) has not yet migrated to rustls 0.23.x; no upgrade path available.
|
||||||
|
# Severity: low — exploitation requires either a rogue CA or a MitM on AWS S3 infrastructure.
|
||||||
|
# RUSTSEC-2026-0104: DoS via panic in CRL parsing (only if CRLs are processed).
|
||||||
|
# RUSTSEC-2026-0098: URI name constraints ignored (requires CA misissuance).
|
||||||
|
# RUSTSEC-2026-0099: Wildcard name constraint bypass (requires CA misissuance).
|
||||||
|
"RUSTSEC-2026-0104",
|
||||||
|
"RUSTSEC-2026-0098",
|
||||||
|
"RUSTSEC-2026-0099",
|
||||||
|
|
||||||
|
# instant unmaintained — transitive via azure_core 0.21.0 (latest available).
|
||||||
|
# No direct security impact; no upgrade path exists.
|
||||||
|
"RUSTSEC-2024-0384",
|
||||||
|
]
|
||||||
@@ -136,13 +136,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
# RUSTSEC-2023-0071 (Marvin Attack): rsa crate is a transitive dependency from jsonwebtoken.
|
|
||||||
# Not affected: This application uses HS256 for internal JWT signing and only performs
|
|
||||||
# RSA public key verification (not private key operations) for OIDC/OAuth2 tokens.
|
|
||||||
- uses: rustsec/audit-check@v2.0.0
|
- uses: rustsec/audit-check@v2.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ignore: RUSTSEC-2023-0071
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build Check
|
name: Build Check
|
||||||
|
|||||||
+2
-1
@@ -20,9 +20,10 @@
|
|||||||
*.su
|
*.su
|
||||||
*.idb
|
*.idb
|
||||||
|
|
||||||
# Build cache (keep .cargo/config.toml for project build settings)
|
# Build cache (keep .cargo/config.toml for project build settings, keep audit config)
|
||||||
.cargo/*
|
.cargo/*
|
||||||
!.cargo/config.toml
|
!.cargo/config.toml
|
||||||
|
!.cargo/audit.toml
|
||||||
|
|
||||||
# temporary file to tools
|
# temporary file to tools
|
||||||
tmp/
|
tmp/
|
||||||
|
|||||||
Generated
+353
-290
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,10 @@ check:
|
|||||||
cargo fmt --all
|
cargo fmt --all
|
||||||
cargo clippy --all-features --all-targets -- -D warnings
|
cargo clippy --all-features --all-targets -- -D warnings
|
||||||
|
|
||||||
|
# audit security (condition: cargo install cargo-audit)
|
||||||
|
audit:
|
||||||
|
cargo audit
|
||||||
|
|
||||||
openapi:
|
openapi:
|
||||||
cargo run --bin generate-openapi
|
cargo run --bin generate-openapi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user