← Back to scan
File as GitHub Issue repo: xuzhougeng/wispterm

Push this scan report to xuzhougeng/wispterm

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 MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. src/ai_history_cache.zig:34
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. src/RendererThread.zig:97
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. pkg/opengl/glad.zig:15
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/remote_client.zig:737
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… src/remote_snapshot.zig:161
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… remote/src/server/dev_mock.ts:4
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/superpowers/plans/2026-05-09-remot…:977
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/weixin/types.zig:64
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/weixin/media.zig:58
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/platform/remote_file.zig:107
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. src/platform/agent_prompt.zig:92
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. src/input/file_drop_path.zig:15
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. src/ai_chat_types.zig:143
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/notification.zig:98
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … remote/src/worker.ts:133
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … remote/src/server/index.ts:106
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/html_server_model.zig:55
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/browser_url.zig:12
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… remote/src/worker.ts:35
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… remote/src/server/bridge/weixin/agent.ts:175
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… remote/src/client/views/login.ts:8
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… remote/src/client/ai_chat_transcript.ts:16
HIGH DKR014 Dockerfile copies the entire context without .dockerignore remote/Dockerfile:10
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v4` .github/workflows/macos-release.yml:191
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/macos-release.yml:188
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/macos-release.yml:167
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/macos-release.yml:47
HIGH MINED115 Action `mlugg/setup-zig` pinned to mutable ref `@v2` .github/workflows/macos-release.yml:42
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/macos-release.yml:30
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/macos-release-x86_64.…:188
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/macos-release-x86_64.…:54
HIGH MINED115 Action `mlugg/setup-zig` pinned to mutable ref `@v2` .github/workflows/macos-release-x86_64.…:49
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/macos-release-x86_64.…:44
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/macos-debug.yml:117
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/macos-debug.yml:48
HIGH MINED115 Action `mlugg/setup-zig` pinned to mutable ref `@v2` .github/workflows/macos-debug.yml:43
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/macos-debug.yml:40
HIGH MINED115 Action `actions/deploy-pages` pinned to mutable ref `@v4` .github/workflows/pages.yml:40
HIGH MINED115 Action `actions/upload-pages-artifact` pinned to mutable ref `@v3` .github/workflows/pages.yml:34
HIGH MINED115 Action `actions/configure-pages` pinned to mutable ref `@v5` .github/workflows/pages.yml:31
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/pages.yml:28
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/windows-release.yml:183
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/windows-release.yml:176
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/windows-release.yml:169
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/windows-release.yml:36
HIGH MINED115 Action `mlugg/setup-zig` pinned to mutable ref `@v2` .github/workflows/windows-release.yml:32
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/windows-release.yml:21
HIGH MINED130 Lockfile pulls package from off-canonical host `registry.npmmirror.com` remote/package-lock.json:1
HIGH MINED118 Dockerfile FROM `node:22-alpine` not pinned by digest remote/Dockerfile:14
HIGH MINED118 Dockerfile FROM `node:22-alpine` not pinned by digest remote/Dockerfile:3
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… src/platform/open_url_macos.zig:6
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… src/platform/open_url.zig:38
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… remote/src/server/bridge/weixin/agent.ts:98
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … remote/src/server/bridge/weixin/client.…:82
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. remote/src/server/bridge/weixin/binding…:111
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … remote/src/client/ai_chat_transcript.ts:16
MED MINED111 Bare except continues silently tools/imgcat.py:36
MED MINED111 Bare except continues silently tools/pdfcat.py:44
MED COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 20 (SonarSo… wiki/check_wiki.py:34
MED DKR003 Compose service `wispterm-remote` image uses the latest tag remote/docker-compose.yml:1
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DEPCUR-GHA GitHub Action `actions/download-artifact@v4` is 4 major version(s) behind (latest v8.0.1) .github/workflows/macos-release.yml:191
MED DEPCUR-GHA GitHub Action `actions/upload-artifact@v4` is 3 major version(s) behind (latest v7.0.1) .github/workflows/macos-release.yml:167
MED DEPCUR-GHA GitHub Action `actions/cache@v4` is 1 major version(s) behind (latest v5.0.5) .github/workflows/macos-release.yml:47
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/macos-release.yml:30
MED DEPCUR-GHA GitHub Action `actions/upload-artifact@v4` is 3 major version(s) behind (latest v7.0.1) .github/workflows/macos-release-x86_64.…:188
MED DEPCUR-GHA GitHub Action `actions/cache@v4` is 1 major version(s) behind (latest v5.0.5) .github/workflows/macos-release-x86_64.…:54
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/macos-release-x86_64.…:44
MED DEPCUR-GHA GitHub Action `actions/upload-artifact@v4` is 3 major version(s) behind (latest v7.0.1) .github/workflows/macos-debug.yml:117
MED DEPCUR-GHA GitHub Action `actions/cache@v4` is 1 major version(s) behind (latest v5.0.5) .github/workflows/macos-debug.yml:48
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/macos-debug.yml:40
MED DEPCUR-GHA GitHub Action `actions/deploy-pages@v4` is 1 major version(s) behind (latest v5.0.0) .github/workflows/pages.yml:40
MED DEPCUR-GHA GitHub Action `actions/upload-pages-artifact@v3` is 2 major version(s) behind (latest v5.… .github/workflows/pages.yml:34
MED DEPCUR-GHA GitHub Action `actions/configure-pages@v5` is 1 major version(s) behind (latest v6.0.0) .github/workflows/pages.yml:31
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/pages.yml:28
MED DEPCUR-GHA GitHub Action `actions/upload-artifact@v4` is 3 major version(s) behind (latest v7.0.1) .github/workflows/windows-release.yml:169
MED DEPCUR-GHA GitHub Action `actions/cache@v4` is 1 major version(s) behind (latest v5.0.5) .github/workflows/windows-release.yml:36
MED DEPCUR-GHA GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3) .github/workflows/windows-release.yml:21
MED GHSA-58qx-3vcg-4xpx ws: GHSA-58qx-3vcg-4xpx remote/package-lock.json
MED AGT007 localStorage write failures are swallowed silently remote/src/client/storage.ts:25
MED AGT012 Agent control bridge may listen on a network interface without visible auth remote/src/server/index.ts:13
MED AGT015 Remote install command pipes network code directly to a shell docs/superpowers/specs/2026-06-04-agent…:179
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/harfbuzz/freetype.zig:60
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/freetype/build.zig:108
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/freetype/Library.zig:23
LOW COMP001 [COMP001] High cognitive complexity: Function `emit_png` has cognitive complexity 12 (Son… tools/kitty_graphics.py:22
LOW DEPCUR-GHA GitHub Action `mlugg/setup-zig@v2` is minor version(s) behind (latest v2.2.1) .github/workflows/macos-release.yml:42
LOW DEPCUR-GHA GitHub Action `mlugg/setup-zig@v2` is minor version(s) behind (latest v2.2.1) .github/workflows/macos-release-x86_64.…:49
LOW DEPCUR-GHA GitHub Action `mlugg/setup-zig@v2` is minor version(s) behind (latest v2.2.1) .github/workflows/macos-debug.yml:43
LOW DEPCUR-GHA GitHub Action `mlugg/setup-zig@v2` is minor version(s) behind (latest v2.2.1) .github/workflows/windows-release.yml:32
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) remote/package.json
LOW DEPCUR-NPM npm package `@cloudflare/workers-types` is minor version(s) behind (4.20260507.1 -> 4.202… remote/package.json
LOW DEPCUR-NPM npm package `ws` is minor version(s) behind (8.18.0 -> 8.21.0) remote/package.json
LOW DKC010 Compose service lacks no-new-privileges hardening remote/docker-compose.yml:1
LOW DKC006 Compose service does not declare a runtime user remote/docker-compose.yml:1
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… src/platform/http_client_macos_bridge.m:96
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… src/platform/font_macos_bridge.m:18
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… src/renderer/weixin_qr_renderer.zig:46
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… src/appwindow/split_layout.zig:242
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/input/file_drop_path.zig:15
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/ai_chat_types.zig:143
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/input/preview_path.zig:19
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/html_server_model.zig:24
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… remote/src/server/index.ts:73
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … pkg/harfbuzz/freetype.zig:57
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … pkg/harfbuzz/common.zig:228
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … pkg/freetype/Library.zig:30
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/harfbuzz/common.zig:246
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/harfbuzz/blob.zig:124
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/freetype/Library.zig:88
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/ai_chat_types.zig:143
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/agent_file_edit.zig:69
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … pkg/freetype/Library.zig:74
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. pkg/freetype/build.zig:1
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. pkg/freetype/Library.zig:1
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. pkg/apple-sdk/build.zig:1
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … remote/src/server/index.ts:40
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … docs/scripts/generate-themes.mjs:89
Reset to top 5 118 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `xuzhougeng/wispterm`

**Score: 67/100 (C+)**  ·  130 findings  ·  scanned 2026-06-05 14:20 UTC  ·  24,419 LOC

| Severity | Count |
|---|---|
| CRITICAL | 7 |
| HIGH | 46 |
| MEDIUM | 29 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/7084ae59-6326-4431-a8bd-10e406e46ecb/)  ·  ![scorecard](https://repobility.com/scan/7084ae59-6326-4431-a8bd-10e406e46ecb/report.png?v=1780669214-s2)

### Top findings

1. **CRITICAL** `MINED005` — Lua Loadstring
   `src/ai_history_cache.zig:34` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED005` — Lua Loadstring
   `src/RendererThread.zig:97` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED005` — Lua Loadstring
   `pkg/opengl/glad.zig:15` · CWE-95 · ✓ Repobility
4. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/remote_client.zig:737`
5. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `src/remote_snapshot.zig:161`

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/7084ae59-6326-4431-a8bd-10e406e46ecb/_
Megaproject â high spam risk
Could not determine 'xuzhougeng/wispterm' 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
60/142 findings (42%) 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.