dotnet-svcutil can use default credentials by default
Open
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
When creating the HttpClientHandler for fetching the wsdl and any included schema files, HttpClientHandler.Credentials is set to CredentialCache.DefaultCredentials. We shouldn't set this by default, and instead should have a command line parameter to specify using default credentials.
As per documentation, dotnet-svcutil should only be used with wsdl url's that you trust, so this isn't considered a security bug. It is a defense in depth improvement.
Contributor guide
Assessment
This issue has not been assessed yet.