microsoft / microsoft/WSL

/diagnostics/collect-wsl-logs.ps1 should strip/anonymize user name and owner name from the resulting zip file

Open
#13,189 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Steps: follow log collection instructions https://github.com/microsoft/WSL/issues/13138#issuecomment-2983991092
Result: privacy sensitive data is leaked in HKCU.txt and windows-version.txt (windows username and product owner name and RegisteredOrganization)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect diagnostics/collect-wsl-logs.ps1 and follow the linked log-collection instructions to reproduce the archive. Check how HKCU.txt and windows-version.txt are generated, then verify that the Windows username, product owner name, and RegisteredOrganization are stripped or anonymized from the resulting zip.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.