← Back to scan
File as GitHub Issue repo: ghostty-org/ghostty

Push this scan report to ghostty-org/ghostty

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

Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger

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/cli/show_config.zig:74
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. src/cli/edit_config.zig:72
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. pkg/opengl/glad.zig:15
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1377
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1346
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1311
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1263
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1228
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1191
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1137
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1077
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:1014
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:946
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:906
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:824
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:791
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:762
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:685
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:645
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:609
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:564
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:530
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:413
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:375
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:335
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:269
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:233
CRIT MINED116 [MINED116] Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/test.yml:175
HIGH MINED108 [MINED108] `self.safe_literal_eval` used but never assigned in __init__: Method `process_… src/font/nerd_font_codegen.py:161
HIGH MINED108 [MINED108] `self.resolve_symbol` used but never assigned in __init__: Method `process_pat… src/font/nerd_font_codegen.py:166
HIGH MINED108 [MINED108] `self.safe_literal_eval` used but never assigned in __init__: Method `resolve_… src/font/nerd_font_codegen.py:120
HIGH MINED108 [MINED108] `self.safe_literal_eval` used but never assigned in __init__: Method `resolve_… src/font/nerd_font_codegen.py:121
HIGH MINED108 [MINED108] `self.process_patch_entry` used but never assigned in __init__: Method `visit_… src/font/nerd_font_codegen.py:115
HIGH MINED108 [MINED108] `self.visit_setup_patch_set` used but never assigned in __init__: Method `visi… src/font/nerd_font_codegen.py:93
HIGH MINED108 [MINED108] `self.generic_visit` used but never assigned in __init__: Method `visit_Assign… src/font/nerd_font_codegen.py:86
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… src/apprt/gtk/class/surface_scrolled_wi…:153
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… src/apprt/gtk/class/inspector_window.zig:146
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… src/apprt/gtk/class/config.zig:104
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. src/config/command.zig:98
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. src/apprt/gtk/portal.zig:38
HIGH MINED002 [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check. pkg/wuffs/src/swizzle.zig:9
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). pkg/breakpad/build.zig:94
HIGH MINED008 [MINED008] Swift Force Unwrap: optional! crashes on nil. Use guard let or if let. macos/Sources/Helpers/PermissionRequest…:61
HIGH MINED008 [MINED008] Swift Force Unwrap: optional! crashes on nil. Use guard let or if let. macos/Sources/Helpers/Extensions/NSImag…:11
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … pkg/fontconfig/test.zig:49
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … macos/Sources/Ghostty/Ghostty.MenuShort…:60
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … macos/Sources/Features/Terminal/Window …:47
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… macos/Sources/Features/Terminal/Termina…:64
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… macos/Sources/Features/Custom App Icon/…:41
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… macos/Sources/Features/About/AboutView.…:6
HIGH DKR014 Dockerfile copies the entire context without .dockerignore src/build/docker/debian/Dockerfile:37
HIGH MINED126 [MINED126] Workflow container/services image `ghcr.io/flathub-infra/flatpak-github-action… .github/workflows/flatpak.yml:20
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/release-tip.yml:857
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/release-tip.yml:660
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/release-tip.yml:404
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/release-tip.yml:312
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/release-tag.yml:146
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:1593
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:1371
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:1131
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:1071
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:639
HIGH MINED115 [MINED115] Action `DeterminateSystems/nix-installer-action` pinned to mutable ref `@main`… .github/workflows/test.yml:329
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… src/apprt/gtk/portal.zig:10
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. src/os/xdg.zig:106
MED DKR003 Dockerfile base image uses the latest tag src/build/docker/lib-c-docs/Dockerfile:4
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER src/build/docker/lib-c-docs/Dockerfile:26
MED DKR001 Docker final stage has no non-root USER src/build/docker/debian/Dockerfile:2
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/release-tip.yml:97
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/release-tag.yml:299
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. example/zig-vt/src/main.zig:8
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. example/zig-vt-stream/src/main.zig:6
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. example/zig-formatter/src/main.zig:6
LOW AIC003 Duplicated implementation block across source files macos/Sources/Helpers/Cursor.swift:30
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:55
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:15
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:31
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:15
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:29
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:11
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/AppleScript/Scri…:10
LOW AIC003 Duplicated implementation block across source files macos/Sources/Features/App Intents/Focu…:10
LOW AIC007 Generated build artifact directory is present at repository root dist:1
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… src/apprt/ipc.zig:98
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. src/apprt/gtk/portal.zig:10
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/config/command.zig:98
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… src/apprt/gtk/portal.zig:38
INFO MINED051 [MINED051] Csharp Null Forgive: x! tells compiler "definitely not null" — bypasses nullab… pkg/wuffs/src/swizzle.zig:9
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/extra/sublime.zig:7
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… pkg/macos/foundation/url.zig:71
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … pkg/glslang/shader.zig:25
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … pkg/glslang/program.zig:37
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … pkg/freetype/Library.zig:74
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/fontconfig/lang_set.zig:37
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/fontconfig/init.zig:27
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. pkg/fontconfig/char_set.zig:37
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. src/apprt/gtk/ext/slice.zig:54
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/fontconfig/build.zig:142
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/afl++/build.zig:24
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … pkg/fontconfig/config.zig:26
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … pkg/fontconfig/common.zig:93
INFO MINED070 [MINED070] Zig Undefined Init: var x: T = undefined leaves memory uninitialized. Often a … example/zig-formatter/src/main.zig:19
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. example/c-vt-effects/build.zig:1
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. example/c-vt-colors/build.zig:1
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. example/c-vt-build-info/build.zig:1
Reset to top 5 106 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `ghostty-org/ghostty`

**Score: 84/100 (B)**  ·  106 findings  ·  scanned 2026-06-05 10:18 UTC  ·  75,251 LOC

| Severity | Count |
|---|---|
| CRITICAL | 28 |
| HIGH | 37 |
| MEDIUM | 6 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/15245132-025c-481e-bc73-2d2f4b6d88a3/)  ·  ![scorecard](https://repobility.com/scan/15245132-025c-481e-bc73-2d2f4b6d88a3/report.png?v=1780654707-s2)

### Top findings

1. **CRITICAL** `MINED005` — Lua Loadstring
   `src/cli/show_config.zig:74` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED005` — Lua Loadstring
   `src/cli/edit_config.zig:72` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED005` — Lua Loadstring
   `pkg/opengl/glad.zig:15` · CWE-95 · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger
   `.github/workflows/test.yml:1377` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.CACHIX_AUTH_TOKEN` on a `pull_request` trigger
   `.github/workflows/test.yml:1346` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/15245132-025c-481e-bc73-2d2f4b6d88a3/_
Megaproject â high spam risk
Could not determine 'ghostty-org/ghostty' 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
46/121 findings (38%) 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.