← Back to scan
File as GitHub Issue repo: lyswhut/lx-music-desktop

Push this scan report to lyswhut/lx-music-desktop

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

Detected a Generic API Key, potentially exposing access to various services and sensitive

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 SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… publish/utils/updateChangeLog.js:4
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… build-config/pack.js:100
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/songList…:359
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/songList…:336
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/songList…:294
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/songList…:230
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/temp/son…:451
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/temp/son…:429
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/temp/son…:233
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/util.js:14
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/renderer/utils/musicSdk/kg/musicInf…:15
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/renderer/utils/musicSdk/tx/comment.…:275
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… src/renderer/utils/musicSdk/tx/songList…:301
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… src/renderer/utils/musicSdk/kw/musicSea…:108
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… src/main/modules/openApi/index.ts:10
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/main/modules/sync/server/modules/li…:15
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/main/modules/sync/server/modules/di…:15
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/common/utils/nodejs.ts:117
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/main/modules/userApi/utils.ts:66
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/common/utils/tools.ts:20
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/common/utils/lyric-font-player/line…:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/main/modules/sync/client/index.ts:16
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/common/utils/musicMeta/downloader.js:12
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/common/utils/download/request.ts:21
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/main/modules/openApi/index.ts:74
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … build-config/runner-dev.js:233
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … build-config/pack.js:43
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/renderer/utils/musicSdk/mg/lyric.js:42
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/common/utils/download/request.ts:31
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… build-config/build-after-pack.js:21
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/build-test.yml:14
HIGH MINED115 Action `peter-evans/repository-dispatch` pinned to mutable ref `@v4` .github/workflows/publish-version-info.…:12
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yml:181
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yml:138
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yml:90
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yml:49
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:283
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:275
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:267
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:259
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:251
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:243
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/beta-pack.yml:224
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:205
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:198
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/beta-pack.yml:173
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:157
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:149
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:141
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/beta-pack.yml:110
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:92
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:84
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:76
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/beta-pack.yml:68
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/beta-pack.yml:49
HIGH MINED122 package.json dep `webpack-hot-middleware` pulled from URL/Git package.json:1
HIGH MINED122 package.json dep `spinnies` pulled from URL/Git package.json:1
HIGH MINED122 package.json dep `eslint-formatter-friendly` pulled from URL/Git package.json:1
HIGH MINED122 package.json dep `needle` pulled from URL/Git package.json:1
HIGH GHSA-ph9p-34f9-6g65 tmp: GHSA-ph9p-34f9-6g65 package-lock.json
HIGH GHSA-v39h-62p7-jpjc fast-uri: GHSA-v39h-62p7-jpjc package-lock.json
HIGH GHSA-q3j6-qgpj-74h6 fast-uri: GHSA-q3j6-qgpj-74h6 package-lock.json
HIGH CORE_NO_TESTS No test files found
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/renderer/worker/download/download.ts:323
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/renderer/utils/request.js:53
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … src/renderer/router.ts:65
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/renderer/utils/musicSdk/kw/util.js:43
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/main/modules/sync/server/server/aut…:28
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/renderer/core/useApp/useInitUserApi…:42
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/main/utils/store.ts:17
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/common/utils/renderer.ts:54
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … src/common/utils/renderer.ts:54
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/main/modules/userApi/utils.ts:66
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/common/utils/tools.ts:20
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/common/utils/lyric-font-player/line…:28
MED DEPCUR-NPM npm package `vue-eslint-parser` is 1 major version(s) behind (9.4.3 -> 10.4.1) package.json
MED DEPCUR-NPM npm package `rimraf` is 3 major version(s) behind (3.0.2 -> 6.1.3) package.json
MED DEPCUR-NPM npm package `less-loader` is 1 major version(s) behind (12.3.2 -> 13.0.0) package.json
MED DEPCUR-NPM npm package `eslint-webpack-plugin` is 2 major version(s) behind (4.2.0 -> 6.0.0) package.json
MED DEPCUR-NPM npm package `eslint-plugin-vue` is 1 major version(s) behind (9.33.0 -> 10.9.2) package.json
MED DEPCUR-NPM npm package `electron-debug` is 1 major version(s) behind (3.2.0 -> 4.1.0) package.json
MED DEPCUR-NPM npm package `del` is 2 major version(s) behind (6.1.1 -> 8.0.1) package.json
MED DEPCUR-NPM npm package `chalk` is 4 major version(s) behind (1.1.3 -> 5.6.2) package.json
MED DEPCUR-NPM npm package `vue-router` is 1 major version(s) behind (4.5.1 -> 5.1.0) package.json
MED DEPCUR-NPM npm package `undici` is 2 major version(s) behind (6.25.0 -> 8.3.0) package.json
MED DEPCUR-NPM npm package `message2call` is 2 major version(s) behind (0.1.3 -> 2.0.3) package.json
MED DEPCUR-NPM npm package `image-size` is 1 major version(s) behind (1.2.1 -> 2.0.2) package.json
MED GHSA-58qx-3vcg-4xpx ws: GHSA-58qx-3vcg-4xpx package-lock.json
MED GHSA-79cf-xcqc-c78w webpack-dev-server: GHSA-79cf-xcqc-c78w package-lock.json
MED GHSA-w5hq-g745-h8pq uuid: GHSA-w5hq-g745-h8pq package-lock.json
MED GHSA-q8mj-m7cp-5q26 qs: GHSA-q8mj-m7cp-5q26 package-lock.json
MED GHSA-jxxr-4gwj-5jf2 brace-expansion: GHSA-jxxr-4gwj-5jf2 package-lock.json
MED WEB003 Public web service has no security.txt .well-known/security.txt
LOW DEPCUR-NPM npm package `ts-loader` is minor version(s) behind (9.5.7 -> 9.6.0) package.json
LOW DEPCUR-NPM npm package `terser-webpack-plugin` is minor version(s) behind (5.5.0 -> 5.6.1) package.json
LOW DEPCUR-NPM npm package `terser` is minor version(s) behind (5.46.2 -> 5.48.0) package.json
LOW DEPCUR-NPM npm package `core-js` is minor version(s) behind (3.37.0 -> 3.49.0) package.json
LOW DEPCUR-NPM npm package `@vue/language-plugin-pug` is minor version(s) behind (3.2.7 -> 3.3.3) package.json
LOW DEPCUR-NPM npm package `@types/ws` is minor version(s) behind (8.5.4 -> 8.18.1) package.json
LOW DEPCUR-NPM npm package `ws` is minor version(s) behind (8.20.0 -> 8.21.0) package.json
LOW DEPCUR-NPM npm package `iconv-lite` is minor version(s) behind (0.4.24 -> 0.7.2) package.json
LOW DEPCUR-NPM npm package `font-list` is minor version(s) behind (2.0.2 -> 2.1.0) package.json
LOW DEPCUR-NPM npm package `comlink` is minor version(s) behind (4.3.1 -> 4.4.2) package.json
LOW DEPCUR-NPM npm package `better-sqlite3` is minor version(s) behind (12.9.0 -> 12.10.0) package.json
LOW AIC003 Duplicated implementation block across source files src/renderer/components/layout/PlayBar/…:3
LOW AIC003 Duplicated implementation block across source files src/renderer/components/index.js:1
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/VolumeBt…:55
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/VolumeBt…:45
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/TogglePl…:98
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/TogglePl…:87
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:45
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:76
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:50
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:129
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:78
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/SoundEff…:11
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/ListAddM…:7
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/Download…:48
LOW AIC003 Duplicated implementation block across source files src/renderer/components/common/AudioVis…:25
LOW AIC003 Duplicated implementation block across source files src/renderer/components/base/Virtualize…:13
LOW AIC003 Duplicated implementation block across source files src/renderer-lyric/components/layout/us…:38
LOW AIC003 Duplicated implementation block across source files src/renderer-lyric/components/layout/Ly…:46
LOW AIC003 Duplicated implementation block across source files src/renderer-lyric/components/layout/Ly…:1
LOW AIC003 Duplicated implementation block across source files src/main/modules/sync/utils.ts:25
LOW AIC003 Duplicated implementation block across source files src/main/modules/sync/server/modules/li…:359
LOW AIC003 Duplicated implementation block across source files src/main/modules/sync/server/modules/li…:17
LOW AIC003 Duplicated implementation block across source files src/main/modules/sync/server/modules/li…:13
LOW AIC003 Duplicated implementation block across source files src/common/utils/request_node16.ts:5
LOW AIC003 Duplicated implementation block across source files src/common/utils/musicMeta/flac-metadat…:30
LOW AIC003 Duplicated implementation block across source files build-config/renderer/webpack.config.de…:9
LOW AIC003 Duplicated implementation block across source files build-config/renderer/webpack.config.ba…:13
LOW AIC003 Duplicated implementation block across source files build-config/renderer-scripts/webpack.c…:2
LOW AIC003 Duplicated implementation block across source files build-config/renderer-scripts/webpack.c…:1
LOW AIC003 Duplicated implementation block across source files build-config/renderer-scripts/webpack.c…:7
LOW WEB001 Public web app has no robots.txt robots.txt
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/renderer/utils/musicSdk/mg/temp/lea…:1
LOW AIC002 Source file name looks like an AI patch artifact src/renderer/utils/musicSdk/kw/api-temp…:1
LOW AIC002 Source file name looks like an AI patch artifact src/renderer/utils/musicSdk/kg/temp/son…:1
LOW AIC002 Source file name looks like an AI patch artifact src/renderer/utils/musicSdk/kg/temp/mus…:1
LOW AIC002 Source file name looks like an AI patch artifact build-config/lib-update.js:1
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/main/modules/userApi/utils.ts:10
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/main/modules/sync/server/server/ser…:48
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/main/modules/sync/client/client.ts:169
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/renderer/core/useApp/useDeeplink/in…:47
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/main/modules/winMain/rendererEvent/…:8
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/common/utils/tools.ts:29
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/main/modules/sync/server/server/ser…:315
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/common/utils/request_node16.ts:33
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/common/utils/request.ts:59
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/common/utils/migrateSetting.ts:20
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/common/utils/download/index.ts:64
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/common/utils/common.ts:24
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … build-config/dependencies-patch.js:28
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … build-config/build-pack.js:308
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … build-config/build-before-pack.js:35
INFO DEPCUR-NPM npm package `postcss` is patch version(s) behind (8.5.13 -> 8.5.15) package.json
INFO DEPCUR-NPM npm package `electron-log` is patch version(s) behind (5.4.3 -> 5.4.4) package.json
Reset to top 5 160 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `lyswhut/lx-music-desktop`

**Score: 71/100 (C-)**  ·  160 findings  ·  scanned 2026-06-05 11:34 UTC  ·  74,559 LOC

| Severity | Count |
|---|---|
| CRITICAL | 11 |
| HIGH | 52 |
| MEDIUM | 30 |
| LOW | 50 |

📊 [Full filterable report](https://repobility.com/scan/1fee4853-1002-43b2-a00d-3f10f3af7890/)  ·  ![scorecard](https://repobility.com/scan/1fee4853-1002-43b2-a00d-3f10f3af7890/report.png?v=1780659299-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `publish/utils/updateChangeLog.js:4`
2. **CRITICAL** `SEC084` — JS: require() with non-literal
   `build-config/pack.js:100`
3. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/renderer/utils/musicSdk/kg/songList.js:359`
4. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/renderer/utils/musicSdk/kg/songList.js:336`
5. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/renderer/utils/musicSdk/kg/songList.js:294`

---

**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/1fee4853-1002-43b2-a00d-3f10f3af7890/_
Megaproject â high spam risk
Could not determine 'lyswhut/lx-music-desktop' 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.