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

Push this scan report to starship/starship

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

Rust Unwrap In Prod

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 generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… docs/.vitepress/config.mts:413
CRIT MINED116 Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger .github/workflows/workflow.yml:253
CRIT MINED116 Workflow uses `secrets.SIGNPATH_API_TOKEN` on a `pull_request` trigger .github/workflows/workflow.yml:241
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … src/formatter/parser.rs:19
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … src/configs/mod.rs:351
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … src/bug_report.rs:171
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/init/starship.lua:65
MED GHSA-4w7w-66w2-5vf9 vite: GHSA-4w7w-66w2-5vf9 docs/package-lock.json
MED GHSA-67mh-4wv8-2f99 esbuild: GHSA-67mh-4wv8-2f99 docs/package-lock.json
MED AGT015 Remote install command pipes network code directly to a shell docs/ckb-IR/guide/README.md:215
MED AGT015 Remote install command pipes network code directly to a shell docs/ckb-IR/faq/README.md:56
MED AGT015 Remote install command pipes network code directly to a shell docs/ckb-IR/README.md:61
MED AGT015 Remote install command pipes network code directly to a shell docs/bn-BD/guide/README.md:219
MED AGT015 Remote install command pipes network code directly to a shell docs/bn-BD/faq/README.md:56
MED AGT015 Remote install command pipes network code directly to a shell docs/bn-BD/README.md:61
MED AGT015 Remote install command pipes network code directly to a shell docs/ar-SA/guide/README.md:219
MED AGT015 Remote install command pipes network code directly to a shell docs/ar-SA/faq/README.md:56
MED AGT015 Remote install command pipes network code directly to a shell docs/ar-SA/README.md:61
MED AGT015 Remote install command pipes network code directly to a shell docs/README.md:57
MED AGT015 Remote install command pipes network code directly to a shell README.md:230
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/install-script.yml:30
LOW AIC003 Duplicated implementation block across source files src/modules/opa.rs:16
LOW AIC003 Duplicated implementation block across source files src/modules/odin.rs:14
LOW AIC003 Duplicated implementation block across source files src/modules/nim.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/mise.rs:29
LOW AIC003 Duplicated implementation block across source files src/modules/memory_usage.rs:60
LOW AIC003 Duplicated implementation block across source files src/modules/maven.rs:22
LOW AIC003 Duplicated implementation block across source files src/modules/lua.rs:16
LOW AIC003 Duplicated implementation block across source files src/modules/kotlin.rs:18
LOW AIC003 Duplicated implementation block across source files src/modules/julia.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/java.rs:19
LOW AIC003 Duplicated implementation block across source files src/modules/hg_state.rs:117
LOW AIC003 Duplicated implementation block across source files src/modules/hg_branch.rs:32
LOW AIC003 Duplicated implementation block across source files src/modules/helm.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/haxe.rs:18
LOW AIC003 Duplicated implementation block across source files src/modules/haskell.rs:14
LOW AIC003 Duplicated implementation block across source files src/modules/guix_shell.rs:9
LOW AIC003 Duplicated implementation block across source files src/modules/gradle.rs:20
LOW AIC003 Duplicated implementation block across source files src/modules/gleam.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/git_state.rs:194
LOW AIC003 Duplicated implementation block across source files src/modules/fennel.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/erlang.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/elm.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/docker_context.rs:40
LOW AIC003 Duplicated implementation block across source files src/modules/deno.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/dart.rs:16
LOW AIC003 Duplicated implementation block across source files src/modules/daml.rs:17
LOW AIC003 Duplicated implementation block across source files src/modules/crystal.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/cobol.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/cmake.rs:15
LOW AIC003 Duplicated implementation block across source files src/modules/claude_cost.rs:18
LOW WEB005 robots.txt does not advertise a sitemap docs/public/robots.txt
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… src/modules/utils/directory_win.rs:25
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/modules/lua.rs:155
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src/modules/git_state.rs:195
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. src/main.rs:222
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. build.rs:34
Reset to top 5 57 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

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

**Score: 89/100 (B-)**  ·  57 findings  ·  scanned 2026-06-05 09:53 UTC  ·  50,861 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 3 |
| MEDIUM | 15 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/514fa833-692c-4c83-9ff4-eccaab0e6e4a/)  ·  ![scorecard](https://repobility.com/scan/514fa833-692c-4c83-9ff4-eccaab0e6e4a/report.png?v=1780653211-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `docs/.vitepress/config.mts:413`
2. **CRITICAL** `MINED116` — Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
   `.github/workflows/workflow.yml:253` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.SIGNPATH_API_TOKEN` on a `pull_request` trigger
   `.github/workflows/workflow.yml:241` · ✓ Repobility
4. **HIGH** `MINED003` — Rust Unwrap In Prod
   `src/formatter/parser.rs:19` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED003` — Rust Unwrap In Prod
   `src/configs/mod.rs:351` · CWE-755 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/514fa833-692c-4c83-9ff4-eccaab0e6e4a/_
Megaproject â high spam risk
Could not determine 'starship/starship' 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
18/58 findings (31%) 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.