/diagnostics/collect-wsl-logs.ps1 should strip/anonymize user name and owner name from the resulting zip file
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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