← Back to scan
File as GitHub Issue repo: Legcord/Legcord

Push this scan report to Legcord/Legcord

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

Dart Null Bang

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… src/discord/venmic.ts:28
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. src/discord/preload/plugins.mts:62
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. src/discord/preload/patches.mts:144
HIGH MINED008 [MINED008] Swift Force Unwrap: optional! crashes on nil. Use guard let or if let. src/discord/preload/titlebar.mts:33
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. src/discord/preload/titlebar.mts:33
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/protocol.ts:30
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/discord/plugins/manager.ts:188
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/discord/preload/plugins.mts:133
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/common/themes.ts:199
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/common/themes.ts:27
HIGH SEC027 [SEC027] XML External Entity (XXE) — Node.js xml parsers: Node.js XML parsers can expand … scripts/utils/updateMeta.mts:55
HIGH MINED115 Action `ncipollo/release-action` pinned to mutable ref `@v1` .github/workflows/package.yml:115
HIGH MINED115 Action `ncipollo/release-action` pinned to mutable ref `@v1` .github/workflows/package.yml:102
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v6` .github/workflows/package.yml:96
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v6` .github/workflows/package.yml:83
HIGH MINED115 Action `actions/cache/save` pinned to mutable ref `@v5` .github/workflows/package.yml:72
HIGH MINED115 Action `actions/cache/restore` pinned to mutable ref `@v5` .github/workflows/package.yml:47
HIGH MINED115 Action `samuelmeuli/action-snapcraft` pinned to mutable ref `@v3` .github/workflows/package.yml:44
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/package.yml:31
HIGH MINED115 Action `pnpm/action-setup` pinned to mutable ref `@v6` .github/workflows/package.yml:28
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/package.yml:20
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/meta.yml:23
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/meta.yml:19
HIGH MINED115 Action `vedantmgoyal9/winget-releaser` pinned to mutable ref `@main` .github/workflows/winget.yml:9
HIGH MINED115 Action `biomejs/setup-biome` pinned to mutable ref `@v2` .github/workflows/lint.yml:12
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/lint.yml:10
HIGH MINED122 package.json dep `arrpc` pulled from URL/Git package.json:1
HIGH CORE_NO_TESTS No test files found
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… src/shelter/settings/components/Support…:40
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… src/shelter/settings/components/HeroUpd…:34
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/shelter/screenshare/components/Scre…:29
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/discord/preload/patches.mts:139
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/discord/preload/plugins.mts:62
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/common/themes.ts:27
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/discord/screenshare.ts:25
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/discord/globalKeybinds.ts:22
LOW AIC003 Duplicated implementation block across source files src/shelter/settings/components/icons/Q…:38
LOW AIC007 Generated build artifact directory is present at repository root build:1
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/setup/preload.mts:35
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/discord/preload/titlebar.mts:33
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/discord/preload/patches.mts:201
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/discord/menu.ts:48
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/discord/extensions/modloader.ts:58
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/discord/preload/plugins.mts:62
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/discord/preload/patches.mts:22
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… scripts/utils/updateMeta.mts:55
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/common/backup.ts:192
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/copyVenmic.mts:16
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … assets/app/js/patchVencordQuickCSS.js:23
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/common/themes.ts:205
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… assets/app/js/adguard.js:73
Reset to top 5 51 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `Legcord/Legcord`

**Score: 77/100 (B-)**  ·  51 findings  ·  scanned 2026-05-31 01:22 UTC  ·  8,954 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 25 |
| MEDIUM | 8 |
| LOW | 2 |

📊 [Full filterable report](https://www.repobility.com/scan/2025d0cc-4d3e-4226-82d5-1af68c4c8592/)  ·  ![scorecard](https://www.repobility.com/scan/2025d0cc-4d3e-4226-82d5-1af68c4c8592/report.png?v=1780190571-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `src/discord/venmic.ts:28`
2. **CRITICAL** `MINED035` — Js New Function
   `src/discord/preload/plugins.mts:62` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED005` — Lua Loadstring
   `src/discord/preload/patches.mts:144` · CWE-95 · ✓ Repobility
4. **HIGH** `MINED008` — Swift Force Unwrap
   `src/discord/preload/titlebar.mts:33` · CWE-476 · ✓ Repobility
5. **HIGH** `MINED002` — Dart Null Bang
   `src/discord/preload/titlebar.mts:33` · CWE-476 · ✓ Repobility

---

**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://www.repobility.com/scan/2025d0cc-4d3e-4226-82d5-1af68c4c8592/_
Megaproject â high spam risk
Could not determine 'Legcord/Legcord' 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.