Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
78 of your 142 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 3.86s · analysis 25.24s · 12.3 MB · GitHub preflight 532ms

xuzhougeng/wispterm

https://github.com/xuzhougeng/wispterm · scanned 2026-06-05 14:20 UTC (5 days, 4 hours ago) · 10 languages

258 raw signals (130 security + 128 graph) 32nd percentile · Typescript · medium (20-100K LoC) System graph score 80 (lower by 15)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 4 hours ago · v2 · 94 actionable findings from 2 signal sources. 88 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 65.0 0.15 9.75
security_score 32.9 0.25 8.22
testing_score 90.0 0.20 18.00
documentation_score 80.0 0.15 12.00
practices_score 71.0 0.15 10.65
code_quality 61.3 0.10 6.13
Overall 1.00 64.8
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade C+ (65/100). Dimensions: security 33, maintainability 65. 130 findings (50 security). 24,419 lines analyzed.

Showing 66 of 94 actionable findings. 182 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks security secrets conf 0.95 5 occurrences Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
Gitleaks detected a committed secret or credential pattern.
5 files, 5 locations
docs/superpowers/plans/2026-05-09-remote-mobile-console.md:977
remote/src/server/dev_mock.ts:4
remote/test/server/dev_mock.test.ts:16
src/remote_client.zig:737
src/remote_snapshot.zig:161
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check.
Review and fix per the pattern semantics. See CWE-476 / for context.
src/input/file_drop_path.zig:15
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check.
Review and fix per the pattern semantics. See CWE-476 / for context.
src/ai_chat_types.zig:143
low Security checks quality Quality conf 1.00 ✓ Repobility [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code.
Review and fix per the pattern semantics. See CWE-494 / A08:2021 for context.
src/platform/agent_prompt.zig:92
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
src/platform/open_url_macos.zig:6
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
src/platform/open_url.zig:38
high Security checks cicd CI/CD security conf 0.92 Dockerfile copies the entire context without .dockerignore
COPY . or ADD . sends the full build context to Docker. Without .dockerignore this can include secrets, git history, and local artifacts.
remote/Dockerfile:10 CI/CD securitycontainers
high Security checks software dependencies conf 0.90 ✓ Repobility 2 occurrences Dockerfile FROM `node:22-alpine` not pinned by digest
`FROM node:22-alpine` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
lines 3, 14
remote/Dockerfile:3, 14 (2 hits)
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 40 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
5 files, 40 locations
.github/workflows/macos-release.yml:30, 47, 167, 188, 191 (10 hits)
.github/workflows/windows-release.yml:21, 36, 169, 176, 183 (10 hits)
.github/workflows/pages.yml:28, 31, 34, 40 (8 hits)
.github/workflows/macos-debug.yml:40, 48, 117 (6 hits)
.github/workflows/macos-release-x86_64.yml:44, 54, 188 (6 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 8 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `mlugg/setup-zig` pinned to mutable ref `@v2` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
4 files, 8 locations
.github/workflows/macos-debug.yml:43 (2 hits)
.github/workflows/macos-release-x86_64.yml:49 (2 hits)
.github/workflows/macos-release.yml:42 (2 hits)
.github/workflows/windows-release.yml:32 (2 hits)
CI/CD securitySupply chainGitHub Actions
high Security checks software dependencies conf 0.90 ✓ Repobility Lockfile pulls package from off-canonical host `registry.npmmirror.com`
`package-lock.json` resolved URL for `node_modules/@emnapi/core` is `https://registry.npmmirror.com/@emnapi/core/-/core-1.10.0.tgz...` — host `registry.npmmirror.com` is not the canonical registry. Could be a mirror compromise, dependency confusion attack, or a forgotten private registry.
remote/package-lock.json:1
medium Security checks quality Error handling conf 1.00 [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
remote/src/server/bridge/weixin/binding.ts:111
medium Security checks quality Quality conf 1.00 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; using it for tokens/keys/nonces is predictable. Ported from gosec G404 / eslint detect-pseudoRandomBytes concept (Apache-2.0).
Use `crypto.randomBytes(32).toString('hex')` (Node) or `crypto.getRandomValues()` (browser).
remote/src/server/bridge/weixin/client.ts:82
high Security checks quality Quality conf 0.72 Agent control bridge may listen on a network interface without visible auth
Agent, MCP, sidecar, and command bridge servers often start as local helpers. Binding them to 0.0.0.0 or a default all-interface listener without an authorization guard can expose tool execution or session data to the LAN.
remote/src/server/index.ts:13
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
tools/imgcat.py:36 Error handlingquality
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
tools/pdfcat.py:44 Error handlingquality
medium Security checks cicd CI/CD security conf 0.94 Compose service `wispterm-remote` image uses the latest tag
The latest tag is mutable and can change without a code review, producing different images from the same source.
remote/docker-compose.yml:1 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.90 Docker build context has no .dockerignore
Without .dockerignore, build context can include source history, local env files, dependencies, and generated artifacts.
.dockerignore CI/CD securitycontainers
high Security checks software dependencies conf 0.90 4 occurrences GitHub Action `actions/cache@v4` is 1 major version(s) behind (latest v5.0.5)
`uses: actions/cache@v4` is 1 major version(s) behind the latest published release v5.0.5. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
4 files, 4 locations
.github/workflows/macos-debug.yml:48
.github/workflows/macos-release-x86_64.yml:54
.github/workflows/macos-release.yml:47
.github/workflows/windows-release.yml:36
high Security checks software dependencies conf 0.90 5 occurrences GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3)
`uses: actions/checkout@v4` is 2 major version(s) behind the latest published release v6.0.3. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
5 files, 5 locations
.github/workflows/macos-debug.yml:40
.github/workflows/macos-release-x86_64.yml:44
.github/workflows/macos-release.yml:30
.github/workflows/pages.yml:28
.github/workflows/windows-release.yml:21
high Security checks software dependencies conf 0.90 GitHub Action `actions/configure-pages@v5` is 1 major version(s) behind (latest v6.0.0)
`uses: actions/configure-pages@v5` is 1 major version(s) behind the latest published release v6.0.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage f…
.github/workflows/pages.yml:31
high Security checks software dependencies conf 0.90 GitHub Action `actions/deploy-pages@v4` is 1 major version(s) behind (latest v5.0.0)
`uses: actions/deploy-pages@v4` is 1 major version(s) behind the latest published release v5.0.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/pages.yml:40
high Security checks software dependencies conf 0.90 GitHub Action `actions/download-artifact@v4` is 4 major version(s) behind (latest v8.0.1)
`uses: actions/download-artifact@v4` is 4 major version(s) behind the latest published release v8.0.1. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage…
.github/workflows/macos-release.yml:191
high Security checks software dependencies conf 0.90 4 occurrences GitHub Action `actions/upload-artifact@v4` is 3 major version(s) behind (latest v7.0.1)
`uses: actions/upload-artifact@v4` is 3 major version(s) behind the latest published release v7.0.1. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage f…
4 files, 4 locations
.github/workflows/macos-debug.yml:117
.github/workflows/macos-release-x86_64.yml:188
.github/workflows/macos-release.yml:167
.github/workflows/windows-release.yml:169
high Security checks software dependencies conf 0.90 GitHub Action `actions/upload-pages-artifact@v3` is 2 major version(s) behind (latest v5.0.0)
`uses: actions/upload-pages-artifact@v3` is 2 major version(s) behind the latest published release v5.0.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no cove…
.github/workflows/pages.yml:34
high Security checks quality Quality conf 0.80 localStorage write failures are swallowed silently
localStorage quotas are small and writes can fail. Catching storage errors without a user-visible warning causes silent data loss when notes, images, or snapshots exceed quota.
remote/src/client/storage.ts:25
medium Security checks software dependencies conf 0.88 ws: GHSA-58qx-3vcg-4xpx
ws: Uninitialized memory disclosure
remote/package-lock.json
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — remote/src/worker.ts:34
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
4 files, 4 locations
.github/workflows/macos-release-x86_64.yml
.github/workflows/macos-release.yml
.github/workflows/pages.yml
.github/workflows/windows-release.yml
CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/kitty_graphics.py:87
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks quality Error handling conf 1.00 3 occurrences [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
3 files, 3 locations
pkg/freetype/Library.zig:23
pkg/freetype/build.zig:108
pkg/harfbuzz/freetype.zig:60
high Security checks cicd CI/CD security conf 0.56 Compose service does not declare a runtime user
If the image does not define USER internally, this service may run as root.
remote/docker-compose.yml:1 CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.62 Compose service lacks no-new-privileges hardening
no-new-privileges prevents processes from gaining additional privileges through setuid binaries or file capabilities.
remote/docker-compose.yml:1 CI/CD securitycontainers
high Security checks software dependencies conf 0.90 4 occurrences GitHub Action `mlugg/setup-zig@v2` is minor version(s) behind (latest v2.2.1)
`uses: mlugg/setup-zig@v2` is minor version(s) behind the latest published release v2.2.1. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
4 files, 4 locations
.github/workflows/macos-debug.yml:43
.github/workflows/macos-release-x86_64.yml:49
.github/workflows/macos-release.yml:42
.github/workflows/windows-release.yml:32
low Security checks software dependencies conf 0.90 npm package `@cloudflare/workers-types` is minor version(s) behind (4.20260507.1 -> 4.20260605.1)
`@cloudflare/workers-types` is pinned/resolved at 4.20260507.1 but the latest stable release on the npm registry is 4.20260605.1 (minor version(s) behind). Outdated dependencies accumulate unpatched bugs and make future security upgrades harder. This is the version-currency signal Dependabot versio…
remote/package.json
low Security checks software dependencies conf 0.90 npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4)
`tsx` is pinned/resolved at 4.21.0 but the latest stable release on the npm registry is 4.22.4 (minor version(s) behind). Outdated dependencies accumulate unpatched bugs and make future security upgrades harder. This is the version-currency signal Dependabot version-update PRs raise.
remote/package.json
low Security checks software dependencies conf 0.90 npm package `ws` is minor version(s) behind (8.18.0 -> 8.21.0)
`ws` is pinned/resolved at 8.18.0 but the latest stable release on the npm registry is 8.21.0 (minor version(s) behind). Outdated dependencies accumulate unpatched bugs and make future security upgrades harder. This is the version-currency signal Dependabot version-update PRs raise.
remote/package.json
low System graph quality Integrity conf 1.00 5 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `DIST_DIR`, `HOST`, `PORT`, `REMOTE_COOKIE_SECURE`, `REMOTE_DATA_DIR`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph hardware Supply chain conf 1.00 2 occurrences Docker base image is tag-pinned but not digest-pinned: node:22-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
lines 3, 14
remote/Dockerfile:3, 14 (2 hits)
containersPinned dependencies
low System graph software Dead code candidate conf 1.00 File has no detected symbols: docs/themes-data.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/src/client/terminal_options.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/src/client/types.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/src/server/bridge/weixin/types.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/src/server/dev_mock_entry.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/src/vite-env.d.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/ai_chat_controls.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/ai_chat_transcript.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/connection_status.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/input_sequences.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/layout.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/mobile_canvas.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/mobile_layout.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/mobile_visual_zoom.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/sidebar_behavior.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/snapshot_replay.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/terminal_options.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/version.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/client/weixin.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/server/dev_mock.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/server/websocket.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: remote/test/server/weixin_binding.test.ts
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code conf 1.00 Possibly dead Python function: positive_int
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/kitty_graphics.py:162
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — remote/src/server/index.ts:73
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Complexity conf 1.00 Very large file: docs/themes-data.js (11781 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/7084ae59-6326-4431-a8bd-10e406e46ecb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/7084ae59-6326-4431-a8bd-10e406e46ecb/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.