You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Security] License-server lease over http:// transmits user and machine name in cleartext; warn and allow opt-out #63
When a license server is configured with an http:// URL (rather than https://), PostSharp fetches the license lease over plaintext HTTP. The lease request includes the current Windows user name and machine name as query-string parameters, so these identifiers are transmitted in cleartext and are observable by anyone able to sniff the network path between the build machine and the license server.
License-server URL validation currently accepts both http and https schemes without distinction, so an http:// configuration is silently used as-is with no indication that the connection is unencrypted.
Proposed change
When a license-server URL uses the http scheme, emit a build warning (a new LicensingMessageSource diagnostic) advising the administrator to use https:// because the request transmits the user and machine names in cleartext.
Add an MSBuild property (e.g. PostSharpAllowInsecureLicenseServer, defaults to Warning, when set to Allow suppresses this specific warning, for environments where an internal http:// license server is a deliberate, accepted configuration. The value Error fails the build.
The change is additive and non-breaking: http:// license servers continue to work; the only new behavior is an opt-out-able warning.
Activity
gfraiteur commentedon Jun 27, 2026
Released in v2024.0.24.
-- Claude for Gael
gfraiteur commentedon Jun 27, 2026
Also released in v2026.0.13, which includes the upstream 2024.0.24 changes.
-- Claude for Gael