Harden package policy management and elevation - #5415
Open
Benoît Cortier (CBenoit) wants to merge 2 commits into
Open
Benoît Cortier (CBenoit) wants to merge 2 commits into
Benoît Cortier (CBenoit) wants to merge 2 commits into
Conversation
Benoît Cortier (CBenoit)
requested review from
a team and
Gabriel Dufresne (GabrielDuf)
as code owners
September 21, 2026 05:32
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Sep 21, 2026
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.
Summary
Devolutions.Now.Policy2026.9.19 credential grammar and reject malformed requests before pipe creation or helper launch.Context
This is a reviewed hardening follow-up to #5335.
It addresses every actionable finding from a complete security, correctness, NativeAOT, packaging, and editor-state review of the merged policy editor.
Dependency provenance
The shipping projects use official NuGet.org
Devolutions.Now.Policy.*2026.9.19 packages.Devolutions.Now.Policy.ModelSHA-256:54ACFD77F98602840C81E48CBDD9E1CE69B355137B9875382A1D687E6F2FAA31.Devolutions.Now.Policy.ApiSHA-256:62C69EA8F413DAE76BD8D5B4E7829F63B1617F483C9BEB85E68FED207FE802B9.Devolutions.Now.Policy.ClientSHA-256:2EBD6989FDD1C9B76B2DEE535C3BC1323E130AB717CFD1CCFCAA8E4D06BE9A04.Validation
dotnet format style src/UniGetUI.Windows.slnx --no-restore --verify-no-changes --verbosity minimalpassed.git diff --checkpassed.