dotnet / dotnet/wcf

dotnet-svcutil can use default credentials by default

Open
#5,950 0 comments 0 reactions 1 assignee Claimed by @imcarolwang View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.