← Back to scan
File as GitHub Issue repo: jesseduffield/lazygit

Push this scan report to jesseduffield/lazygit

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.CODACY_PROJECT_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 SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… pkg/gui/controllers/list_controller_tra…:35
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… pkg/gui/controllers/git_flow_controller…:80
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… pkg/gui/controllers/bisect_controller.go:89
CRIT MINED019 [MINED019] Ssti Jinja From String: jinja2.Environment().from_string(user_input) — full RC… pkg/commands/git_commands/file.go:33
CRIT MINED116 Workflow uses `secrets.CODACY_PROJECT_TOKEN` on a `pull_request` trigger .github/workflows/ci.yml:214
HIGH SEC090 [SEC090] Go: math/rand used near crypto context: math/rand is not cryptographically secur… pkg/snake/snake.go:4
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). pkg/gui/presentation/authors/authors.go:4
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … pkg/gui/modes/cherrypicking/cherry_pick…:50
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… pkg/commands/git_commands/remote.go:45
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… pkg/commands/git_commands/hosting_servi…:16
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… pkg/commands/git_commands/github.go:300
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/commands/git_commands/remote.go:76
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/commands/git_cmd_obj_runner.go:31
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/commands/direnv/direnv.go:98
HIGH DKR014 Dockerfile copies the entire context without .dockerignore Dockerfile:9
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/release.yml:157
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/release.yml:49
HIGH MINED115 Action `actions/github-script` pinned to mutable ref `@v9` .github/workflows/close-issues.yml:15
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:224
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/ci.yml:193
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:188
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:185
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:167
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:165
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:141
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:139
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:114
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:112
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/ci.yml:101
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:88
HIGH MINED115 Action `actions/cache/save` pinned to mutable ref `@v5` .github/workflows/ci.yml:83
HIGH MINED115 Action `actions/cache/restore` pinned to mutable ref `@v5` .github/workflows/ci.yml:66
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:62
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/ci.yml:42
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/ci.yml:33
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/ci.yml:31
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/codespell.yml:21
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/sponsors.yml:13
HIGH MINED118 Dockerfile FROM `alpine:3.19` not pinned by digest Dockerfile:11
HIGH MINED118 Dockerfile FROM `golang:1.25` not pinned by digest Dockerfile:4
HIGH GO-2026-5039 stdlib: GO-2026-5039 go.mod
HIGH GO-2026-5038 stdlib: GO-2026-5038 go.mod
HIGH GO-2026-5037 stdlib: GO-2026-5037 go.mod
HIGH GO-2026-4986 stdlib: GO-2026-4986 go.mod
HIGH GO-2026-4982 stdlib: GO-2026-4982 go.mod
HIGH GO-2026-4981 stdlib: GO-2026-4981 go.mod
HIGH GO-2026-4980 stdlib: GO-2026-4980 go.mod
HIGH GO-2026-4977 stdlib: GO-2026-4977 go.mod
HIGH GO-2026-4976 stdlib: GO-2026-4976 go.mod
HIGH GO-2026-4971 stdlib: GO-2026-4971 go.mod
HIGH GO-2026-4947 stdlib: GO-2026-4947 go.mod
HIGH GO-2026-4946 stdlib: GO-2026-4946 go.mod
HIGH GO-2026-4918 stdlib: GO-2026-4918 go.mod
HIGH GO-2026-4870 stdlib: GO-2026-4870 go.mod
HIGH GO-2026-4869 stdlib: GO-2026-4869 go.mod
HIGH GO-2026-4865 stdlib: GO-2026-4865 go.mod
HIGH GO-2026-4864 stdlib: GO-2026-4864 go.mod
HIGH GO-2026-4603 stdlib: GO-2026-4603 go.mod
HIGH GO-2026-4602 stdlib: GO-2026-4602 go.mod
HIGH GO-2026-4601 stdlib: GO-2026-4601 go.mod
HIGH GO-2026-4342 stdlib: GO-2026-4342 go.mod
HIGH GO-2026-4341 stdlib: GO-2026-4341 go.mod
HIGH GO-2026-4340 stdlib: GO-2026-4340 go.mod
HIGH GO-2026-4337 stdlib: GO-2026-4337 go.mod
HIGH GO-2025-4175 stdlib: GO-2025-4175 go.mod
HIGH GO-2025-4155 stdlib: GO-2025-4155 go.mod
HIGH GO-2025-4015 stdlib: GO-2025-4015 go.mod
HIGH GO-2025-4014 stdlib: GO-2025-4014 go.mod
HIGH GO-2025-4013 stdlib: GO-2025-4013 go.mod
HIGH GO-2025-4012 stdlib: GO-2025-4012 go.mod
HIGH GO-2025-4011 stdlib: GO-2025-4011 go.mod
HIGH GO-2025-4010 stdlib: GO-2025-4010 go.mod
HIGH GO-2025-4009 stdlib: GO-2025-4009 go.mod
HIGH GO-2025-4008 stdlib: GO-2025-4008 go.mod
HIGH GO-2025-4007 stdlib: GO-2025-4007 go.mod
HIGH GO-2025-4006 stdlib: GO-2025-4006 go.mod
HIGH GO-2025-3955 stdlib: GO-2025-3955 go.mod
HIGH GO-2026-5030 golang.org/x/net: GO-2026-5030 go.mod
HIGH GO-2026-5029 golang.org/x/net: GO-2026-5029 go.mod
HIGH GO-2026-5028 golang.org/x/net: GO-2026-5028 go.mod
HIGH GO-2026-5027 golang.org/x/net: GO-2026-5027 go.mod
HIGH GO-2026-5026 golang.org/x/net: GO-2026-5026 go.mod
HIGH GO-2026-5025 golang.org/x/net: GO-2026-5025 go.mod
HIGH GO-2026-4918 golang.org/x/net: GO-2026-4918 go.mod
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… pkg/gui/controllers/helpers/window_help…:44
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … pkg/app/entry_point.go:228
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… pkg/app/entry_point.go:169
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR016 Heavy generated directories are included in Docker build context .dockerignore
MED DKR001 Docker final stage has no non-root USER vendor/github.com/samber/lo/Dockerfile:2
MED DKR001 Docker final stage has no non-root USER vendor/github.com/creack/pty/Dockerfile…:2
MED DKR001 Docker final stage has no non-root USER vendor/github.com/buger/jsonparser/Dock…:1
MED DKR001 Docker final stage has no non-root USER Dockerfile:12
MED DKR001 Docker final stage has no non-root USER .devcontainer/Dockerfile:5
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… pkg/commands/git_commands/github.go:343
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/commands/git_commands/repo_paths.go:154
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/commands/git_commands/github.go:222
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/commands/direnv/direnv.go:54
LOW AIC003 Duplicated implementation block across source files pkg/updates/updates.go:2
LOW AIC003 Duplicated implementation block across source files pkg/integration/components/test.go:1
LOW AIC003 Duplicated implementation block across source files pkg/gui/presentation/tags.go:1
LOW AIC003 Duplicated implementation block across source files pkg/gui/filetree/file_tree_view_model.go:1
LOW AIC003 Duplicated implementation block across source files pkg/gui/controllers/staging_controller.…:48
LOW AIC003 Duplicated implementation block across source files pkg/gui/controllers/remote_branches_con…:75
LOW AIC003 Duplicated implementation block across source files pkg/gui/context/sub_commits_context.go:104
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… pkg/gui/popup/popup_handler.go:110
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. pkg/app/entry_point.go:228
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/cheatsheet/generate.go:77
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/app/entry_point.go:270
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/app/daemon/daemon.go:117
Reset to top 5 110 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `jesseduffield/lazygit`

**Score: 60/100 (B)**  ·  110 findings  ·  scanned 2026-06-05 07:31 UTC  ·  126,108 LOC

| Severity | Count |
|---|---|
| CRITICAL | 5 |
| HIGH | 79 |
| MEDIUM | 10 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/7ad5c8a3-1176-48c4-89aa-016084d8a17d/)  ·  ![scorecard](https://repobility.com/scan/7ad5c8a3-1176-48c4-89aa-016084d8a17d/report.png?v=1780644660-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `pkg/gui/controllers/list_controller_trait.go:35`
2. **CRITICAL** `SEC084` — JS: require() with non-literal
   `pkg/gui/controllers/git_flow_controller.go:80`
3. **CRITICAL** `SEC084` — JS: require() with non-literal
   `pkg/gui/controllers/bisect_controller.go:89`
4. **CRITICAL** `MINED019` — Ssti Jinja From String
   `pkg/commands/git_commands/file.go:33` · CWE-94 · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.CODACY_PROJECT_TOKEN` on a `pull_request` trigger
   `.github/workflows/ci.yml:214` · ✓ 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://repobility.com/scan/7ad5c8a3-1176-48c4-89aa-016084d8a17d/_
Megaproject â high spam risk
Could not determine 'jesseduffield/lazygit' 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.