Repository navigation
fix: patch analyzer test Pkcs dependency - #728
Merged
Merged
Conversation
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes: Reviewed the complete analyzer-test dependency configuration change and verified the resolved package version against both linked advisories.
- Scoped dependency policy: Enables Central Package Management and transitive pinning only in
tests/Orbit.Analyzers.Tests/Directory.Packages.props, leaving production projects unaffected. - Patched Pkcs dependency: Pins
System.Security.Cryptography.Pkcsto9.0.21, which both advisories list as patched, while preserving all seven existing direct-package versions.
Independent verification passed: restore with NU1902/NU1903 treated as errors, package inventory confirming Pkcs 9.0.21, and all 32 analyzer tests. Existing NU1608 framework-version warnings remain unchanged; the full solution suite was not rerun during this review.
gpt-6.1-sol | 𝕏
thomasluizon
added a commit
that referenced
this pull request
Oct 18, 2026
* fix: pin analyzer test Pkcs dependency to patched version (#728) (cherry picked from commit 61b0090) * fix: shard pull request domain mutation testing (#729) (cherry picked from commit bcfd81e) * Promote the API redesign with production compatibility checks (#723) * Bring the API redesign tree onto main for #1413 * Preserve calendar connection detection for shipped clients * Prove API and migrated schema compatibility with shipped clients * Trim whitespace in the archived main schema proof * Require the production health response to report the released commit * Bind initial approval previews to stored pending operations * fix: return the bulk skip refresh outcome and split the undo skip query SonarCloud failed the quality gate on two reliability findings in code this pull request brings to main: the bulk skip conflict check read a flag only a lambda wrote (S2583), and the undo skip check loaded Tags and Goals in one query (S8733). The transaction now returns whether every habit refreshed, and the undo skip check splits its query. A new case covers the concurrent change conflict; it failed with the refresh outcome forced to true and passes with the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 5526c9b) * Add per-account feature flag targeting and admin controls (#724) * feat: resolve feature flags per account * feat: administer account feature flags through MCP and REST * test: exclude feature flag targets from rate limit fixture * fix: reconcile account flag tests and migration metadata with redesign (cherry picked from commit 1b886bd) * Add header API versioning for v1 and v2 (#733) * Add header API versioning with v1 compatibility * Verify versioned OpenAPI and browser header compatibility * Preserve skip undo path contract with optional version header (cherry picked from commit ac8b34a) * fix: expose the config response in OpenAPI (#734) (cherry picked from commit a9d8dd5) * Route production redesign accounts through Cloudflare (#735) * Add cookie-based routing for the production redesign web service * Document web routing rollout, permissions, and rollback checks * Fix web routing coverage and disable infra install scripts * chore: regenerate the v2 OpenAPI document on main orbit-api#733 added openapi_v2.json and orbit-api#734 typed the /api/config response in parallel, so main carries a v2 document without the typed config schema and the Build check's stale-document step fails on every merge with main. dotnet build src/Orbit.Api regenerates it; openapi.json is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 9c64770) * Fix habit edit gating, end dates, and reminder updates (#736) * fix: validate habit updates with the resulting time range * fix: preserve end dates when creating root habits * fix: gate slip alert activation and preserve unchanged reminders * fix: compare effective reminder rules across stored formats (cherry picked from commit 7472203) * Reduce mutation and guard CI jobs (#737) * Select mutation shards from changed projects * Consolidate guards and filter artifact generation * Skip project documentation in mutation selection * Validate mutation base refs and restrict Git PATH * Read mutation shard changes from standard input (cherry picked from commit b802f9e) * test: strengthen habit and goal ownership coverage (#739) (cherry picked from commit 0e32628) * test: verify checkout session user metadata (#740) (cherry picked from commit da2f53a) * fix: protect OAuth code delivery with Turnstile (#741) (cherry picked from commit 1149606) * fix: enforce chat interaction scope before loading context (#743) (cherry picked from commit 98faf4e) * fix: erase accountability pairs during account deletion and reset (#745) * fix: erase accountability pairs during account deletion and reset * test: preserve migration compatibility checks after accountability cleanup (cherry picked from commit a9e5fb9) * Fix goal sync dates and deadline reminder counts (#747) * fix: compare streak sync dates in the user timezone * fix: show actual days remaining in goal deadline reminders * test: configure timezone for streak scheduler fixtures (cherry picked from commit 0e63842) * Manage staging landing routing in Terraform (#742) (cherry picked from commit abdd738) * Restrict Web Push endpoints to supported push services (#1503) (#751) Web Push subscriptions accept only HTTPS endpoints on the FCM, Mozilla, Apple and WNS push hosts, and the push HTTP client follows no redirects. Replaces orbit-api#748 as one commit so no commit carries the high-entropy sample fixture. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit d9f847a) * Erase account uploads before permanent deletion (#1507) (#750) * fix: erase uploaded objects before completing account deletion * fix: refuse upload reads after permanent account deletion * fix: grant uploads bucket deletion permissions and verify provider wiring * test: align storage startup checks with erasure requirements * fix: retire deleted Supabase upload storage * test: configure upload erasure providers in deletion fixtures Share the existing object-store fake across account deletion and scheduler fixtures after merging main. Preserve accountability assertions and production provider requirements for thomasluizon/orbit-tickets#1507. (cherry picked from commit fa33a94) * fix: limit anonymous auth and waitlist by email and source IP (ORB-108) (#749) * fix: enforce source IP ceilings alongside anonymous email limits * test: cover both rate limit dimensions before bot verification * fix: isolate BFF email rate limits by verified client IP * fix: generate and persist BFF forwarding secrets (cherry picked from commit de0f42f) * Limit access tokens to fifteen minutes (#738) * fix(auth): limit access tokens to fifteen minutes * fix(auth): align managed JWT lifetime and prove logout rejection (cherry picked from commit ade7016) * fix(auth): equalize account provisioning work (ORB-96) (#744) * test(auth): expose registration dependent sign-in work * fix(auth): perform uniform registration work before sign-in responses * test(auth): cover expired codes and tracked upsert conflicts * fix(auth): isolate signup retries and restore provisioning guards * fix(auth): recover signup work after dispatch failures * fix(auth): roll back failed signup referrals before retry (cherry picked from commit 1bd0d26) * fix: expose redesign controllers in both API versions Apply the carried version declarations to the Notion and proactive controllers and regenerate the v2 contract. Refs thomasluizon/orbit-tickets#746. * fix: honor account flags in proactive engine --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Closes thomasluizon/orbit-tickets#1488
Solution builds resolved vulnerable
System.Security.Cryptography.Pkcs9.0.6 through the analyzer test framework. The analyzer test project now centrally pins the transitive dependency to 9.0.21, the first patched 9.x version for both reported advisories. NuGet auditing remains enabled.tests/Orbit.Analyzers.Tests/Directory.Packages.propsenables Central Package Management and transitive pinning for this project. Its existing direct-package versions moved unchanged fromtests/Orbit.Analyzers.Tests/Orbit.Analyzers.Tests.csprojinto that file. Keeping the central version file in the test project confines this dependency policy to the affected project.Dependency evidence
dotnet list tests/Orbit.Analyzers.Tests package --include-transitivereproduced Pkcs 9.0.6.dotnet nuget why tests/Orbit.Analyzers.Tests/Orbit.Analyzers.Tests.csproj System.Security.Cryptography.Pkcsconfirmed the chain:The same owner is also reached through the code-fix test framework and NuGet.Protocol/Resolver. The real NuGet.Packaging 7.0.3 manifest declares Pkcs 9.0.6 for net8.0. The published version index lists newer stable releases 7.3.0, 7.3.1, 7.6.0 and 7.9.0; inspecting each release's manifest showed Pkcs 8.0.1, which is also affected. Re-derive with
curl -fsSL https://api.nuget.org/v3-flatcontainer/nuget.packaging/7.9.0/nuget.packaging.nuspec, substituting each listed version.Both GHSA-846f-f764-76mx and GHSA-2fmv-rv2c-59x7 list 9.0.21 as patched. Its published manifest confirms the package version.
dotnet list Orbit.slnx package --include-transitivechecked all 11 solution projects before and after the change. Only analyzer tests resolve Pkcs. The package tables differ only in Pkcs changing from 9.0.6 to 9.0.21.Test evidence
dotnet test tests/Orbit.Analyzers.Testspassed all 32 tests while emitting both Pkcs audit warnings. These unit tests do not detect a vulnerable dependency version.dotnet restore tests/Orbit.Analyzers.Tests/Orbit.Analyzers.Tests.csproj -warnaserror:NU1902,NU1903exited 1 with errors for both Pkcs advisories. This strengthens the real NuGet audit check without adding a synthetic unit test or fixture.dotnet test tests/Orbit.Analyzers.Testspassed all 32 tests.dotnet build Orbit.slnxexited 0 with zero errors and no NU1902 or NU1903 warnings. Other dependency-constraint and obsolete-API warnings remain outside this dependency fix.dotnet testexited 0: 7,150 passed, zero failed and zero skipped across analyzer (32), domain (645), application (3,821) and infrastructure (2,652) tests.git diff --checkpassed.Assumptions
The carry to
redesign/mainremains part of thomasluizon/orbit-tickets#746.