Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create documentation about trust boundaries of the .NET SDK and how to use it securely #45340

Open
dsplaisted opened this issue Dec 5, 2024 · 2 comments

Comments

@dsplaisted
Copy link
Member

We should have documentation about the .NET SDK's trust boundary and how to use it securely. It should include:

Guidance:

  • Don't build projects from untrusted sources
  • Don't build projects from inside the Downloads folder
  • Don't build projects where the parent folder hierarchy up to the file system root isn't trusted (because of things like Directory.Build.props)

Local trust boundary:

  • SDK Installation
  • Project sources and all parent folders up to the file system root
  • Home folder
  • Environment variables

Also trusted:

  • NuGet packages
  • NuGet sources
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Dec 5, 2024
@Forgind Forgind added needs team triage Requires a full team discussion and removed untriaged Request triage from a team member labels Dec 10, 2024
@Forgind
Copy link
Member

Forgind commented Dec 10, 2024

<security>

@marcpopMSFT marcpopMSFT added Area-Security and removed needs team triage Requires a full team discussion labels Dec 10, 2024
@marcpopMSFT
Copy link
Member

@dotnet/msbuild we should build a shared document for this to help customers understand the trust areas for their builds. We want to link to this documentation from #45341.

@marcpopMSFT marcpopMSFT added this to the 10.0.1xx milestone Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants