← Back to scan
File as GitHub Issue repo: 2dust/v2rayN

Push this scan report to 2dust/v2rayN

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
HIGH SEC025 [SEC025] XML External Entity (XXE) — .NET XmlDocument / XmlTextReader: .NET XmlDocument a… v2rayN/v2rayN.Desktop/Views/JsonEditor.…:76
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). v2rayN/ServiceLib/Common/WindowsUtils.cs:62
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … v2rayN/ServiceLib/Handler/AutoStartupHa…:188
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … v2rayN/ServiceLib/Common/FileUtils.cs:145
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … v2rayN/AmazTool/UpgradeApp.cs:46
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7.0.1` .github/workflows/build.yml:68
HIGH MINED115 Action `actions/setup-dotnet` pinned to mutable ref `@v5.3.0` .github/workflows/build.yml:55
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build.yml:49
HIGH MINED126 Workflow container/services image `debian:13` unpinned .github/workflows/build-linux.yml:261
HIGH MINED126 Workflow container/services image `rockylinux/rockylinux:10` unpinned .github/workflows/build-linux.yml:188
HIGH MINED126 Workflow container/services image `registry.access.redhat.com/ubi10/ubi` unpinned .github/workflows/build-linux.yml:88
HIGH MINED126 Workflow container/services image `debian:13` unpinned .github/workflows/build-linux.yml:36
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/build-linux.yml:497
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build-linux.yml:356
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/build-linux.yml:175
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build-linux.yml:154
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/build-linux.yml:75
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build-linux.yml:52
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/build-osx.yml:69
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/build-osx.yml:51
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build-osx.yml:48
HIGH MINED115 Action `svenstaro/upload-release-action` pinned to mutable ref `@v2` .github/workflows/package-zip.yml:62
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/package-zip.yml:43
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/package-zip.yml:40
HIGH MINED115 Action `actions/setup-dotnet` pinned to mutable ref `@v5.3.0` .github/workflows/test.yml:23
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/test.yml:17
HIGH CORE_NO_TESTS No test files found
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… v2rayN/ServiceLib/Handler/Fmt/Shadowsoc…:128
LOW DEPCUR-GHA GitHub Action `svenstaro/upload-release-action@v2` is minor version(s) behind (latest 2.1… .github/workflows/build-linux.yml:75
LOW DEPCUR-GHA GitHub Action `svenstaro/upload-release-action@v2` is minor version(s) behind (latest 2.1… .github/workflows/build-osx.yml:69
LOW DEPCUR-GHA GitHub Action `svenstaro/upload-release-action@v2` is minor version(s) behind (latest 2.1… .github/workflows/package-zip.yml:62
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/OptionSettingWindow…:14
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/MainWindow.xaml.cs:52
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/GlobalHotkeySetting…:29
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/FullConfigTemplateW…:23
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/FullConfigTemplateW…:10
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/DNSSettingWindow.xa…:60
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/DNSSettingWindow.xa…:10
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/ClashProxiesView.xa…:9
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/ClashConnectionsVie…:5
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/CheckUpdateView.xam…:3
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/BackupAndRestoreVie…:6
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/AddServerWindow.xam…:22
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/AddGroupServerWindo…:89
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Views/AddGroupServerWindo…:12
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/ViewModels/ThemeSettingVi…:85
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/Properties/Resources.Desi…:18
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN/GlobalUsings.cs:24
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN.Desktop/Views/SubEditWind…:31
LOW AIC003 Duplicated implementation block across source files v2rayN/v2rayN.Desktop/Views/RoutingRule…:46
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/ViewModels/ProfilesVi…:312
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/ViewModels/ProfilesVi…:99
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Services/CoreConfig/V…:220
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Services/CoreConfig/V…:6
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Services/CoreConfig/V…:54
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Services/CoreConfig/S…:128
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Handler/Fmt/Wireguard…:10
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Handler/Fmt/V2rayFmt.…:4
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/Handler/Fmt/SocksFmt.…:77
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib/GlobalUsings.cs:12
LOW AIC003 Duplicated implementation block across source files v2rayN/ServiceLib.Tests/CoreConfig/V2ra…:136
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… v2rayN/ServiceLib.Tests/Fmt/WireguardFm…:35
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… v2rayN/ServiceLib.Tests/Fmt/InnerFmtTes…:29
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… v2rayN/ServiceLib.Tests/Fmt/FmtHandlerT…:95
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… v2rayN/ServiceLib/Handler/AutoStartupHa…:231
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… package-osx.sh:21
INFO DEPCUR-GHA GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3) .github/workflows/build.yml:49
INFO DEPCUR-GHA GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3) .github/workflows/build-linux.yml:52
INFO DEPCUR-GHA GitHub Action `actions/download-artifact@v8` is patch version(s) behind (latest v8.0.1) .github/workflows/build-osx.yml:51
INFO DEPCUR-GHA GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3) .github/workflows/build-osx.yml:48
INFO DEPCUR-GHA GitHub Action `actions/download-artifact@v8` is patch version(s) behind (latest v8.0.1) .github/workflows/package-zip.yml:43
INFO DEPCUR-GHA GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3) .github/workflows/package-zip.yml:40
INFO DEPCUR-GHA GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3) .github/workflows/test.yml:17
Reset to top 5 73 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `2dust/v2rayN`

**Score: 77/100 (C)**  ·  73 findings  ·  scanned 2026-06-05 05:48 UTC  ·  47,004 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 27 |
| MEDIUM | 1 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/8cc72ae0-e1a5-488d-8313-a22c54f41ff1/)  ·  ![scorecard](https://repobility.com/scan/8cc72ae0-e1a5-488d-8313-a22c54f41ff1/report.png?v=1780638509-s2)

### Top findings

1. **HIGH** `SEC025` — XML External Entity (XXE) — .NET XmlDocument / XmlTextReader
   `v2rayN/v2rayN.Desktop/Views/JsonEditor.axaml.cs:76` · A05:2021 Security Misconfiguration (XXE)
2. **HIGH** `MINED004` — Weak Crypto
   `v2rayN/ServiceLib/Common/WindowsUtils.cs:62` · CWE-327 · ✓ Repobility
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `v2rayN/ServiceLib/Handler/AutoStartupHandler.cs:188`
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `v2rayN/ServiceLib/Common/FileUtils.cs:145`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `v2rayN/AmazTool/UpgradeApp.cs:46`

---

**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/8cc72ae0-e1a5-488d-8313-a22c54f41ff1/_
Megaproject â high spam risk
Could not determine '2dust/v2rayN' 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
31/77 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.