← Back to scan
File as GitHub Issue repo: microsoft/WSL

Push this scan report to microsoft/WSL

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Async function without await — fire-and-forget Promise (AI mistake)

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `string` used but not imported: The file uses `string.somethin… tools/devops/validate-localization.py:117
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… tools/devops/create-release.py:87
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/windows/wslcsession/WSLCContainer.h:103
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/windows/wslc/services/ContainerServ…:36
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/windows/service/exe/GuestTelemetryL…:20
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/windows/common/Dmesg.cpp:27
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/windows/common/ConsoleProgressIndic…:30
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/windows/wslcsession/DockerHTTPClien…:55
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/windows/common/filesystem.hpp:222
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… distributions/validate.py:24
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 36 (SonarSo… tools/devops/create-release.py:28
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/distributions.yml:16
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/issue_edited.yml:16
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/new_issue_comment.yml:17
HIGH MINED115 [MINED115] Action `actions/deploy-pages` pinned to mutable ref `@v4`: `uses: actions/depl… .github/workflows/documentation.yml:39
HIGH MINED115 [MINED115] Action `actions/upload-pages-artifact` pinned to mutable ref `@v4`: `uses: act… .github/workflows/documentation.yml:32
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/documentation.yml:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/modern-distributions.…:16
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/new_issue.yml:16
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… distributions/validate-modern.py:510
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… distributions/validate-modern.py:164
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/windows/wslcsession/WSLCContainer.h:103
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/windows/wslc/services/ContainerServ…:36
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/windows/common/WSLCProcessLauncher.…:201
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/shared/inc/defs.h:67
MED DKR007 Docker build context has no .dockerignore .dockerignore
LOW COMP001 [COMP001] High cognitive complexity: Function `has_header` has cognitive complexity 10 (S… tools/devops/validate-copyright-headers…:9
LOW AIC003 Duplicated implementation block across source files src/windows/wslc/commands/ContainerRunC…:19
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/WslCoreInstance…:51
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/WslCoreInstance…:50
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/WslCoreInstance…:35
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/WslCoreInstance…:115
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/WslCoreInstance…:113
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/LxssInstance.h:22
LOW AIC003 Duplicated implementation block across source files src/windows/service/exe/LxssInstance.cpp:100
LOW AIC003 Duplicated implementation block across source files src/windows/inc/wslc_schema.h:119
LOW AIC003 Duplicated implementation block across source files src/linux/netlinkutil/IpRuleManager.cpp:16
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… tools/devops/create-release.py:97
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… tools/devops/create-change.py:52
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/windows/wslsettings/ViewModels/Sett…:32
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/windows/wslsettings/Services/Window…:24
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/windows/wslsettings/Behaviors/Navig…:30
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/windows/service/exe/LxssConsoleMana…:37
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/windows/service/exe/GuestTelemetryL…:34
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/windows/common/Dmesg.cpp:57
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. src/shared/inc/defs.h:67
Reset to top 5 46 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `microsoft/WSL`

**Score: 81/100 (A-)**  ·  73 findings  ·  scanned 2026-06-05 23:56 UTC  ·  283,982 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 18 |
| MEDIUM | 7 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/deb3e566-da32-473d-9c78-ca3d22cfe046/)  ·  ![scorecard](https://repobility.com/scan/deb3e566-da32-473d-9c78-ca3d22cfe046/report.png?v=1780703793-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `string` used but not imported
   `tools/devops/validate-localization.py:117` · ✓ Repobility
2. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `tools/devops/create-release.py:87` · A03:2021 Injection
3. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `src/windows/wslcsession/WSLCContainer.h:103`
4. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `src/windows/wslc/services/ContainerService.h:36`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/windows/service/exe/GuestTelemetryLogger.cpp:20`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/deb3e566-da32-473d-9c78-ca3d22cfe046/_
Already filed
'microsoft' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 9 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'microsoft/WSL' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
35/78 findings (45%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.