← Back to scan
File as GitHub Issue repo: clash-verge-rev/clash-verge-rev

Push this scan report to clash-verge-rev/clash-verge-rev

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

JS: child_process.exec with non-literal

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 MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/utils/uri-parser/helpers.ts:314
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/hooks/use-system-proxy-state.ts:76
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/hooks/use-mihomo-ws-subscription.ts:325
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/hooks/use-connection-data.ts:42
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/utils/uri-parser/helpers.ts:8
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/components/proxy/use-filter-sort.ts:131
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/components/log/log-item.tsx:76
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/utils/search-matcher.ts:18
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/components/log/log-item.tsx:60
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src-tauri/src/feat/profile.rs:87
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src-tauri/src/config/mod.rs:12
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src-tauri/src/cmd/app.rs:31
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/pages/home.tsx:86
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/pages/_layout/hooks/use-custom-them…:319
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… scripts/generate-i18n-keys.mjs:81
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … src-tauri/src/main.rs:21
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … src-tauri/src/feat/icon.rs:219
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/clash-verge-limiter/src/lib.rs:117
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/updater.yml:4
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/release.yml:11
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/clean-old-assets.yml:28
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/autobuild.yml:8
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/telegram-notify.yml:27
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/frontend-check.yml:55
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/frontend-check.yml:46
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v6`: `uses: pnpm/action-set… .github/workflows/frontend-check.yml:43
HIGH MINED115 [MINED115] Action `dorny/paths-filter` pinned to mutable ref `@v4`: `uses: dorny/paths-fi… .github/workflows/frontend-check.yml:18
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/frontend-check.yml:14
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/dev.yml:26
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/dev.yml:172
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/dev.yml:164
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/dev.yml:156
HIGH MINED115 [MINED115] Action `tauri-apps/tauri-action` pinned to mutable ref `@v0`: `uses: tauri-app… .github/workflows/dev.yml:138
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/dev.yml:110
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/dev.yml:104
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v6`: `uses: pnpm/action-set… .github/workflows/dev.yml:95
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/dev.yml:80
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@1.91.0`: `uses: dtolna… .github/workflows/dev.yml:77
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/dev.yml:73
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/autobuild-check-test.…:12
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/cross_check.yaml:59
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v6`: `uses: pnpm/action-set… .github/workflows/cross_check.yaml:47
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/cross_check.yaml:44
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/cross_check.yaml:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/cross_check.yaml:33
HIGH MINED115 [MINED115] Action `rustsec/audit-check` pinned to mutable ref `@v2`: `uses: rustsec/audit… .github/workflows/cargo-audit.yml:33
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@master`: `uses: dtolna… .github/workflows/cargo-audit.yml:28
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/cargo-audit.yml:25
HIGH MINED122 [MINED122] package.json dep `tauri-plugin-mihomo-api` pulled from URL/Git: `dependencies.… package.json:1
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/hooks/use-system-proxy-state.ts:63
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/hooks/use-service-uninstaller.ts:39
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/components/setting/setting-clash.tsx:89
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/utils/uri-parser/helpers.ts:8
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/components/proxy/use-filter-sort.ts:131
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/components/log/log-item.tsx:76
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED AGT007 localStorage write failures are swallowed silently src/components/proxy/use-head-state.ts:92
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT006 React interval is created without an explicit cleanup src/components/setting/mods/auto-backup…:55
MED WEB015 Public web app has no Content Security Policy index.html
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. src/utils/uri-parser/helpers.ts:211
LOW AIC003 Duplicated implementation block across source files src/utils/uri-parser/socks.ts:34
LOW AIC003 Duplicated implementation block across source files src/pages/test.tsx:39
LOW AIC003 Duplicated implementation block across source files src/locales/zhtw/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/zh/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/tt/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/tr/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/ru/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/ko/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/jp/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/id/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/fa/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/es/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/en/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/locales/de/index.ts:6
LOW AIC003 Duplicated implementation block across source files src/hooks/use-service-uninstaller.ts:3
LOW AIC003 Duplicated implementation block across source files src/components/setting/mods/misc-viewer…:342
LOW AIC003 Duplicated implementation block across source files src/components/rule/provider-button.tsx:69
LOW AIC003 Duplicated implementation block across source files src/components/proxy/proxy-render.tsx:221
LOW AIC003 Duplicated implementation block across source files src/components/proxy/proxy-item.tsx:111
LOW AIC003 Duplicated implementation block across source files src/components/profile/rules-editor-vie…:1
LOW AIC003 Duplicated implementation block across source files src/components/profile/rule-item.tsx:42
LOW AIC003 Duplicated implementation block across source files src/components/profile/rule-item.tsx:1
LOW AIC003 Duplicated implementation block across source files src/components/profile/proxy-item.tsx:34
LOW AIC003 Duplicated implementation block across source files src-tauri/src/feat/window.rs:18
LOW AIC003 Duplicated implementation block across source files crates/clash-verge-signal/src/windows.rs:55
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW WEB005 robots.txt does not advertise a sitemap pnpm-lock.yaml
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW AIC002 Source file name looks like an AI patch artifact src/hooks/use-update.ts:1
LOW AIC002 Source file name looks like an AI patch artifact src-tauri/src/module/auto_backup.rs:1
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED065 [MINED065] Cors Wildcard: Access-Control-Allow-Origin: * exposes the API to any browser o… src/components/setting/mods/external-co…:87
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/components/setting/setting-clash.tsx:227
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/components/setting/mods/guard-state…:36
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/components/profile/profile-viewer.t…:70
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/components/setting/mods/update-view…:38
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/components/setting/mods/setting-com…:44
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/components/profile/profile-more.tsx:89
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/profile/profile-more.tsx:177
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/profile/file-input.tsx:19
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/home/home-profile-card.t…:70
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src-tauri/src/feat/proxy.rs:81
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src-tauri/src/feat/icon.rs:248
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src-tauri/src/core/sysopt.rs:158
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src-tauri/src/utils/server.rs:65
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src-tauri/src/feat/clash.rs:20
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src-tauri/src/core/handle.rs:32
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/portable.mjs:50
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/portable-fixed-webview2.mjs:66
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/generate-i18n-keys.mjs:115
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… src-tauri/src/enhance/script.rs:40
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… src-tauri/src/core/manager/state.rs:34
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/tauri-plugin-clash-verge-sysinfo…:113
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/clash-verge-draft/bench/benche_m…:22
Reset to top 5 116 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `clash-verge-rev/clash-verge-rev`

**Score: 80/100 (B+)**  ·  116 findings  ·  scanned 2026-06-05 05:07 UTC  ·  64,663 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 49 |
| MEDIUM | 12 |
| LOW | 32 |

📊 [Full filterable report](https://repobility.com/scan/70d8c93a-fc81-4ae3-82eb-6ef2d0458c0b/)  ·  ![scorecard](https://repobility.com/scan/70d8c93a-fc81-4ae3-82eb-6ef2d0458c0b/report.png?v=1780636078-s2)

### Top findings

1. **HIGH** `MINED004` — Weak Crypto
   `src/utils/uri-parser/helpers.ts:314` · CWE-327 · ✓ Repobility
2. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/hooks/use-system-proxy-state.ts:76`
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/hooks/use-mihomo-ws-subscription.ts:325`
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/hooks/use-connection-data.ts:42`
5. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `src/utils/uri-parser/helpers.ts:8`

---

**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/70d8c93a-fc81-4ae3-82eb-6ef2d0458c0b/_
Megaproject â high spam risk
Could not determine 'clash-verge-rev/clash-verge-rev' 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.

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.