Skip to content

chore(deps): update NuGet packages - #5535

Merged
SolidProgramming merged 6 commits into
CactuseSecurity:developfrom
SolidProgramming:nuget_updates/201026
Oct 21, 2026
Merged

SolidProgramming merged 6 commits into
CactuseSecurity:developfrom
SolidProgramming:nuget_updates/201026

Conversation

@SolidProgramming

@SolidProgramming SolidProgramming commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Update AngleSharp to 1.8.5
Update bunit to 2.12.5
Update PuppeteerSharp to 25.14.0
Update Quartz to 4.6.0

✔ regenerate SBOM

closing #5529, #5528, #5527

regenerate SBOM
bump version
@SolidProgramming SolidProgramming self-assigned this Oct 20, 2026
@SolidProgramming
SolidProgramming marked this pull request as ready for review October 20, 2026 10:03
@tpurschke

Copy link
Copy Markdown
Contributor

FWO PR Review — Round 1 of max. 5

Reviewer: Claude Opus 5.5 (claude-opus-5-5[1m], 1M context), reasoning-effort setting 15 as configured by the session, via Claude Code with the fwo-review-pr skill
Depth: standard: the diff only bumps dependency versions and contains no source code changes. Both passes (correctness/quality and security) were done by hand against the skill checklists. No built-in review command was used.
Delegation: none. The diff is small, so all checks ran inline on the primary model.
Token cost: about 64k new review tokens (input + output + cache creation, deduplicated by message id; 1.26M cache-read tokens excluded) at the time of drafting, against the 400k standard ceiling. Measured from the session transcript on disk (method 2). No sub-agents were used.
Reviewed head: f4a7470ff

Findings

# Criticality Confidence Status Subject
F1 🟢 low 🎯 high 🔴 new revision-history.md conflicts with develop because 9.8.1 is already the open version there

Recommendations

Fix in this PR

  • F1: merge develop, drop the duplicate ## 9.8.1 heading, and add the dependency bullet to the existing 9.8.1 section. all.yml then needs no change of its own, because develop already has 9.8.1.

Create follow-up issue

  • none

Details

F1: revision history conflicts with develop (low, high confidence, new)
documentation/revision-history.md:3-4. The PR branched from 2eec0d66 (v9.8.0). Since then, #5507 has moved develop to product_version: "9.8.1" and added its own ## 9.8.1 - 20.10.2026 section. This PR adds a second ## 9.8.1 heading at the same position, so GitHub reports mergeable_state: dirty. A local git merge-tree confirms a content conflict in this file only. inventory/group_vars/all.yml merges cleanly because both sides make the identical change.
There is no v9.8.1 or v9.8.1-dev sealing tag, so 9.8.1 is still open. Under documentation/developer-docs/versioning.md, the change joins 9.8.1 and needs no new version. Expected result:

## 9.8.1 - 20.10.2026
- enforces immediate revocation: ...
- dependencies: update NuGet packages (AngleSharp to 1.8.5, bunit to 2.12.5, PuppeteerSharp to 25.14.0, Quartz to 4.6.0)

Other checks (no finding)

  • Quartz 4.5.0 → 4.6.0: the 4.6 release notes list three required database migrations, but only for the ADO.NET job store. The middleware uses the default in-memory store (QuartzHostingConfiguration.AddMiddlewareQuartz: no UsePersistentStore), so no migration is needed. The new analyzer warning QZ0007 would fail the build under TreatWarningsAsErrors (roles/Directory.Build.props), and the Release build passes. The test cron literal 0 0 * * * ? is not affected.
  • PuppeteerSharp 25.13.1 → 25.14.0: this release rolls its default to Chrome 155. FWO does not depend on that default: the installer fetches Chrome for Testing "last known good" itself (roles/lib/tasks/install_puppeteer.yml) or uses the system Chromium. HtmlToPdfTest passed in both CI install jobs.
  • bunit / AngleSharp (+ AngleSharp.Css, Microsoft.AspNetCore.Components. 10.0.10 → 10.0.13):* these are test-only (scope: excluded in the SBOM). Production uses the shared ASP.NET framework.
  • SBOM: I compared the components between develop and the PR. The only changes are the bumps above, plus SoPro.FancyTable 1.0.8, which FWO.Ui.csproj on develop already references and which was missing from the old SBOM. That addition is a correction. Develop has had no dependency changes since the merge base, so the SBOM is still current after the merge.
  • FWO-specific checks: no schema, migration, UI, localization, help, whats_new_facts, Python, or C# source changes, so these checks do not apply. No new code means no new unit tests are needed.

Security coverage

  • Dependency advisories: verified. I restored the PR head locally and ran dotnet list roles/FWO.sln package --vulnerable --include-transitive. It reported no vulnerable packages in any of the 22 projects (nuget.org advisory feed, 2026-10-20). I also confirmed that the restored assets resolve to Quartz/4.6.0 and PuppeteerSharp/25.14.0.
  • Provenance: partly verified. All four packages come from nuget.org from their established upstream projects, and I read the upstream release notes for Quartz 4.6.0, PuppeteerSharp 25.14.0 and bunit 2.12.5. Not verified: the SBOM SHA-512 hashes against the nuget.org package hashes.
  • PDF rendering path (PuppeteerSharp/Chrome): verified at the config level. There is no code change, and the Chrome binary comes from the installer, not from the package. 25.14.0 also includes an upstream fix that enforces block/allow lists for service-worker requests, which does not weaken anything.
  • Scheduler (Quartz): verified at the config level. The store is in-memory, so the new clustered-store paths are not active.
  • CI/workflows: not applicable. The PR does not change any workflow. GitGuardian and CodeQL passed.
  • Authentication, authorization, injection, REST limits, HTML encoding, file handling, secrets: not applicable. No source, config, or template changes.
  • Tests: CI ran the full FWO.Test suite in SonarQube Analyze PR (passed), the Release build (passed), and test installs on ubuntu-latest, including ansible-core 2.18 (passed, including HtmlToPdfTest). Not run: unit tests locally (I relied on CI), and installs on Debian, Rocky, or RHEL.
  • Residual risk: the Quartz minor-version change to in-memory runtime behavior is covered only by unit tests and the Ubuntu test install, not by a long-running scheduler test.

@tpurschke

Copy link
Copy Markdown
Contributor

FWO PR Review — #5535 chore(deps): update NuGet packages

Round 1 of max. 5 · base develop · head nuget_updates/201026 (up to date with develop)

Findings

# Criticality Confidence Status Subject
— — — — No findings.

Recommendations

  • Fix in this PR: none.
  • Create follow-up issue: none.

No findings remain. Residual risk is listed under Residual risk below.

What was checked

Scope: 7 files: 5 .csproj version bumps, 1 line in revision-history.md, and the regenerated documentation/SBOM/fwo-sbom.json. The whole diff was inspected.

  • Version consistency: every PackageReference to PuppeteerSharp (Report, Services, Middleware.Server, UI, Test), Quartz (Middleware.Server), AngleSharp and bunit (Test) is on the new version. The repo has no leftover old pins.
  • SBOM: every changed bom-ref/purl/version/ref matches the csproj changes. Transitive bumps come in through bunit 2.12.5: AngleSharp.Css 1.1.3 and Microsoft.AspNetCore.Components.*, Microsoft.Extensions.* and Microsoft.JSInterop* 10.0.10 → 10.0.13. SoPro.FancyTable@1.0.8 is new in the SBOM. It was already referenced in FWO.Ui.csproj on develop, so the SBOM is catching up on an older miss. It is not a new dependency.
  • revision-history.md: the entry sits under the current 9.8.1 section, which fits.
  • Quartz 4.5.0 → 4.6.0: the upstream release notes list three required DB migrations, but only for ADO.NET job stores. FWO uses the default in-memory store (QuartzHostingConfiguration.AddMiddlewareQuartz: no UsePersistentStore), so no migration and no installer change is needed. The new analyzer warning QZ0007 would break the build under TreatWarningsAsErrors=true (roles/Directory.Build.props). It does not fire: the local build reports 0 warnings.
  • PuppeteerSharp 25.13.1 → 25.14.0: the release rolls Chrome to 155.0.8059.79 and Firefox to 158.0, and enforces the blocklist/allowlist for service-worker requests. On Linux, ReportBase.CreatePDFViaPuppeteer and NotificationEmailLayoutHelper.ToPdf pick the newest browser already installed, or fall back to system Chromium. They never download the library's pinned revision there. The Chrome roll therefore changes nothing on existing Linux installations, and the hardened launch arguments and request interception (PdfRenderSecurity) are unchanged.
  • FWO-specific checks: no schema/migration, UI string, help page, whats_new_facts, Python or production C# code changes, so these checks do not apply. No new code means no new unit tests are required.

Security coverage

Boundary / check Result
Dependency provenance ✅ verified: all four packages come from their established nuget.org publishers. Versions and release notes were checked against the upstream GitHub releases (PuppeteerSharp v25.14.0, Quartz v4.6.0, bunit v2.12.5).
Known advisories ✅ verified: dotnet list roles/FWO.sln package --vulnerable --include-transitive reports no vulnerable packages in any project on the PR head.
PDF rendering sandbox (PdfRenderSecurity: hardened browser args, request interception) ✅ verified statically: no FWO code change. Upstream changes only tighten request filtering. ⚠️ No runtime PDF render was run against the new version.
Scheduler (Quartz) authorization and job execution ✅ verified statically: no FWO code change, and the in-memory store is unaffected by the 4.6 store and clustering changes. Runtime check only via CI install tests.
Secrets in diff ✅ verified: none (GitGuardian also passed).
AuthN/AuthZ, injection, REST limits, browser trust, files/parsers, HTML encoding, state changes n/a: no production code, endpoint, schema or rendering change.
CI execution / workflow permissions n/a: no workflow files changed.

Validation run for this review

  • dotnet build --configuration Debug roles/FWO.sln on the PR head: succeeded, 0 warnings, 0 errors
  • dotnet test roles/tests-unit/files/FWO.Test/FWO.Test.csproj: 8278 passed, 0 failed, 19 skipped
  • NuGet vulnerability audit (see above): clean
  • CI on the PR: all checks green, including CodeQL, both test installs and SonarCloud. The installer was not re-run for this review, because CI already covers it and the change does not touch the installer.

Residual risk

  • PDF export (reports, notification e-mail attachments) with PuppeteerSharp 25.14.0 was not exercised end-to-end in this review. A quick manual PDF report export on a test system would close this gap.
  • Scheduled-job behavior under Quartz 4.6.0 is covered only by unit tests and the CI install, not by a long-running scheduler test.

Review metadata: model Claude Opus 5.5 (claude-opus-5-5[1m], 1M context), low reasoning effort setting · depth standard (routine dependency bump, no production code change) · capability: fwo-review-pr skill, correctness and security passes done directly by the primary model. No built-in review command or sub-agents were used, and nothing was delegated to a reduced model tier. · Token cost: 61,286 new tokens (input + output + cache creation, deduplicated per request; cache reads of 739,748 tokens excluded), measured from the session transcript on disk (method 2) right before this comment was drafted. Drafting and posting add a little on top. The ceiling is 400k for standard.

tpurschke
tpurschke previously approved these changes Oct 21, 2026

@tpurschke tpurschke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just the merge conflict needs to be fixed now

@sonarqubecloud

Copy link
Copy Markdown

@tpurschke tpurschke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@SolidProgramming
SolidProgramming merged commit 67dacd5 into CactuseSecurity:develop Oct 21, 2026
14 checks passed
@SolidProgramming
SolidProgramming deleted the nuget_updates/201026 branch October 21, 2026 09:20
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.

2 participants