Skip to content

fix(deps)!: remediate Wiz dependency vulnerabilities - #99

Merged
harrison-lccc merged 4 commits into
devfrom
fix/98-wiz-dependency-vulnerabilities
Nov 11, 2026
Merged

harrison-lccc merged 4 commits into
devfrom
fix/98-wiz-dependency-vulnerabilities

Conversation

@harrison-lccc

@harrison-lccc harrison-lccc commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Refs #98.

  • Upgrade vulnerable Python dependencies across runtime, development, Azure and notebook groups; record patched minimum requirements and uv resolution constraints.
  • Upgrade the documentation stack to Astro 7.4.8, Starlight 0.42.10 and Sharp 0.35.5, with the necessary Markdown, Tailwind, CSP and mobile-navigation compatibility changes.
  • Consolidate the 10 November Wiz snapshot: 291 dependency findings across 48 packages, including 10 critical findings. Local lockfile verification accounts for 280 findings through patched versions and 11 through removed dependencies.
  • Keep remediation and Wiz validation evidence in the PR comments rather than adding repository report files.

The branch includes the current main release metadata for RenCal 0.3.0. No new dependency-version test files are added.

Validation

  • uv lock --check
  • Ruff formatting/lint and BasedPyright: pass
  • Existing pytest suite: 47 passed
  • Wheel and source distribution build, repeated after updating the branch to 0.3.0
  • Python compatibility smoke checks and all-group pip-audit: no known vulnerabilities
  • Reproducible npm ci; documentation build and internal links: 31 pages pass
  • Documentation site run and tested locally by Harrison
  • Documentation site on the dev deployment tested and approved by Harrison before promotion to main
  • npm audit: zero vulnerabilities
  • Desktop/mobile browser checks, including menu resize transitions
  • Generated CSP hashes cover inline scripts, style blocks and style attributes
  • Wiz PR checks on this revision — awaiting the checks triggered by opening this PR

Scope and follow-up

This PR only remediates dependency findings and preserves compatibility with the upgraded packages. It does not change manifest handling, cookie-hardening code, repository permissions or branch-protection policy. Existing SAST findings are outside this PR and must not be hidden or suppressed to make checks pass.

Local verification is not confirmation that findings have been resolved in Wiz. PR scans may report new/diff findings rather than a full branch inventory; a full scan is needed to verify remaining vulnerability counts. The merged/default-branch scan and rebuilt artifacts should be checked after merge. No release or production deployment is performed by this work.

Release and merge sequence

  1. Review and merge this PR into dev first. dev was fast-forwarded to the current main before retargeting.
  2. Validate dev, then use a separate promotion PR from dev to main. Preserve the breaking-change Conventional Commit title/footer if squashing either merge.
  3. Release Please runs on main and should propose 0.4.0, following the existing bump-minor-pre-major: true policy. Do not manually change package versions or publish a release as part of this PR.

The branch includes a metadata-only breaking-change commit; it changes no files. The full authenticated Wiz CLI scan of 8ab71fe reported zero dependency vulnerabilities and verified package coverage through the SBOM. Application files and dependency lockfiles are unchanged since that scan; the required automated PR checks remain separate.

BREAKING CHANGE: Documentation development and builds now require Node.js >=22.23.4 and npm >=9.6.5 with Astro 7 and Tailwind 4. Runtime dependency floors are raised to requests >=2.33.0, python-dotenv >=1.2.2, and pyarrow >=23.0.1. Environments pinned to older dependencies must upgrade.

Upgrade dependencies and preserve docs compatibility across the Astro/Starlight migration. Account for all 291 source findings, including ten critical findings. Keep existing test coverage without adding hard-coded version tests.\n\nRefs #98
@harrison-lccc
harrison-lccc requested a review from a team November 11, 2026 14:45
@harrison-lccc harrison-lccc linked an issue Nov 11, 2026 that may be closed by this pull request
5 of 6 tasks
@harrison-lccc

Copy link
Copy Markdown
Collaborator Author

Validation update for head 8ab71fe:

  • Branch updated with the current main release metadata (RenCal 0.3.0), preserving the dependency fixes.
  • All four GitHub Actions checks passed: Python package build, docs web build, documentation workflow, and lint/typecheck/tests.
  • Local checks were repeated after the update: lockfile consistency, Ruff, BasedPyright, all 47 tests, and wheel/sdist build passed.
  • Wiz PR scanning is marked enabled for this repository in Wiz, but no Wiz check runs or commit statuses have been posted on this revision yet. The required Wiz checks must not be treated as passed or bypassed; Wiz validation remains pending.

Manifest handling and GitHub permission settings remain unchanged. No merge has been performed.

@harrison-lccc

Copy link
Copy Markdown
Collaborator Author

Wiz CLI branch validation completed successfully for commit 8ab71fe using Wiz CLI 1.83.0 and an authenticated clean checkout.

Dependency vulnerabilities: 0 critical, 0 high, 0 medium, 0 low (0 total). Verdict: PASSED_BY_POLICY; no failed policies. This was a full directory scan, not diff mode, with all policy hits displayed and grace-period findings included in the verification run.

Coverage was verified from the generated CycloneDX SBOM (701 library components): both uv.lock and docs/web/package-lock.json were detected. Every retained locked version among the original 48 affected package groups is present in the SBOM; six affected package groups were removed from the dependency graphs. The six critical-package versions were detected as AnyIO 4.14.2, certifi 2026.10.23, jupyter-server 2.21.1, Pillow 13.0.0, PyJWT 2.15.1, and Astro 7.4.8.

The scan is not entirely finding-free: it also reports the four existing SAST findings (3 medium, 1 low), two HIGH OFL-1.1 font-license classification findings, and one informational token-in-URL pattern in the publishing workflow (the source references an environment variable, not a literal token). These are separate from dependency CVEs and have not been suppressed or changed in this PR.

This completes direct Wiz CLI dependency validation of the branch. It does not manufacture or replace the separate required Wiz GitHub status checks, and it does not mark default-branch findings resolved. No manifest changes, GitHub permission changes, or merge were performed. Raw reports/SBOM remain outside the repository; no authentication data was posted here.

@harrison-lccc
harrison-lccc changed the base branch from main to dev November 11, 2026 15:36
BREAKING CHANGE: Documentation development and builds now require Node.js >=22.23.4 and npm >=9.6.5 with the Astro 7 and Tailwind 4 toolchain. Supported runtime dependency floors are raised to requests >=2.33.0, python-dotenv >=1.2.2, and pyarrow >=23.0.1. Environments pinned to older dependencies must upgrade.

Preserve the pre-1.0 release policy so Release Please proposes 0.4.0 after these changes are promoted from dev to main. No manual version bump or release is performed here.

Refs #98
@harrison-lccc harrison-lccc changed the title fix(deps): remediate Wiz dependency vulnerabilities fix(deps)!: remediate Wiz dependency vulnerabilities Nov 11, 2026
@harrison-lccc
harrison-lccc merged commit b26921c into dev Nov 11, 2026
2 checks passed
@harrison-lccc

Copy link
Copy Markdown
Collaborator Author

Harrison has tested the documentation site on the dev deployment and confirmed he is happy with it. The dev-deployment validation checklist is complete.

Promotion PR opened: #100 — dev → main, titled fix(deps)!: promote dependency remediation from dev.

The breaking-change release intent is preserved for Release Please to prepare 0.4.0 under the existing pre-1.0 policy. The promotion PR is open for checks and review; no merge into main or release has been performed.

harrison-lccc added a commit that referenced this pull request Nov 18, 2026
## Summary

Promote the dependency vulnerability remediation from `dev` to `main`
after successful dev-deployment testing by Harrison.

- Promotes #99; refs #98.
- Updates vulnerable Python runtime/development/Azure/notebook
dependencies and the documentation stack (Astro 7, Starlight and
Tailwind 4), including the required compatibility changes.
- `dev` includes the latest `main` and introduces only the dependency
remediation from #99; no unrelated changes are included.
- No security report files or hard-coded dependency-version tests are
added to the repository.

## Validation and release checklist

- [x] #99 merged into `dev`.
- [x] Documentation site run and tested locally by Harrison.
- [x] Dev deployment tested and approved by Harrison before requesting
promotion.
- [x] Existing validation from #99: 47 Python tests, lint/type checks,
package builds, documentation build/internal links and desktop/mobile
browser checks passed.
- [x] Authenticated full Wiz CLI scan of `8ab71fe` reported zero
dependency vulnerabilities at every severity; the generated SBOM
verified coverage of both lockfiles and all retained affected package
versions.
- [x] Confirmed application and dependency files in `dev` match the
Wiz-scanned revision; the only file difference is removal of the report
requested in #99.
- [x] Required CI and automated Wiz checks pass on this promotion PR.
- [x] Maintainer review and approval before merging into `main`.
- [ ] After merge, verify the production documentation deployment and
the refreshed Wiz default-branch scan.

## Release intent

Preserve this breaking-change Conventional Commit title and footer when
merging. The repository's existing `bump-minor-pre-major: true` policy
means Release Please should prepare **0.4.0**, not 1.0.0, after
promotion to `main`.

No package version files have been manually bumped for this release.
Opening this PR does not merge it, publish a release or perform a
production deployment.

## Scope

The four existing SAST findings, font-license policy flags and
informational workflow token-URL pattern are distinct from dependency
CVEs and have not been suppressed. Manifest handling, cookie hardening,
repository permissions and branch-protection policy remain unchanged.
The direct Wiz CLI scan result does not replace required automated
GitHub status checks.

BREAKING CHANGE: Documentation development and builds now require
Node.js >=22.23.4 and npm >=9.6.5 with Astro 7 and Tailwind 4. Runtime
dependency floors are raised to requests >=2.33.0, python-dotenv
>=1.2.2, and pyarrow >=23.0.1. Environments pinned to older dependencies
must upgrade.
harrison-lccc added a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


## [0.4.0](v0.3.0...v0.4.0)
(2026-11-18)


### ⚠ BREAKING CHANGES

* **deps:** Documentation development and builds now require Node.js
>=22.23.4 and npm >=9.6.5 with Astro 7 and Tailwind 4. Runtime
dependency floors are raised to requests >=2.33.0, python-dotenv
>=1.2.2, and pyarrow >=23.0.1. Environments pinned to older dependencies
must upgrade.
* **deps:** Documentation development and builds now require Node.js
>=22.23.4 and npm >=9.6.5 with Astro 7 and Tailwind 4. Runtime
dependency floors are raised to requests >=2.33.0, python-dotenv
>=1.2.2, and pyarrow >=23.0.1. Environments pinned to older dependencies
must upgrade.
* **deps:** Documentation development and builds now require Node.js
>=22.23.4 and npm >=9.6.5 with the Astro 7 and Tailwind 4 toolchain.
Supported runtime dependency floors are raised to requests >=2.33.0,
python-dotenv >=1.2.2, and pyarrow >=23.0.1. Environments pinned to
older dependencies must upgrade.

### Bug Fixes

* **deps:** promote dependency remediation from dev
([#100](#100))
([6be9b81](6be9b81))
* **deps:** remediate Wiz dependency vulnerabilities
([906be73](906be73)),
closes [#98](#98)
* **deps:** remediate Wiz dependency vulnerabilities
([#99](#99))
([b26921c](b26921c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: remediate vulnerable Python and documentation dependencies

2 participants