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 f933e7cfcf6bb369c7d7914422c180a26df8b3c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 20:29:39 +0000 Subject: [PATCH 2/2] build(deps): bump zip from 2.4.2 to 4.6.1 Bumps [zip](https://github.com/zip-rs/zip2) from 2.4.2 to 4.6.1. - [Release notes](https://github.com/zip-rs/zip2/releases) - [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md) - [Commits](https://github.com/zip-rs/zip2/compare/v2.4.2...v4.6.1) --- updated-dependencies: - dependency-name: zip dependency-version: 4.6.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 30 +++++++++++------------------- Cargo.toml | 2 +- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33c9ae9..e51eb43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1782,6 +1782,7 @@ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" dependencies = [ "crc32fast", "miniz_oxide", + "zlib-rs", ] [[package]] @@ -3753,7 +3754,7 @@ dependencies = [ "tokio", "tracing", "wiremock", - "zip 2.4.2", + "zip", ] [[package]] @@ -6476,7 +6477,7 @@ dependencies = [ "tokio", "url", "windows-sys 0.60.2", - "zip 4.6.1", + "zip", ] [[package]] @@ -8424,23 +8425,6 @@ dependencies = [ "syn 2.0.119", ] -[[package]] -name = "zip" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50" -dependencies = [ - "arbitrary", - "crc32fast", - "crossbeam-utils", - "displaydoc", - "flate2", - "indexmap 2.14.0", - "memchr", - "thiserror 2.0.19", - "zopfli", -] - [[package]] name = "zip" version = "4.6.1" @@ -8449,10 +8433,18 @@ checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1" dependencies = [ "arbitrary", "crc32fast", + "flate2", "indexmap 2.14.0", "memchr", + "zopfli", ] +[[package]] +name = "zlib-rs" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b142a20ec14a91d5bc708c1dc21b080c550113d8aa77afa29635673a65dd02c5" + [[package]] name = "zmij" version = "1.0.23" diff --git a/Cargo.toml b/Cargo.toml index 3aec15d..7334a42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,7 +80,7 @@ sha2 = "0.10" hex = "0.4" flate2 = "1.0" tar = "0.4" -zip = { version = "2.1", default-features = false, features = ["deflate"] } +zip = { version = "4.6", default-features = false, features = ["deflate"] } -- 2.54.0