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

Push this scan report to microsoft/PowerToys

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

`self._build_edge_map` used but never assigned in __init__

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
HIGH MINED108 [MINED108] `self._calculate_projected_position` used but never assigned in __init__: Meth… src/modules/MouseUtils/CursorWrap/Curso…:378
HIGH MINED108 [MINED108] `self.find_opposite_outer_edge` used but never assigned in __init__: Method `f… src/modules/MouseUtils/CursorWrap/Curso…:323
HIGH MINED108 [MINED108] `self._edges_are_adjacent` used but never assigned in __init__: Method `_ident… src/modules/MouseUtils/CursorWrap/Curso…:237
HIGH MINED108 [MINED108] `self._identify_outer_edges` used but never assigned in __init__: Method `init… src/modules/MouseUtils/CursorWrap/Curso…:178
HIGH MINED108 [MINED108] `self._build_edge_map` used but never assigned in __init__: Method `initialize… src/modules/MouseUtils/CursorWrap/Curso…:177
HIGH MINED108 [MINED108] `self.detailed_failure_dump` used but never assigned in __init__: Method `run_… src/modules/MouseUtils/CursorWrap/Curso…:382
HIGH MINED108 [MINED108] `self.analyze_wrap_calculation_failures` used but never assigned in __init__: … src/modules/MouseUtils/CursorWrap/Curso…:376
HIGH MINED108 [MINED108] `self.generate_github_copilot_prompt` used but never assigned in __init__: Met… src/modules/MouseUtils/CursorWrap/Curso…:363
HIGH MINED108 [MINED108] `self.print_recommendations` used but never assigned in __init__: Method `run_… src/modules/MouseUtils/CursorWrap/Curso…:379
HIGH MINED108 [MINED108] `self.explain_common_issues` used but never assigned in __init__: Method `run_… src/modules/MouseUtils/CursorWrap/Curso…:378
HIGH MINED108 [MINED108] `self.analyze_failure_patterns` used but never assigned in __init__: Method `r… src/modules/MouseUtils/CursorWrap/Curso…:372
HIGH MINED108 [MINED108] `self.print_overview` used but never assigned in __init__: Method `run_analysi… src/modules/MouseUtils/CursorWrap/Curso…:366
HIGH MINED108 [MINED108] `self._generate_recommendations` used but never assigned in __init__: Method `… src/modules/MouseUtils/CursorWrap/Curso…:802
HIGH MINED108 [MINED108] `self._print_layout_diagram` used but never assigned in __init__: Method `run_… src/modules/MouseUtils/CursorWrap/Curso…:691
HIGH MINED108 [MINED108] `self._run_test_config` used but never assigned in __init__: Method `run_all_t… src/modules/MouseUtils/CursorWrap/Curso…:702
HIGH MINED108 [MINED108] `self._save_report` used but never assigned in __init__: Method `run_all_tests… src/modules/MouseUtils/CursorWrap/Curso…:706
HIGH MINED108 [MINED108] `self._print_summary` used but never assigned in __init__: Method `run_all_tes… src/modules/MouseUtils/CursorWrap/Curso…:705
HIGH MINED108 [MINED108] `self._point_in_range` used but never assigned in __init__: Method `_wrap_from… src/modules/MouseUtils/CursorWrap/Curso…:224
HIGH MINED108 [MINED108] `self._get_opposite_edge_type` used but never assigned in __init__: Method `_w… src/modules/MouseUtils/CursorWrap/Curso…:219
HIGH MINED108 [MINED108] `self._wrap_from_edge` used but never assigned in __init__: Method `calculate_… src/modules/MouseUtils/CursorWrap/Curso…:199
HIGH MINED108 [MINED108] `self._is_on_edge` used but never assigned in __init__: Method `calculate_wrap… src/modules/MouseUtils/CursorWrap/Curso…:198
HIGH MINED108 [MINED108] `self._ranges_overlap` used but never assigned in __init__: Method `_is_outer_… src/modules/MouseUtils/CursorWrap/Curso…:159
HIGH MINED108 [MINED108] `self._get_opposite_edge_type` used but never assigned in __init__: Method `_i… src/modules/MouseUtils/CursorWrap/Curso…:153
HIGH MINED108 [MINED108] `self._is_outer_edge` used but never assigned in __init__: Method `_detect_out… src/modules/MouseUtils/CursorWrap/Curso…:111
HIGH MINED108 [MINED108] `self._collect_all_edges` used but never assigned in __init__: Method `_detect… src/modules/MouseUtils/CursorWrap/Curso…:108
HIGH SEC061 [SEC061] JWT in source: Three-part JWT (likely signed token). Even if expired, may leak s… src/modules/cmdpal/Microsoft.CmdPal.UI/…:32
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. src/modules/cmdNotFound/CmdNotFoundModu…:57
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/common/ManagedCommon/Logger.cs:116
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/common/FilePreviewCommon/Helper.cs:28
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/common/FilePreviewCommon/Formatters…:35
HIGH SEC025 [SEC025] XML External Entity (XXE) — .NET XmlDocument / XmlTextReader: .NET XmlDocument a… src/common/FilePreviewCommon/Formatters…:23
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/Monaco/monacoSRC/min/vs/basic-langu…:8
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/Monaco/monacoSRC/min/vs/basic-langu…:8
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/modules/cmdpal/Microsoft.CmdPal.Com…:135
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/common/updating/updating.cpp:29
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .github/scripts/telemetry-pr-check.js:276
HIGH MINED134 [MINED134] Binary file `installer/PowerToysSetupVNext/WebView2/MicrosoftEdgeWebview2Setup… installer/PowerToysSetupVNext/WebView2/…:1
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/telemetry-pr-check.yml:30
HIGH MINED115 [MINED115] Action `pelikhan/action-genai-issue-dedup` pinned to mutable ref `@v0`: `uses:… .github/workflows/manual-batch-issue-de…:33
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/manual-batch-issue-de…:30
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/git… .github/workflows/auto-label-issues.yml:31
HIGH MINED115 [MINED115] Action `pelikhan/action-genai-issue-dedup` pinned to mutable ref `@v0`: `uses:… .github/workflows/automatic-issue-dedup…:16
HIGH MINED115 [MINED115] Action `actions/dependency-review-action` pinned to mutable ref `@v4`: `uses: … .github/workflows/dependency-review.yml:26
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/dependency-review.yml:24
HIGH MINED115 [MINED115] Action `azure/cli` pinned to mutable ref `@v3`: `uses: azure/cli@v3` resolves … .github/workflows/msstore-submissions.y…:50
HIGH MINED115 [MINED115] Action `microsoft/setup-msstore-cli` pinned to mutable ref `@v1`: `uses: micro… .github/workflows/msstore-submissions.y…:46
HIGH MINED115 [MINED115] Action `actions/setup-dotnet` pinned to mutable ref `@v5`: `uses: actions/setu… .github/workflows/msstore-submissions.y…:43
HIGH MINED115 [MINED115] Action `azure/login` pinned to mutable ref `@v3`: `uses: azure/login@v3` resol… .github/workflows/msstore-submissions.y…:26
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… src/modules/MouseWithoutBorders/App/Cor…:54
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/modules/MouseUtils/CursorWrap/Curso…:1086
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/modules/MouseUtils/CursorWrap/Curso…:1808
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… src/modules/MouseUtils/CursorWrap/Curso…:424
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/modules/cmdpal/ext/Microsoft.CmdPal…:85
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … src/Monaco/monacoSRC/min/vs/basic-langu…:8
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … src/Monaco/monacoSRC/min/vs/basic-langu…:8
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … src/Monaco/monacoSRC/min/vs/basic-langu…:8
MED DKR007 Docker build context has no .dockerignore .dockerignore
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… src/modules/cmdpal/Microsoft.CmdPal.Com…:140
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… src/modules/MouseWithoutBorders/App/Cor…:112
LOW AIC003 Duplicated implementation block across source files src/modules/CropAndLock/CropAndLock/Thu…:34
LOW AIC003 Duplicated implementation block across source files src/modules/CropAndLock/CropAndLock/Rep…:4
LOW AIC003 Duplicated implementation block across source files src/modules/AdvancedPaste/AdvancedPaste…:54
LOW AIC003 Duplicated implementation block across source files src/common/utils/json.h:6
LOW AIC003 Duplicated implementation block across source files src/common/UITestAutomation/Element/Tab…:14
LOW AIC003 Duplicated implementation block across source files src/common/UITestAutomation/Element/Nav…:17
LOW AIC003 Duplicated implementation block across source files src/common/Telemetry/TraceBase.h:21
LOW AIC003 Duplicated implementation block across source files src/common/Telemetry/EtwTrace/EtwTrace.…:8
LOW AIC002 Source file name looks like an AI patch artifact src/Update/PowerToys.Update.cpp:1
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… src/modules/cmdpal/Microsoft.CmdPal.UI/…:33
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… src/modules/cmdpal/ExtensionTemplate/Te…:22
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/modules/cmdpal/Microsoft.CmdPal.UI.…:72
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/modules/Workspaces/WorkspacesLib.Un…:178
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/modules/MouseWithoutBorders/App/Hel…:67
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. src/modules/Workspaces/WorkspacesLib/St…:29
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. src/modules/LightSwitch/LightSwitchServ…:10
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/common/UITestAutomation/VisualAsser…:63
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/common/UITestAutomation/Element/By.…:46
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/common/LanguageModelProvider/Foundr…:193
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/modules/EnvironmentVariables/Enviro…:285
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/common/interop/TwoWayPipeMessageIPC…:18
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… installer/PowerToysSetupVNext/SilentFil…:136
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/scripts/telemetry-pr-check.js:259
Reset to top 5 82 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

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

**Score: 85/100 (B-)**  ·  84 findings  ·  scanned 2026-06-05 04:55 UTC  ·  769,782 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 49 |
| MEDIUM | 8 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/5bbaf307-4009-4846-ae56-f38d6ab4b085/)  ·  ![scorecard](https://repobility.com/scan/5bbaf307-4009-4846-ae56-f38d6ab4b085/report.png?v=1780635317-s2)

### Top findings

1. **HIGH** `MINED108` — `self._calculate_projected_position` used but never assigned in __init__
   `src/modules/MouseUtils/CursorWrap/CursorWrapTests/WrapSimulator/wrap_simulator.py:378` · ✓ Repobility
2. **HIGH** `MINED108` — `self.find_opposite_outer_edge` used but never assigned in __init__
   `src/modules/MouseUtils/CursorWrap/CursorWrapTests/WrapSimulator/wrap_simulator.py:323` · ✓ Repobility
3. **HIGH** `MINED108` — `self._edges_are_adjacent` used but never assigned in __init__
   `src/modules/MouseUtils/CursorWrap/CursorWrapTests/WrapSimulator/wrap_simulator.py:237` · ✓ Repobility
4. **HIGH** `MINED108` — `self._identify_outer_edges` used but never assigned in __init__
   `src/modules/MouseUtils/CursorWrap/CursorWrapTests/WrapSimulator/wrap_simulator.py:178` · ✓ Repobility
5. **HIGH** `MINED108` — `self._build_edge_map` used but never assigned in __init__
   `src/modules/MouseUtils/CursorWrap/CursorWrapTests/WrapSimulator/wrap_simulator.py:177` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/5bbaf307-4009-4846-ae56-f38d6ab4b085/_
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/PowerToys' 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
37/92 findings (40%) 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.