From f57f8d7bb66cd84e8f8eaf9fb74f7d90a1653aa9 Mon Sep 17 00:00:00 2001 From: James Maes Date: Thu, 23 Jul 2026 15:29:10 -0500 Subject: [PATCH 1/2] ci(security): add CodeQL automated static security analysis workflow --- .github/workflows/codeql.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..c834f2d --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,43 @@ +name: "CodeQL Security Analysis" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '30 1 * * 1' # Every Monday at 01:30 UTC + +permissions: + actions: read + contents: read + security-events: write + +jobs: + analyze: + name: Analyze CodeQL (${{ matrix.language }}) + runs-on: ubuntu-latest + timeout-minutes: 360 + strategy: + fail-fast: false + matrix: + include: + - language: javascript-typescript + build-mode: none + - language: actions + build-mode: none + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{ matrix.language }}" -- 2.54.0 From 3ef5b9f92751ca7066bcb6c2e035d67bf54f0fdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 20:29:32 +0000 Subject: [PATCH 2/2] build(deps): bump webpki-roots from 0.26.11 to 1.0.9 Bumps [webpki-roots](https://github.com/rustls/webpki-roots) from 0.26.11 to 1.0.9. - [Release notes](https://github.com/rustls/webpki-roots/releases) - [Commits](https://github.com/rustls/webpki-roots/compare/v/0.26.11...v/1.0.9) --- updated-dependencies: - dependency-name: webpki-roots dependency-version: 1.0.9 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 17 ++++------------- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33c9ae9..c762806 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2582,7 +2582,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots 1.0.9", + "webpki-roots", ] [[package]] @@ -3184,7 +3184,7 @@ dependencies = [ "tokio", "tokio-rustls", "url", - "webpki-roots 1.0.9", + "webpki-roots", ] [[package]] @@ -3828,7 +3828,7 @@ dependencies = [ "tokio-rustls", "tokio-stream", "tracing", - "webpki-roots 0.26.11", + "webpki-roots", "wiremock", ] @@ -4949,7 +4949,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 1.0.9", + "webpki-roots", ] [[package]] @@ -7510,15 +7510,6 @@ dependencies = [ "rustls-pki-types", ] -[[package]] -name = "webpki-roots" -version = "0.26.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" -dependencies = [ - "webpki-roots 1.0.9", -] - [[package]] name = "webpki-roots" version = "1.0.9" diff --git a/Cargo.toml b/Cargo.toml index 3aec15d..81da231 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ lettre = { version = "0.11", default-features = false, features = ["tokio1-rustl async-imap = { version = "0.9", default-features = false, features = ["runtime-tokio"] } tokio-rustls = "0.26" rustls = { version = "0.23", features = ["ring"] } -webpki-roots = "0.26" +webpki-roots = "1.0" rustls-pki-types = "1.7" tokio-stream = "0.1" futures = "0.3" -- 2.54.0